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.1.0.tar.gz
(160.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.1.0.tar.gz.
File metadata
- Download URL: buildai_sdk-2.1.0.tar.gz
- Upload date:
- Size: 160.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2c84e091f67cdff6a6fecf97cf1e289f203eab9e865a31920b9dc2c42c3d166
|
|
| MD5 |
7622aa01e8e3675bd2cffd4838f9c174
|
|
| BLAKE2b-256 |
28dcb5ffdf58d6ac39a15716d52d7dacf7b588ffac662c8eee18e106a1143899
|
File details
Details for the file buildai_sdk-2.1.0-py3-none-any.whl.
File metadata
- Download URL: buildai_sdk-2.1.0-py3-none-any.whl
- Upload date:
- Size: 23.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3af2f106dd9cbd826b04c6c90ffa4ce4ed687399ccbb83b7230a3017726454f9
|
|
| MD5 |
b2201785b7f0a38dbc780408896990cb
|
|
| BLAKE2b-256 |
dc574140d1dd1324b2db94eb965f240ae0e289530c25cc8062ea28d1e253c1b4
|