Skip to main content

Command-line client for the ALaaS API - upload images and get back the most useful ones to label.

Project description

alaas-cli

Command-line client for ALaaS - Active Learning as a Service. Send your images to the API, then ask which ones are the most useful to label next. Train better models with a fraction of the labelling budget.

Install

pip install alaas-cli

Quickstart

Create an account and an API key at alaas2.com (new accounts get 10,000 free credits), then:

export ALAAS_API_KEY=alaas_live_...

# 1. Create a pool
alaas pools create my-dataset

# 2. Upload your images (they are processed right away and never stored)
alaas upload ./images --pool <pool_id>

# 3. Get the most useful images to label next
alaas select --pool <pool_id> -k 50

# 4. Label them, then repeat - already selected images never come back
alaas select --pool <pool_id> -k 50

Check your credits balance any time:

alaas usage

Configuration

Either environment variables or ~/.alaas/config.toml:

api_key = "alaas_live_..."
# api_url = "https://api.alaas2.com"   # default

All commands support --json for machine-readable output.

Links

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

alaas_cli-0.1.4.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

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

alaas_cli-0.1.4-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file alaas_cli-0.1.4.tar.gz.

File metadata

  • Download URL: alaas_cli-0.1.4.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for alaas_cli-0.1.4.tar.gz
Algorithm Hash digest
SHA256 8cbcc657c5af54585dbb0b3bfd5a527ca736ff2e565c3221d6f0d2c6df5fbc0c
MD5 5a59cfe24c29868e37bf5c6fe8e52f6a
BLAKE2b-256 3a22becd37503d9357064cf242a60a0a81f424988ca4f5efece982965768477a

See more details on using hashes here.

File details

Details for the file alaas_cli-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: alaas_cli-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for alaas_cli-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 cea9e727d99c370c249714a5647c38d5ea67495dee2934321d5ba95932960cdd
MD5 46b0e97f54296dc68cea17032e15531b
BLAKE2b-256 afa45ca100c597fbddd99757affc020b5c4a788a53a3aea2f97528010b01e2ca

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