No project description provided
Project description
BossaLabs Python Client
Official Python client for the BossaLabs API.
The Client class is the main entry point for working with BossaLabs from Python,
including:
- Upload a video for inference
- Run inference on images
- Check remaining credits
- Add credits
- Generate an API key
- Check inference results
Installation
Requires Python 3.10 or newer.
pip install bossalabs
Quick example
from bossalabs import Client
client = Client(api_key="YOUR_API_KEY", model="MODEL_NAME")
result = client.upload_video("/path/to/video.mp4")
if result["success"]:
print(f"Job ID: {result['job_id']}")
else:
print(f"Upload failed: {result['error']}")
CLI
bossalabs process-video "/path/to/video.mp4" "MODEL_NAME" --api_key "YOUR_API_KEY"
Features
- Simple API — create a
Client, callupload_video, inspect the result. - CLI included — upload videos from the terminal with the
bossalabscommand. - Predictable errors — failures are returned as result dictionaries, not uncaught exceptions.
Documentation
| Guide | Description |
|---|---|
| Installation | Install the package |
| Quickstart | Upload your first video in minutes |
| Usage | Python API and CLI workflows |
| Configuration | Timeouts, content types, and client options |
| Examples | Copy-paste recipes for common tasks |
| API Reference | Auto-generated docs from docstrings |
Public API
Import from the top-level bossalabs package:
| Symbol | Description |
|---|---|
Client |
Authorize and upload video files |
bossalabs CLI |
process-video command for terminal uploads |
Contributing
Issues and pull requests are welcome in the GitHub repository.
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 bossalabs-0.1.2.tar.gz.
File metadata
- Download URL: bossalabs-0.1.2.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3be28c044bd02fb729966092a559d0cd35577c9579fcb9f5dac4458aa8058973
|
|
| MD5 |
4b829ac28f17da79c207e7c68683210e
|
|
| BLAKE2b-256 |
03beaa38ed216a4eb856968534f7eb070d57ee2afe761c6dcbed8a28749d505b
|
Provenance
The following attestation bundles were made for bossalabs-0.1.2.tar.gz:
Publisher:
release.yml on computervisionsports/bossa-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bossalabs-0.1.2.tar.gz -
Subject digest:
3be28c044bd02fb729966092a559d0cd35577c9579fcb9f5dac4458aa8058973 - Sigstore transparency entry: 2065524290
- Sigstore integration time:
-
Permalink:
computervisionsports/bossa-client@5f807bac39128ce9070812dac7e9b238cbc1bec0 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/computervisionsports
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@5f807bac39128ce9070812dac7e9b238cbc1bec0 -
Trigger Event:
release
-
Statement type:
File details
Details for the file bossalabs-0.1.2-py3-none-any.whl.
File metadata
- Download URL: bossalabs-0.1.2-py3-none-any.whl
- Upload date:
- Size: 9.3 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 |
9e7c871fc396e5a084450c3ac5d6413addcba6c26153591a3fc29f89f4a25acc
|
|
| MD5 |
477c3c415e62c60f8f173f7343a55b8a
|
|
| BLAKE2b-256 |
336f760747c37a8faa958ef8667a46288def8cd615c4f19b36b3d499b170de2c
|
Provenance
The following attestation bundles were made for bossalabs-0.1.2-py3-none-any.whl:
Publisher:
release.yml on computervisionsports/bossa-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bossalabs-0.1.2-py3-none-any.whl -
Subject digest:
9e7c871fc396e5a084450c3ac5d6413addcba6c26153591a3fc29f89f4a25acc - Sigstore transparency entry: 2065524547
- Sigstore integration time:
-
Permalink:
computervisionsports/bossa-client@5f807bac39128ce9070812dac7e9b238cbc1bec0 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/computervisionsports
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@5f807bac39128ce9070812dac7e9b238cbc1bec0 -
Trigger Event:
release
-
Statement type: