Skip to main content

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, with fora_sdk.sync as 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

fora_protocol_sdk-1.0.3.tar.gz (328.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fora_protocol_sdk-1.0.3-py3-none-any.whl (194.2 kB view details)

Uploaded Python 3

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

Hashes for fora_protocol_sdk-1.0.3.tar.gz
Algorithm Hash digest
SHA256 508abb0edf32c0f92a3aa7a9e45c5f5b7eca6e2e31412fbd9dc403c604673624
MD5 d641d60556340da8cadbae75c8796711
BLAKE2b-256 ca64ad0b416330a444b3885f9b7eb73e2a2de556868dfee7ce803b271183759a

See more details on using hashes here.

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

Hashes for fora_protocol_sdk-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 26604ebf9fa4d3296d06e66efb536bfbc051fce6b52b9f4ad3185bea8856ae0f
MD5 8bda6854bb0cdb4ae2c13310617a5d97
BLAKE2b-256 700ca38dd74091891778e7b4928b20cfb90f93fac6edb86af7c8ce12b7395906

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.4

2 files

This release

1.0.3 This release

2 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