PendragoniDI API Pro: Context-rich duplicate detection (non-AI)
Project description
PendragonDI API Pro
Context-rich, in-app duplicate detection for Python — real-time, local, and secure.
🚀 Quickstart (Simple Mode)
from pendragondi_api_pro import duplicate_guard
@duplicate_guard
def call_api(...):
...
⚡️ Advanced Usage
from pendragondi_api_pro import duplicate_guard_pro
@duplicate_guard_pro(window_ms=3000, capture_args=False, rate_limit_per_minute=60)
def call_api(...):
...
📂 Examples
📦 Export Reports
from pendragondi_api_pro import get_event_log, export_html
events = get_event_log().snapshot()
export_html(events, "report.html")
🖥 Optional CLI (Windows Caveat)
You can also use the tool via command line:
python -m pendragondi_api_pro export --output myreport.html --format html
ℹ️ Note: The
pendragondi-api-proCLI script may not resolve correctly on some Windows setups due to Python packaging limitations. We recommend usingpython -m pendragondi_api_profor consistent cross-platform behavior.
🛠 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)
🔒 Privacy
No telemetry. Redaction for PII by default. See redact.py for implementation.
💬 Support/Contact
- Open an issue or email pendragondi@pendragondi.dev
📜 License
🧭 Why PendragonDI?
PendragonDI API 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 the Project
PendragonDI API 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:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pendragondi_api_pro-1.0.3.tar.gz.
File metadata
- Download URL: pendragondi_api_pro-1.0.3.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6fa306bb109b22dfde29ca672f5d19004c207691084c868fd270069c799b2cc
|
|
| MD5 |
2010f89717c0079264f6d798eb1c2288
|
|
| BLAKE2b-256 |
44d7de9cbd33d27194c6fb0d3e685eed261a0a666b1e0aeab3540ac9125fe812
|
File details
Details for the file pendragondi_api_pro-1.0.3-py3-none-any.whl.
File metadata
- Download URL: pendragondi_api_pro-1.0.3-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5901c7dd8ef49fa76a30887155c3a0c8ad17f58fa66a2282d90a2252da66ea3b
|
|
| MD5 |
e2f8ccf01a53ebdf5b6fff3b867834d8
|
|
| BLAKE2b-256 |
019a7fd43f778e33960ba0d6f5fe0115eba23b93182a266d9d57cba9bd69bbfc
|