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.2.tar.gz (4.3 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.2-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: alaas_cli-0.1.2.tar.gz
  • Upload date:
  • Size: 4.3 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.2.tar.gz
Algorithm Hash digest
SHA256 1d95871f1efaf73b51ac7722dc29946cb5231c4103c35b42858567b7b19801e7
MD5 4d8daedfa83a78dee4c1f461b6acc81c
BLAKE2b-256 74dac4fb12bb489e67217af0300b3471f9539824ef6f6dbc98650a123ad2a4ee

See more details on using hashes here.

File details

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

File metadata

  • Download URL: alaas_cli-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.0 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ddd18166ce941e7c96f9967c525f262257d80a6a01f9703e27c97b3af7ff28b6
MD5 12b650cad7633a98448ce457afb72621
BLAKE2b-256 641c53dac77f669937a3355c8389e95b4ed0aeb5a5a8935f350fe4ac9e0dfeed

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