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.11.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.11.0
File Size Uploaded
timbro_protocol-0.11.0.tar.gz 33.5 kB Details

Built distribution (wheel)

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

Total release size: 58.6 kB

Release files / timbro_protocol-0.11.0.tar.gz

Download URL timbro_protocol-0.11.0.tar.gz
Size 33.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7c5b2c5be140ec44aeaaa1e81a177e544599205c071e25271687948c6ad247dc
BLAKE2b-256 checksum
How to use checksums
38de9cca4c9e8a3910bafa4aa719f5644c26f2956480f21c3c0aead74721a95b
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.11.0-py3-none-any.whl

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

Release history Release notifications | RSS feed

0.20.0

2 release files

0.19.1

2 release files

0.19.0

2 release files

0.18.0

2 release files

0.16.0

1 release file

0.14.0

2 release files

0.13.0

1 release file

0.12.0

1 release file

This release

0.11.0 This release

2 release files

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