Skip to main content

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-pro CLI script may not resolve correctly on some Windows setups due to Python packaging limitations. We recommend using python -m pendragondi_api_pro for 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


📜 License

MIT 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:
Sponsor on GitHub

Metadata

Release files for pendragondi-api-pro 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pendragondi-api-pro 1.0.3
File Size Uploaded Provenance Actions
pendragondi_api_pro-1.0.3.tar.gz 7.5 kB Without provenance Details for pendragondi_api_pro-1.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pendragondi-api-pro 1.0.3
File Interpreter ABI Platform Actions
pendragondi_api_pro-1.0.3-py3-none-any.whl Python 3 none any Details for pendragondi_api_pro-1.0.3-py3-none-any.whl

Total release size: 16.0 kB

Release files / pendragondi_api_pro-1.0.3.tar.gz

Download URL pendragondi_api_pro-1.0.3.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e6fa306bb109b22dfde29ca672f5d19004c207691084c868fd270069c799b2cc
BLAKE2b-256 checksum
How to use checksums
44d7de9cbd33d27194c6fb0d3e685eed261a0a666b1e0aeab3540ac9125fe812
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.9

Release files / pendragondi_api_pro-1.0.3-py3-none-any.whl

Download URL pendragondi_api_pro-1.0.3-py3-none-any.whl
Size 8.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5901c7dd8ef49fa76a30887155c3a0c8ad17f58fa66a2282d90a2252da66ea3b
BLAKE2b-256 checksum
How to use checksums
019a7fd43f778e33960ba0d6f5fe0115eba23b93182a266d9d57cba9bd69bbfc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.9

Security for pendragondi-api-pro 1.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page