Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.

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 @seams/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", bundle="pro"))
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 --by model          →  seams.usage(by="model")

Top-level commands stay top-level: usage, margin, audit, doctor, capabilities. 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 76 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 seams-sdk 0.1.0a0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for seams-sdk 0.1.0a0
File Size Uploaded Provenance Actions
seams_sdk-0.1.0a0.tar.gz 90.2 kB Without provenance Details for seams_sdk-0.1.0a0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for seams-sdk 0.1.0a0
File Interpreter ABI Platform Actions
seams_sdk-0.1.0a0-py3-none-any.whl Python 3 none any Details for seams_sdk-0.1.0a0-py3-none-any.whl

Total release size: 107.1 kB

Release files / seams_sdk-0.1.0a0.tar.gz

Download URL seams_sdk-0.1.0a0.tar.gz
Size 90.2 kB
Tags Source
SHA-256 checksum
How to use checksums
514fd05537eac36b7ada3fc9e848a89e86851f60af85fe3467927889464e3ff0
BLAKE2b-256 checksum
How to use checksums
391d58c25d847707f4773adb4d360fcde90df779216933f8f03c27fa8d1e2d9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.5

Release files / seams_sdk-0.1.0a0-py3-none-any.whl

Download URL seams_sdk-0.1.0a0-py3-none-any.whl
Size 16.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b93468932cc622e4400da2794cc42bcc110ae17b5b0cf67e93a613b04726b45b
BLAKE2b-256 checksum
How to use checksums
513874c19cffd05e9435f4cd905b98f8e9805ecbb07fdcc703ea5c0c68ee728a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.5

Security for seams-sdk 0.1.0a0

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.

Release history Release notifications | RSS feed

This release
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