Skip to main content
Pre-release

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.0a2

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

Source distribution (sdist)

Source distribution for errdown 0.1.0a2
File Size Uploaded Provenance Actions
errdown-0.1.0a2.tar.gz 19.8 kB Without provenance Details for errdown-0.1.0a2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for errdown 0.1.0a2
File Interpreter ABI Platform Actions
errdown-0.1.0a2-py3-none-any.whl Python 3 none any Details for errdown-0.1.0a2-py3-none-any.whl

Total release size: 41.9 kB

Release files / errdown-0.1.0a2.tar.gz

Download URL errdown-0.1.0a2.tar.gz
Size 19.8 kB
Tags Source
SHA-256 checksum
How to use checksums
71265fbaf57a9c703aac212463d252b5e0add95723e29ed0bda414616fd9ab29
BLAKE2b-256 checksum
How to use checksums
7489a6a521c00173bf8cd8bdb61190cbad2d9eb9a48aaaf989bc74035f4c6991
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.0a2-py3-none-any.whl

Download URL errdown-0.1.0a2-py3-none-any.whl
Size 22.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dd3a8d15619240269a794960e11cdacfa09e1859a935d72e1c81392d56b808f7
BLAKE2b-256 checksum
How to use checksums
64bc5d20b7060269e997a0749a7306df7c6701073ea9962da820424ba4c323a7
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.0a2

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.

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