Skip to main content

devfortress-sdk (Python)

Event reporting client for DevFortress (external mode). Pre-release, not published.

from devfortress import DevFortressClient

client = DevFortressClient(api_key="...", endpoint="https://www.devfortress.net/api/events/ingest")
client.track_event({"eventType": "auth_failure", "ip": "203.0.113.7", "method": "POST",
                    "path": "/login", "severity": "MEDIUM"})

Also included: flush, track_events, test_connection, FastAPI and Flask middleware, and verify_webhook_signature.

DevFortressClient(..., mode="external") selects the closed-loop delivery mode: "external" (default — every event ships to the platform, no behavior change for existing callers), "internal" (decisions are made locally, nothing leaves your infrastructure), or "hybrid" (local-first, with automatic cloud enrichment and failover; both require Team tier or above). Reading it from a DEVFORTRESS_CL_MODE env var (os.environ.get("DEVFORTRESS_CL_MODE", "external")) is the convention this SDK's demo apps use so the same process can be started in any mode without a code change.

Also included: UnifiedAuditTrail (merges internal/external closed-loop audit events into one timeline) and GraduatedRateLimiter (alias-scoped rate limiting with multi-stage escalation).

The DevFortress Textbook

DevFortress implements 34 novel security inventions. Patent Pending.

These 34 inventions are documented in depth across 5 volumes.

"Credential Isolation Closed-Loop Security" Duncan Ndungu Ndegwa — DevFortress, 2026

→ Available on Gumroad: [https://devfortress.gumroad.com/l/master-edition]

License: BUSL-1.1

Metadata

Release files for devfortress-sdk 0.3.0

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

Source distribution (sdist)

Source distribution for devfortress-sdk 0.3.0
File Size Uploaded Provenance Actions
devfortress_sdk-0.3.0.tar.gz 101.9 kB Without provenance Details for devfortress_sdk-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for devfortress-sdk 0.3.0
File Interpreter ABI Platform Actions
devfortress_sdk-0.3.0-py3-none-any.whl Python 3 none any Details for devfortress_sdk-0.3.0-py3-none-any.whl

Total release size: 196.1 kB

Release files / devfortress_sdk-0.3.0.tar.gz

Download URL devfortress_sdk-0.3.0.tar.gz
Size 101.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c6c4b7f3fc56875523522b6a4b6f4d953b26a46412ab66ed81f70b50433aae7a
BLAKE2b-256 checksum
How to use checksums
24d72fd25933afb086dda18e4b8fd340aa6b7ffc68e0954676048ac814c1474d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / devfortress_sdk-0.3.0-py3-none-any.whl

Download URL devfortress_sdk-0.3.0-py3-none-any.whl
Size 94.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4ce5c3483e932ff38674f494828f5fa5c1a76b22d4a64de4a4bde78b889bed0c
BLAKE2b-256 checksum
How to use checksums
e9ed7c9dad5b87aa8e14fc6bdbf5cbc490c4394c143007c0d14de16dc564a0e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for devfortress-sdk 0.3.0

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

0.3.0 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