Skip to content

Building 70 Projects ranging from beginner to advanced so anyone can β€” learn from, build upon, use as a reference, or even copy directly. Owned by my cybersecurity company πŸ‘‡

Metadata-Scrubber-Tool: initial commit

HERITAGE-XIONa5047a552c57
diff --git a/.env.example b/.env.example
new file mode 100644
index 00000000..6a81f92b
--- /dev/null
+++ b/.env.example
@@ -0,0 +1,5 @@
+# Environment Variables Example
+# Copy this file to .env and fill in your values
+
+# Example:
+# API_KEY=your_api_key_here
diff --git a/README.md b/README.md
new file mode 100644
index 00000000..21c4e265
--- /dev/null
+++ b/README.md
@@ -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
+```
diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644
index 00000000..c38bf62a
--- /dev/null
+++ b/docker-compose.yml
@@ -0,0 +1,10 @@
+version: '3.8'
+
+services:
+ app:
+ build: .
+ container_name: metadata-scrubber
+ volumes:
+ - .:/app
+ env_file:
+ - .env
diff --git a/requirements.txt b/requirements.txt
new file mode 100644
index 00000000..50e3b916
Binary files /dev/null and b/requirements.txt differ
diff --git a/src/__init__.py b/src/__init__.py
new file mode 100644
index 00000000..e69de29b
diff --git a/src/__pycache__/__init__.cpython-314.pyc b/src/__pycache__/__init__.cpython-314.pyc
new file mode 100644
index 00000000..39691a0e
Binary files /dev/null and b/src/__pycache__/__init__.cpython-314.pyc differ
diff --git a/src/__pycache__/main.cpython-314.pyc b/src/__pycache__/main.cpython-314.pyc
new file mode 100644
index 00000000..b26d92cb
Binary files /dev/null and b/src/__pycache__/main.cpython-314.pyc differ
diff --git a/src/commands/__init__.py b/src/commands/__init__.py
new file mode 100644
index 00000000..fef0be3c
--- /dev/null
+++ b/src/commands/__init__.py
@@ -0,0 +1 @@
+# Commands module
diff --git a/src/commands/utils.py b/src/commands/utils.py
new file mode 100644
index 00000000..d41ddc6d
--- /dev/null
+++ b/src/commands/utils.py
@@ -0,0 +1 @@
+# Utility functions for commands
diff --git a/src/main.py b/src/main.py
new file mode 100644
index 00000000..15a6fccd
--- /dev/null
+++ b/src/main.py
@@ -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()
+
+
+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))
+
+
+def goodbye(name: str):
+ """
+ Say goodbye.
+ """
+ console.print(f"[red]Goodbye, {name}![/red] πŸ‘‹")
+
+
+if __name__ == "__main__":
+ app()