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.1.tar.gz (3.9 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.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: alaas_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 3.9 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.1.tar.gz
Algorithm Hash digest
SHA256 a1f32992e99773b88a0ad2c2fe3fe2dbac0b7e70864a548e420536545a29d661
MD5 689f951c1b341a6a87f19d21325ec727
BLAKE2b-256 10459bc86a7b6cbda1d8ab3413adbee2682ef7feb0382e767298f27990976c08

See more details on using hashes here.

File details

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

File metadata

  • Download URL: alaas_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 59983b17cb83186e48fc6a8dca69bfb51caa2a294033d19d0818d0764c168332
MD5 7c8d17ec7c7ed76d125edfea4c0441fd
BLAKE2b-256 be5fd8ec90af28cc5f415b0f683cddb73685539655b61992f32922039f9ab3c8

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