Skip to main content

timbro-protocol

The shared runtime of the Timbro Python SDKs. Install timbro-payments or timbro-invoices instead; each depends on this package and re-exports its errors.

This package owns:

  • The error hierarchy: TimbroError, APIError and its status subclasses, APIConnectionError, APITimeoutError, UnexpectedResponseError, and WebhookVerificationError.
  • verify_webhook_signature and sign_webhook, for Standard Webhooks deliveries.
  • timbro_protocol.runtime, the surface Timbro SDK packages build on: Operation; the SyncAPIClient and AsyncAPIClient executors, which apply the contract's retry and idempotency rules, never follow redirects, read at most 10 MiB per response, authenticate one call with a grant's access_token, refuse an answer about another resource, and return file downloads as FileResponse; derive_idempotency_key and same_identifier; the text_header and integer_header readers for a download's declared metadata headers; the iterate_pages and async_iterate_pages cursor walkers; and verify_webhook_event, which checks a delivery's envelope against a package's event table.

It reads no environment variables, writes no files, and logs only at DEBUG on the timbro_protocol logger, without bodies or headers.

License

No license has been granted for this package yet. The license will be declared before the first public release.

Metadata

Release files for timbro-protocol 0.21.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 timbro-protocol 0.21.0
File Size Uploaded Provenance
timbro_protocol-0.21.0.tar.gz 38.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for timbro-protocol 0.21.0
File Interpreter ABI Platform
timbro_protocol-0.21.0-py3-none-any.whl Python 3 none any Details

Total release size: 69.4 kB

Release files / timbro_protocol-0.21.0.tar.gz

Download URL timbro_protocol-0.21.0.tar.gz
Size 38.5 kB
Tags Source
SHA-256 checksum
How to use checksums
2cbc8beab45e246c2efd569cd249c47e75ddab243435726d409ce409b681ef22
BLAKE2b-256 checksum
How to use checksums
9ce67ba8b1f01acc553ba8670b160022b714998067f43a746b9e108ad5dc9871
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release files / timbro_protocol-0.21.0-py3-none-any.whl

Download URL timbro_protocol-0.21.0-py3-none-any.whl
Size 30.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3fa8eec64fc0f0d9f1e063d2e6b8a7ce31b7db857cb25828f42b40782561f3f2
BLAKE2b-256 checksum
How to use checksums
ee0d3a30273e9e30861f8e3b3caec59ba9cd1e2bc59a6ad08a9d74cbc0fd3f44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Security for timbro-protocol 0.21.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.

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