This release is a pre-release and may not be stable for production use.
errdown
Pre-release (alpha). API and output may change.
Cloudflare-compatible structured errors (RFC 9457 Problem Details) for every HTTP error your agent hits: nginx, AWS, Vercel, framework defaults, JSON/XML API errors, bot challenges. Zero dependencies, pure function, never throws. Independent project, not affiliated with Cloudflare.
import httpx
from errdown import normalize, to_markdown, decide, agent_accept_header
res = httpx.get(url, headers={"accept": agent_accept_header()})
if res.is_error:
problem = normalize(res.status_code, res.headers, res.content, url=url)
if problem:
to_markdown(problem) # Cloudflare-format Markdown for the model
decide(problem) # {"action": "retry", "after_seconds": 5} | escalate | fail
Spec and conformance fixtures: https://github.com/ArtZab0/errdown
License: Apache-2.0. Spec and fixtures: CC0 (captured third-party responses excepted).
Metadata
Release files for errdown 0.1.0a0
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 | Actions |
|---|---|---|---|---|
| errdown-0.1.0a0.tar.gz | 18.9 kB | Without provenance | Details for errdown-0.1.0a0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| errdown-0.1.0a0-py3-none-any.whl | Python 3 | none | any | Details for errdown-0.1.0a0-py3-none-any.whl |
Total release size: 40.2 kB
Release files / errdown-0.1.0a0.tar.gz
| Download URL | errdown-0.1.0a0.tar.gz |
|---|---|
| Size | 18.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
75a36a0441b029142bdb45870098180fe258793d77888129eda1a4eaa57d315c
|
|
BLAKE2b-256 checksum How to use checksums |
9c780a0b6e1e023a0a34e1af208ce6cdb8ee307cf327a74fa9958cfe0bdfac53
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / errdown-0.1.0a0-py3-none-any.whl
| Download URL | errdown-0.1.0a0-py3-none-any.whl |
|---|---|
| Size | 21.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
44870c7aa99aee6262e9c6a9803b4ac496f06edfb097c6b748aff24cd5a762f8
|
|
BLAKE2b-256 checksum How to use checksums |
090f27657ac2ecd6e0c680c6ecb39ae58f7f5c58648a9780bb1eb9c1daed90dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for errdown 0.1.0a0
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.