Metadata-Scrubber-Tool:

initial commit
This commit is contained in:
HERITAGE-XION 2026-01-03 16:02:14 +01:00
commit a5047a552c
10 changed files with 70 additions and 0 deletions

5
.env.example Normal file
View File

@ -0,0 +1,5 @@
# Environment Variables Example
# Copy this file to .env and fill in your values
# Example:
# API_KEY=your_api_key_here

15
README.md Normal file
View File

@ -0,0 +1,15 @@
# Metadata Scrubber Tool
A tool for scrubbing metadata from files.
## Installation
```bash
uv pip install -r requirements.txt
```
## Usage
```bash
python -m src.main
```

10
docker-compose.yml Normal file
View File

@ -0,0 +1,10 @@
version: '3.8'
services:
app:
build: .
container_name: metadata-scrubber
volumes:
- .:/app
env_file:
- .env

BIN
requirements.txt Normal file

Binary file not shown.

0
src/__init__.py Normal file
View File

Binary file not shown.

Binary file not shown.

1
src/commands/__init__.py Normal file
View File

@ -0,0 +1 @@
# Commands module

1
src/commands/utils.py Normal file
View File

@ -0,0 +1 @@
# Utility functions for commands

38
src/main.py Normal file
View File

@ -0,0 +1,38 @@
import typer
from rich.console import Console
from rich.panel import Panel
# Initialize the app and the console
app = typer.Typer()
console = Console()
@app.command()
def hello(name: str, formal: bool = False):
"""
Say hello to a user.
If --formal is used, it greets more politely.
"""
if formal:
message = (
f"Good day to you, [bold magenta]{name}[/bold magenta]. It is a pleasure."
)
color = "green"
else:
message = f"Yo [bold cyan]{name}[/bold cyan]! What's up?"
color = "yellow"
# Use Rich to print a pretty panel instead of a boring print()
console.print(Panel(message, title="Greeting System", style=color))
@app.command()
def goodbye(name: str):
"""
Say goodbye.
"""
console.print(f"[red]Goodbye, {name}![/red] 👋")
if __name__ == "__main__":
app()