Baseten Python SDK
Project description
Baseten Python SDK
Python SDK for Baseten.
⚠️ Under active development. Nothing should be considered stable at this time.
Usage
Current SDK only has barebones client. Here is usage example of the barebones underlying client:
from baseten.client import ManagementClient
with ManagementClient(api_key="my-api-key") as client:
for model in client.api.get_models().models:
print(model.name)
Or for async:
from baseten.client import AsyncManagementClient
async with AsyncManagementClient(api_key="my-api-key") as client:
for model in (await client.api.get_models()).models:
print(model.name)
Upgrading from 0.8.2 and earlier
Version 0.9.0 is a rewrite and shares no API with the earlier baseten releases.
Code written against 0.8.2 or earlier will not work. Pin baseten<0.9 to keep it.
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 baseten-0.9.0.tar.gz.
File metadata
- Download URL: baseten-0.9.0.tar.gz
- Upload date:
- Size: 180.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a61d8f2f27889fee54c2a4c172b2104776644091ca7a0d56f2a7d9e9031a5cb
|
|
| MD5 |
02379f3b3512c9af8426c4c76db5200e
|
|
| BLAKE2b-256 |
591387275f0d4352a57f81a2311d2329fdfaf4774053c4f614bcd302b5188acd
|
Provenance
The following attestation bundles were made for baseten-0.9.0.tar.gz:
Publisher:
publish.yml on basetenlabs/baseten-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
baseten-0.9.0.tar.gz -
Subject digest:
9a61d8f2f27889fee54c2a4c172b2104776644091ca7a0d56f2a7d9e9031a5cb - Sigstore transparency entry: 1756162884
- Sigstore integration time:
-
Permalink:
basetenlabs/baseten-python@b3afcdcdc53ccb9cf73fbc1724f98a81d79c4b71 -
Branch / Tag:
refs/tags/v0.9.0 - Owner: https://github.com/basetenlabs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b3afcdcdc53ccb9cf73fbc1724f98a81d79c4b71 -
Trigger Event:
release
-
Statement type:
File details
Details for the file baseten-0.9.0-py3-none-any.whl.
File metadata
- Download URL: baseten-0.9.0-py3-none-any.whl
- Upload date:
- Size: 61.6 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 |
c13d70d1b584cac267c22667acaaa504746f5fadfbb19f8911feeb61f6b280ad
|
|
| MD5 |
a3e7fd7e81ee489d6aafe8c00a4dbfad
|
|
| BLAKE2b-256 |
839c5e984261f1b812cf99548745501124a416910fa43b0351429f3290392717
|
Provenance
The following attestation bundles were made for baseten-0.9.0-py3-none-any.whl:
Publisher:
publish.yml on basetenlabs/baseten-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
baseten-0.9.0-py3-none-any.whl -
Subject digest:
c13d70d1b584cac267c22667acaaa504746f5fadfbb19f8911feeb61f6b280ad - Sigstore transparency entry: 1756162889
- Sigstore integration time:
-
Permalink:
basetenlabs/baseten-python@b3afcdcdc53ccb9cf73fbc1724f98a81d79c4b71 -
Branch / Tag:
refs/tags/v0.9.0 - Owner: https://github.com/basetenlabs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b3afcdcdc53ccb9cf73fbc1724f98a81d79c4b71 -
Trigger Event:
release
-
Statement type: