seams
The typed Python client for the seams control plane. Generated from the OpenAPI document, which is
emitted from the API's route table — so it cannot describe a shape the API does not serve, and it stays
in step with @ourseams/sdk.
import os
from seams import Seams
seams = Seams(api_key=os.environ["SEAMS_SECRET_KEY"])
seams.users.create("alice", models.CreateEndUserRequest(email="alice@firm.com"))
key = seams.keys.mint(models.MintKeyRequest(end_user_id="alice"))
print(key.key)
One namespace per CLI command group
operationId carries the CLI's own verb, so the method reads like the command:
seams models add smart … → seams.models.add("smart", …)
seams bundles price pro fast … → seams.bundles.price("pro", …)
seams outcomes runs → seams.outcomes.runs()
seams usage --group-by model → seams.usage(group_by="model")
Top-level commands stay top-level: usage, margin, doctor, health. Routes the API
serves but does not offer a client carry x-seams-internal: true and get no method.
Sync and async
Seams and AsyncSeams are generated from the same document and carry the same methods.
Two runtime dependencies
httpx for the transport and pydantic for the models. Field names are Python's — end_users, not
endUsers — with the wire name kept as an alias.
Regenerating
uv run python scripts/generate.py # models and facade
src/seams/_generated/ is written by the generator. Do not edit it. The document it reads,
../openapi.json, is emitted by the TypeScript client from the API's route table.
Metadata
Release files for ourseams-sdk 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ourseams_sdk-0.1.7.tar.gz | 95.8 kB | Without provenance | Details for ourseams_sdk-0.1.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ourseams_sdk-0.1.7-py3-none-any.whl | Python 3 | none | any | Details for ourseams_sdk-0.1.7-py3-none-any.whl |
Total release size: 118.1 kB
Release files / ourseams_sdk-0.1.7.tar.gz
| Download URL | ourseams_sdk-0.1.7.tar.gz |
|---|---|
| Size | 95.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5659d6ddd90029c7e276e52cf5dd82c722a09ee297399a13b73eb99ae3cd91b6
|
|
BLAKE2b-256 checksum How to use checksums |
c9ced339f2a1ab0ad6bf40ae29583d4981a6dad596c09fa8a81afba21153bfe5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.5
|
Release files / ourseams_sdk-0.1.7-py3-none-any.whl
| Download URL | ourseams_sdk-0.1.7-py3-none-any.whl |
|---|---|
| Size | 22.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
76d81bbfad4e88efdf0fbf887278c5a018010c4ab7be97312ab68f8ad5730c16
|
|
BLAKE2b-256 checksum How to use checksums |
7399c71a13d4237e8e5ff89ee20f069efd75bd423db43af7a6d08d1090ef3f08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.5
|
Security for ourseams-sdk 0.1.7
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.