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.3.tar.gz (4.4 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.3-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: alaas_cli-0.1.3.tar.gz
  • Upload date:
  • Size: 4.4 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.3.tar.gz
Algorithm Hash digest
SHA256 ba98dbba1f217fb040dcb22026e96929432403dd6e8694c16a0775ee8d91c93f
MD5 b7842a327310cbdc7a230f7a1fb92647
BLAKE2b-256 ec2c374e39e54dc772017609ec2a8a2c6d389397a79f9bbaa7976d205f853f67

See more details on using hashes here.

File details

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

File metadata

  • Download URL: alaas_cli-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 5.1 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 64ee11dd55a9940bec5ae514a80cde2481473e35178e95d30b881c57fe80b92f
MD5 3cfada0a263954554753968901f5cff2
BLAKE2b-256 2f8126225855a3d17d482ae630a3eced8844f425186f0291c054879322b139af

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