Skip to main content

Context-rich duplicate detection (non-AI)

Project description

Pendragon Pro

Context-rich, in-app duplicate detection for Python.

🚀 Quickstart (Simple Mode)

from pendragon_pro import duplicate_guard

@duplicate_guard
def call_api(...):
    ...

⚡️ Advanced Usage

from pendragon_pro import duplicate_guard_pro

@duplicate_guard_pro(window_ms=3000, capture_args=False, rate_limit_per_minute=60)
def call_api(...):
    ...

🖥 CLI Usage

pendragon-pro export --output myreport.html --format html

📂 Examples

🛠 Configuration

  • window_ms: Deduplication window (ms, default: 2000)
  • capture_args: Whether to log/redact args (default: True)
  • stack_depth: How many frames to capture (default: 6)
  • rate_limit_per_minute: Bucket per-op deduplication (optional)

📦 Export Reports

from pendragon_pro import get_event_log, export_html

events = get_event_log().snapshot()
export_html(events, "report.html")

🔒 Privacy

No telemetry. Redaction for PII by default. See redact.py for details.

💬 Support/Contact


📜 License

MIT License


🧭 Why PendragonDI?

Pendragon Pro was built to solve the next layer of API waste and developer friction—giving you real-time, context-rich duplicate detection, with privacy and speed at the core.

No agents. No data sales. No telemetry. Just the signal you need to debug smarter.


🤝 Contributing

Contributions are welcome! If you have suggestions for improvements or find a bug, please open an issue or submit a pull request.

When contributing:

  • Fork the repository and create your branch from main.
  • Ensure any new code has appropriate type hints and docstrings.
  • Run the test suite and add tests for new functionality.
  • Submit a descriptive pull request so changes can be reviewed efficiently.
  • Support/Contact: pendragondi@pendragondi.dev

💖 Support the Project

Pendragon Pro is open-source and free to use.
If you’ve found it useful and would like to support ongoing development, you can sponsor us on GitHub:
Sponsor on GitHub

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

pendragondi_api_pro-1.0.0.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

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

pendragondi_api_pro-1.0.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file pendragondi_api_pro-1.0.0.tar.gz.

File metadata

  • Download URL: pendragondi_api_pro-1.0.0.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for pendragondi_api_pro-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ce71664580558d699ddb6172896e4156a840bb2ef32ec6c04125621533bbccc2
MD5 d13254a584353e2a03078cd838d27927
BLAKE2b-256 745e209758b5517009c98bad6a03c7bc4bd335f6b902966ac6a1413128c760fc

See more details on using hashes here.

File details

Details for the file pendragondi_api_pro-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pendragondi_api_pro-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5c75de422f5dfe25ab06d4522cc577a98bdb2de067ac339e665b64e92f66f4f3
MD5 1cd3005b7c124c4587599b7482d6c448
BLAKE2b-256 9a002f0f7ca4c45699a58f37a0c885d0004ed2fd84be005f548286bca8e5c46c

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