fora-protocol-sdk
FORA protocol SDK for Python. One distribution, the fora_sdk package, with two layers:
- the IO-free protocol mechanics: thumbprint, signed-URL verification, RFC 9421 request signing and verification, offer and acceptance signatures, canonicalization and cross-field validation;
- the IO tiers built on them: the key and endpoint resolvers (
fora_sdk.resolvers) and the Connect-unary JSON client (fora_sdk.client, withfora_sdk.syncas its blocking facade).
The generated wire types are a separate distribution, fora-protocol: Pydantic v2
models at wire.models and the registered vocabulary at vocab.*. This package pins it
to its own version and installs it as a dependency.
pip install fora-protocol-sdk
Python: 3.11 or later. The package ships py.typed, so mypy reads its annotations.
httpx and httpcore are installed with every consumer, including one that uses only
the IO-free mechanics: keeping them non-optional is what makes their version ceilings,
which guard the resolvers' SSRF seam, bind every install.
from fora_sdk.thumbprint import thumbprint
from fora_sdk.sync import Client
from wire.models import Offer
fora-protocol installs the top-level import packages wire and vocab, so it can
collide with another distribution that owns either name; install it into an environment
that does not. Its README explains the tradeoff. Source, tests and the release process
are in FORA-Protocol/protocol under
sdk/python and gen/python. Licensed under Apache-2.0.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fora_protocol_sdk-1.0.3.tar.gz.
File metadata
- Download URL: fora_protocol_sdk-1.0.3.tar.gz
- Upload date:
- Size: 328.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.11 {"installer":{"name":"uv","version":"0.12.11","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":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
508abb0edf32c0f92a3aa7a9e45c5f5b7eca6e2e31412fbd9dc403c604673624
|
|
| MD5 |
d641d60556340da8cadbae75c8796711
|
|
| BLAKE2b-256 |
ca64ad0b416330a444b3885f9b7eb73e2a2de556868dfee7ce803b271183759a
|
File details
Details for the file fora_protocol_sdk-1.0.3-py3-none-any.whl.
File metadata
- Download URL: fora_protocol_sdk-1.0.3-py3-none-any.whl
- Upload date:
- Size: 194.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.11 {"installer":{"name":"uv","version":"0.12.11","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":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26604ebf9fa4d3296d06e66efb536bfbc051fce6b52b9f4ad3185bea8856ae0f
|
|
| MD5 |
8bda6854bb0cdb4ae2c13310617a5d97
|
|
| BLAKE2b-256 |
700ca38dd74091891778e7b4928b20cfb90f93fac6edb86af7c8ce12b7395906
|