AtherDLP (Python) — Stage 1 HTTP Interceptor
Stage 1 intercepts outbound HTTP requests, classifies the destination (O(1) registry lookup), attaches a trace context, and emits a structured payload to a handler.
Install (dev)
cd AtherDLP-sdk/python
python -m pip install -e ".[test]"
Usage
import httpx
import atherdlp
def handler(payload: dict) -> None:
print(payload)
atherdlp.set_handler(handler)
atherdlp.install()
httpx.get("https://api.openai.com/v1/models", headers={"authorization": "Bearer x"})
atherdlp.uninstall()
Tracing
- If the request includes a correlation header (e.g.
X-Correlation-Id), it is propagated automatically (safe values only: ASCII alphanumeric +-, 1–64 chars). - If not present or invalid, AtherDLP generates its own trace id (
trace.trace_idin the payload). - Ather-specific tracing is always added on the outbound call via
x-ather-trace-id(andx-ather-span-id).
More detail: docs/SDK.md → Trace And Recursion Guards.
httpx.post(url, headers={"X-Correlation-Id": "my-route-8842"})
Output payload
{
"request": { "method": "...", "url": "...", "headers": { }, "body": null },
"classification": { "kind": "llm|http.out|unknown", "vendor": "...", "sensitivity": "..." },
"trace": { "trace_id": "...", "span_id": "...", "parent_span_id": null }
}
Metadata
Release files for atherdlp 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| atherdlp-0.0.2.tar.gz | 10.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| atherdlp-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.4 kB
Release files / atherdlp-0.0.2.tar.gz
| Download URL | atherdlp-0.0.2.tar.gz |
|---|---|
| Size | 10.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4832058b09975e16391319eca06799c73faf4071182c64531e0bf2a0fb7cf862
|
|
BLAKE2b-256 checksum How to use checksums |
2986a7300f260f5aa430b1b5f9dc85645879e673861d1c9a110b03870ae61279
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / atherdlp-0.0.2-py3-none-any.whl
| Download URL | atherdlp-0.0.2-py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ee28f10bcaf20c02ba4bea483d709356deb806bd27da6b28540d1a1f6aa86bbe
|
|
BLAKE2b-256 checksum How to use checksums |
57c0680a1b52fd73511137c704332694d50952e6f83bf83c4fa55a4ac280825e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Security for atherdlp 0.0.2
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.