Skip to main content

Placeholder for the dragiter project: Deterministic RAG Iterator.

Reason this release was yanked:

placeholder project, obsolete

Project description

dragiter (Deterministic RAG Iterator)

[WARNING] Status: Alpha / Developer Tool 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.

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.

Why dragiter?

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."

  • Automated Context Assembly: Use wildcards (like src/**/*.py) and regex patterns to surgically extract exactly what the AI needs to see.
  • Version-Controllable Prompts: Define your AI instructions and data context in standard .toml files so your workflows are repeatable and shareable.
  • 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.
  • 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.

Installation

(Assuming you publish to PyPI) You can install dragiter easily via pip:

pip install dragiter

Quick Start

The core philosophy of dragiter is to keep your materials (context) and your prompts (instructions) separate.

  1. Create a Configuration (Optional but recommended): Store your credentials so you don't have to type them out every time.

export dragiter_API_KEY="your_api_key" export dragiter_MODEL_NAME="your_preferred_model"

  1. Run your first workflow: It is highly recommended to use the -s (simulate) flag first to verify your file routing without spending API credits.

Simulate the run

dragiter -s -p prompt_template.toml -m code_material.toml

Execute the run and output to a specific file

dragiter -p prompt_template.toml -r code_resource.toml -o final_report.md

Tool Chaining (The Unix Way)

dragiter is built to play nicely with other CLI tools. You can fetch live data and pipe it straight to your AI workflow:

Download a webpage and analyze it instantly

curl -s https://example.com/data > /tmp/data.html dragiter -p summarize.toml -m /tmp/data.html -o analysis.txt

Acknowledgements

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.

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.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dragiter-0.0.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dragiter-0.0.1-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file dragiter-0.0.1.tar.gz.

File metadata

  • Download URL: dragiter-0.0.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.5 cpython/3.13.5 HTTPX/0.28.1

File hashes

Hashes for dragiter-0.0.1.tar.gz
Algorithm Hash digest
SHA256 07e7ca895c2e709db3d977df5b323d638961ee84a0b1ff9fb6081adf3c636f5b
MD5 f400925656bd511bfcc9bdcb000a9c33
BLAKE2b-256 1edf2a83c9178b80a43af8b2687a6b3ed8637400f72f11bdd5e955c54d658234

See more details on using hashes here.

File details

Details for the file dragiter-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: dragiter-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.5 cpython/3.13.5 HTTPX/0.28.1

File hashes

Hashes for dragiter-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 605a31441cf4bfcbe7d96dc0e7b984c581e761d5c617ca989221331dd367a0e5
MD5 5eae6f1da55cff60723efee2cba25c69
BLAKE2b-256 c1c840031a04d045aad844bbaafc2cc13d12269caa72ea8658c210700dc411d9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page