First-party Python client for the Tokenbin artifact and directory kernel.
Project description
tokenbin
First-party Python client for the Tokenbin artifact and directory kernel.
Install from PyPI after the first registry release:
python3 -m pip install tokenbin
For a local repo checkout:
python3 -m pip install ./clients/python
Example:
import os
from tokenbin import TokenbinClient
client = TokenbinClient(
base_url=os.environ["TOKENBIN_URL"],
token=os.environ.get("TOKENBIN_AUTH_TOKEN") or os.environ["TOKENBIN_API_KEY"],
)
created = client.paste(
{
"content": "support draft",
"directory": "support/zendesk/9981",
"directory_metadata": {"kind": "comment-draft", "agent": "agent-a"},
}
)
print(created["id"])
The client is a thin wrapper over Tokenbin's authenticated JSON API and versioned OpenAPI contract. For the full API, MCP, CLI, and deployment docs, see the repository root README.
Project details
Release history Release notifications | RSS feed
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 tokenbin-0.1.1.tar.gz.
File metadata
- Download URL: tokenbin-0.1.1.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
abadda27f6eea11113f9b4ee5a97a184892d3307011a877168075ed06316d2e9
|
|
| MD5 |
a18458603c65b12dae146dc661f146ee
|
|
| BLAKE2b-256 |
116913492994abbef340d4b022945a9963b7e4c91be8d8525a8f1f8910dbe0dc
|
Provenance
The following attestation bundles were made for tokenbin-0.1.1.tar.gz:
Publisher:
publish.yml on Tetra-Research/tokenbin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tokenbin-0.1.1.tar.gz -
Subject digest:
abadda27f6eea11113f9b4ee5a97a184892d3307011a877168075ed06316d2e9 - Sigstore transparency entry: 1461816453
- Sigstore integration time:
-
Permalink:
Tetra-Research/tokenbin@50f8c2faa50aef038fcb15bb85149ef4d9982cb1 -
Branch / Tag:
refs/tags/sdk-v0.1.1 - Owner: https://github.com/Tetra-Research
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@50f8c2faa50aef038fcb15bb85149ef4d9982cb1 -
Trigger Event:
push
-
Statement type:
File details
Details for the file tokenbin-0.1.1-py3-none-any.whl.
File metadata
- Download URL: tokenbin-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0d1996a925b2275a324ac62b083c3fab5c9dde9783c032ac68c2dc6a42b58fb
|
|
| MD5 |
c79c5047d9495fb8ade3ab1d935b983b
|
|
| BLAKE2b-256 |
ce86e5fad3df5d29e4138a9ec1c193f6296bbbb5ba925a53e318bd9af403b0bc
|
Provenance
The following attestation bundles were made for tokenbin-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on Tetra-Research/tokenbin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tokenbin-0.1.1-py3-none-any.whl -
Subject digest:
d0d1996a925b2275a324ac62b083c3fab5c9dde9783c032ac68c2dc6a42b58fb - Sigstore transparency entry: 1461816494
- Sigstore integration time:
-
Permalink:
Tetra-Research/tokenbin@50f8c2faa50aef038fcb15bb85149ef4d9982cb1 -
Branch / Tag:
refs/tags/sdk-v0.1.1 - Owner: https://github.com/Tetra-Research
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@50f8c2faa50aef038fcb15bb85149ef4d9982cb1 -
Trigger Event:
push
-
Statement type: