Skip to main content

No project description provided

Project description

BossaLabs Python Client

PyPI Python

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, call upload_video, inspect the result.
  • CLI included — upload videos from the terminal with the bossalabs command.
  • 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bossalabs-0.1.2.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

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

bossalabs-0.1.2-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

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

Hashes for bossalabs-0.1.2.tar.gz
Algorithm Hash digest
SHA256 3be28c044bd02fb729966092a559d0cd35577c9579fcb9f5dac4458aa8058973
MD5 4b829ac28f17da79c207e7c68683210e
BLAKE2b-256 03beaa38ed216a4eb856968534f7eb070d57ee2afe761c6dcbed8a28749d505b

See more details on using hashes here.

Provenance

The following attestation bundles were made for bossalabs-0.1.2.tar.gz:

Publisher: release.yml on computervisionsports/bossa-client

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for bossalabs-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9e7c871fc396e5a084450c3ac5d6413addcba6c26153591a3fc29f89f4a25acc
MD5 477c3c415e62c60f8f173f7343a55b8a
BLAKE2b-256 336f760747c37a8faa958ef8667a46288def8cd615c4f19b36b3d499b170de2c

See more details on using hashes here.

Provenance

The following attestation bundles were made for bossalabs-0.1.2-py3-none-any.whl:

Publisher: release.yml on computervisionsports/bossa-client

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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