Skip to main content

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 point
  • buildai/resources/v1/ — Resource namespaces
  • buildai/models/v1/ — Response models
  • buildai/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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

buildai_sdk-2.1.0-py3-none-any.whl (23.5 kB view details)

Uploaded Python 3

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

Hashes for buildai_sdk-2.1.0.tar.gz
Algorithm Hash digest
SHA256 c2c84e091f67cdff6a6fecf97cf1e289f203eab9e865a31920b9dc2c42c3d166
MD5 7622aa01e8e3675bd2cffd4838f9c174
BLAKE2b-256 28dcb5ffdf58d6ac39a15716d52d7dacf7b588ffac662c8eee18e106a1143899

See more details on using hashes here.

File details

Details for the file buildai_sdk-2.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for buildai_sdk-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3af2f106dd9cbd826b04c6c90ffa4ce4ed687399ccbb83b7230a3017726454f9
MD5 b2201785b7f0a38dbc780408896990cb
BLAKE2b-256 dc574140d1dd1324b2db94eb965f240ae0e289530c25cc8062ea28d1e253c1b4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page