dragiter 0.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,66 @@
1
+ .DS_Store
2
+ run/
3
+ dist/
4
+ # --- Python Essentials ---
5
+ __pycache__/
6
+ *.py[cod]
7
+ *$py.class
8
+ *.so
9
+ .Python
10
+ env/
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ *.egg-info/
24
+ .installed.cfg
25
+ *.egg
26
+
27
+ # --- Environments & Dependencies ---
28
+ .env
29
+ .venv
30
+ venv/
31
+ ENV/
32
+ pip-log.txt
33
+ pip-delete-this-directory.txt
34
+
35
+ # --- IDEs (PyCharm & VS Code) ---
36
+ .idea/
37
+ *.iml
38
+ .vscode/
39
+ *.swp
40
+ *.swo
41
+ .project
42
+ .pydevproject
43
+ .settings/
44
+
45
+ # --- Project Specifics (dragator) ---
46
+ # Keine API-Keys oder lokale Configs einchecken!
47
+ config.json
48
+ secrets.yaml
49
+ .dragator_config/
50
+
51
+ # --- Logs & Traces ---
52
+ # Da Logging eine Stärke von dragator ist, entstehen viele Files.
53
+ # Diese sollten lokal bleiben.
54
+ *.log
55
+ activity_file.jsonl
56
+ dragator_activity.jsonl
57
+ traces/
58
+
59
+ # --- Large Data / Chunks ---
60
+ # Falls du Test-Materialien lokal speicherst
61
+ data/raw/
62
+ data/processed/
63
+ *.csv
64
+ *.json
65
+
66
+
@@ -0,0 +1,69 @@
1
+ Metadata-Version: 2.4
2
+ Name: dragiter
3
+ Version: 0.0.1
4
+ Summary: Placeholder for the dragiter project: Deterministic RAG Iterator.
5
+ Project-URL: Homepage, https://dragiter.com
6
+ Author-email: Michael Buchold <michael.buchold@bucosys.com>
7
+ Requires-Python: >=3.9
8
+ Description-Content-Type: text/markdown
9
+
10
+ ## dragiter (Deterministic RAG Iterator)
11
+
12
+ [WARNING] Status: Alpha / Developer Tool
13
+ dragiter is currently in active development. It is highly effective for local, personal workflows and automating local LLM tasks. However, it is not yet production-ready. Please do not use dragiter in automated CI/CD pipelines, on shared servers, or to parse untrusted, third-party data due to known limitations in regex handling and dependency injection.
14
+
15
+ dragiter is a modular command-line interface (CLI) designed to integrate Large Language Models (LLMs) directly into your automated terminal workflows. It acts as a bridge between your local file system and AI APIs, eliminating "copy-paste fatigue" by allowing you to chain AI agents exactly like standard Unix pipes.
16
+
17
+ ## Why dragiter?
18
+
19
+ If you want an AI to review an entire project, manually gathering files, stripping out noise, and pasting them into a web chat is tedious. dragiter solves this through "Prompt as Code."
20
+
21
+ * Automated Context Assembly: Use wildcards (like src/\*\*/\*.py) and regex patterns to surgically extract exactly what the AI needs to see.
22
+ * Version-Controllable Prompts: Define your AI instructions and data context in standard .toml files so your workflows are repeatable and shareable.
23
+ * Advanced Batch Processing: Feed dragiter a .jsonl loop file to automatically iterate through translation tasks, report summaries, or data extraction without writing custom Python scripts.
24
+ * Vendor Independence: Switch from cloud providers like OpenAI, Grok, or Google to a completely local, private model like Ollama just by changing a single CLI flag.
25
+
26
+ ## Installation
27
+
28
+ (Assuming you publish to PyPI)
29
+ You can install dragiter easily via pip:
30
+
31
+ pip install dragiter
32
+
33
+ ## Quick Start
34
+
35
+ The core philosophy of dragiter is to keep your materials (context) and your prompts (instructions) separate.
36
+
37
+ 1. Create a Configuration (Optional but recommended):
38
+ Store your credentials so you don't have to type them out every time.
39
+
40
+ export dragiter\_API\_KEY="your\_api\_key"
41
+ export dragiter\_MODEL\_NAME="your\_preferred\_model"
42
+
43
+ 2. Run your first workflow:
44
+ It is highly recommended to use the -s (simulate) flag first to verify your file routing without spending API credits.
45
+
46
+ # Simulate the run
47
+
48
+ dragiter -s -p prompt\_template.toml -m code\_material.toml
49
+
50
+ # Execute the run and output to a specific file
51
+
52
+ dragiter -p prompt\_template.toml -r code\_resource.toml -o final\_report.md
53
+
54
+ ## Tool Chaining (The Unix Way)
55
+
56
+ dragiter is built to play nicely with other CLI tools. You can fetch live data and pipe it straight to your AI workflow:
57
+
58
+ # Download a webpage and analyze it instantly
59
+
60
+ curl -s [https://example.com/data](https://www.google.com/search?q=https://example.com/data) \> /tmp/data.html
61
+ dragiter -p summarize.toml -m /tmp/data.html -o analysis.txt
62
+
63
+ ## Acknowledgements
64
+
65
+ The development of dragiter has been a journey of continuous learning. Bringing this project to life would not have been possible without the support of some extraordinary tools and communities.
66
+
67
+ A massive thank you to the AI models Grok and Gemini. As tireless pair-programming partners, your guidance, code reviews, and structural suggestions were invaluable in adapting the Python code for this project.
68
+
69
+ Equally important is the global Python community. The rich ecosystem, extensive documentation, and open-source spirit provide the foundation for tools like dragiter. Thank you to all the developers who make Python such a powerful language to work with.
@@ -0,0 +1,60 @@
1
+ ## dragiter (Deterministic RAG Iterator)
2
+
3
+ [WARNING] Status: Alpha / Developer Tool
4
+ dragiter is currently in active development. It is highly effective for local, personal workflows and automating local LLM tasks. However, it is not yet production-ready. Please do not use dragiter in automated CI/CD pipelines, on shared servers, or to parse untrusted, third-party data due to known limitations in regex handling and dependency injection.
5
+
6
+ dragiter is a modular command-line interface (CLI) designed to integrate Large Language Models (LLMs) directly into your automated terminal workflows. It acts as a bridge between your local file system and AI APIs, eliminating "copy-paste fatigue" by allowing you to chain AI agents exactly like standard Unix pipes.
7
+
8
+ ## Why dragiter?
9
+
10
+ If you want an AI to review an entire project, manually gathering files, stripping out noise, and pasting them into a web chat is tedious. dragiter solves this through "Prompt as Code."
11
+
12
+ * Automated Context Assembly: Use wildcards (like src/\*\*/\*.py) and regex patterns to surgically extract exactly what the AI needs to see.
13
+ * Version-Controllable Prompts: Define your AI instructions and data context in standard .toml files so your workflows are repeatable and shareable.
14
+ * Advanced Batch Processing: Feed dragiter a .jsonl loop file to automatically iterate through translation tasks, report summaries, or data extraction without writing custom Python scripts.
15
+ * Vendor Independence: Switch from cloud providers like OpenAI, Grok, or Google to a completely local, private model like Ollama just by changing a single CLI flag.
16
+
17
+ ## Installation
18
+
19
+ (Assuming you publish to PyPI)
20
+ You can install dragiter easily via pip:
21
+
22
+ pip install dragiter
23
+
24
+ ## Quick Start
25
+
26
+ The core philosophy of dragiter is to keep your materials (context) and your prompts (instructions) separate.
27
+
28
+ 1. Create a Configuration (Optional but recommended):
29
+ Store your credentials so you don't have to type them out every time.
30
+
31
+ export dragiter\_API\_KEY="your\_api\_key"
32
+ export dragiter\_MODEL\_NAME="your\_preferred\_model"
33
+
34
+ 2. Run your first workflow:
35
+ It is highly recommended to use the -s (simulate) flag first to verify your file routing without spending API credits.
36
+
37
+ # Simulate the run
38
+
39
+ dragiter -s -p prompt\_template.toml -m code\_material.toml
40
+
41
+ # Execute the run and output to a specific file
42
+
43
+ dragiter -p prompt\_template.toml -r code\_resource.toml -o final\_report.md
44
+
45
+ ## Tool Chaining (The Unix Way)
46
+
47
+ dragiter is built to play nicely with other CLI tools. You can fetch live data and pipe it straight to your AI workflow:
48
+
49
+ # Download a webpage and analyze it instantly
50
+
51
+ curl -s [https://example.com/data](https://www.google.com/search?q=https://example.com/data) \> /tmp/data.html
52
+ dragiter -p summarize.toml -m /tmp/data.html -o analysis.txt
53
+
54
+ ## Acknowledgements
55
+
56
+ The development of dragiter has been a journey of continuous learning. Bringing this project to life would not have been possible without the support of some extraordinary tools and communities.
57
+
58
+ A massive thank you to the AI models Grok and Gemini. As tireless pair-programming partners, your guidance, code reviews, and structural suggestions were invaluable in adapting the Python code for this project.
59
+
60
+ Equally important is the global Python community. The rich ecosystem, extensive documentation, and open-source spirit provide the foundation for tools like dragiter. Thank you to all the developers who make Python such a powerful language to work with.
@@ -0,0 +1,16 @@
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "dragiter"
7
+ version = "0.0.1"
8
+ description = "Placeholder for the dragiter project: Deterministic RAG Iterator."
9
+ readme = "README.md"
10
+ requires-python = ">=3.9"
11
+ authors = [
12
+ { name = "Michael Buchold", email = "michael.buchold@bucosys.com" }
13
+ ]
14
+
15
+ [project.urls]
16
+ Homepage = "https://dragiter.com"
File without changes