Build AI Python SDK
Project description
BuildAI Python SDK
Python client for Build AI services.
Install
cd sdk
uv pip install -e .
Quick Start
import buildai
client = buildai.Client(api_key="bai_...")
# Search
hits = client.search("person welding")
for h in hits.items:
print(h.clip_id, h.similarity_score)
# Browse
factories = client.factories.list()
clip = client.clips.get("clip-uuid")
# Collections
col = client.collections.create(name="my-set")
client.collections.clips_add(col.collection_id, clip_ids=["..."])
# Datasets
datasets = client.datasets.list()
urls = client.datasets.webdataset_urls("dataset-name")
client.close()
Package Layout
buildai/client.py— Client entry pointbuildai/resources/v1/— Resource namespacesbuildai/models/v1/— Response modelsbuildai/ids.py— Deterministic UUID helpers
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
buildai_sdk-2.0.0.tar.gz
(159.8 kB
view details)
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 buildai_sdk-2.0.0.tar.gz.
File metadata
- Download URL: buildai_sdk-2.0.0.tar.gz
- Upload date:
- Size: 159.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9b52223553dd120880c38b24011246f41666f4602f2acbf61a326f361b3e382
|
|
| MD5 |
8a88d07f808ce2d05104ba296c41a411
|
|
| BLAKE2b-256 |
58b149ab1350143b69e379f7e9c17c7ef3ccaea963d8b54efb00fc77283eb319
|
File details
Details for the file buildai_sdk-2.0.0-py3-none-any.whl.
File metadata
- Download URL: buildai_sdk-2.0.0-py3-none-any.whl
- Upload date:
- Size: 22.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2eda0cc630f3f8f6240426f0d635777f6a8622b9701ab0a57de4af2a9d95368
|
|
| MD5 |
04bb69aad3d89996bdd52db93a1e2d74
|
|
| BLAKE2b-256 |
6216555ac9528ce5f40d5810bd841fdf3a009f468578c7fec37792b368f06fec
|