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.0.0.tar.gz (159.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.0.0-py3-none-any.whl (22.4 kB view details)

Uploaded Python 3

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

Hashes for buildai_sdk-2.0.0.tar.gz
Algorithm Hash digest
SHA256 a9b52223553dd120880c38b24011246f41666f4602f2acbf61a326f361b3e382
MD5 8a88d07f808ce2d05104ba296c41a411
BLAKE2b-256 58b149ab1350143b69e379f7e9c17c7ef3ccaea963d8b54efb00fc77283eb319

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for buildai_sdk-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a2eda0cc630f3f8f6240426f0d635777f6a8622b9701ab0a57de4af2a9d95368
MD5 04bb69aad3d89996bdd52db93a1e2d74
BLAKE2b-256 6216555ac9528ce5f40d5810bd841fdf3a009f468578c7fec37792b368f06fec

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