Skip to main content

CLI tool for downloading pathology slide files from Aluna

Project description

Aluna CLI

A command-line tool for downloading pathology slide files from the Aluna platform.

Installation

You can run the CLI directly using uvx (no installation required):

uvx aluna download file1.svs file2.svs

Or install it permanently:

pip install aluna

Usage

Download SVS files from cart

The recommended way to download files is using a cart ID from the Aluna web interface:

# Using uvx (recommended)
uvx aluna download --cart YOUR_CART_ID

# If installed
aluna download --cart YOUR_CART_ID

To get a cart ID:

  1. Visit the Aluna web interface
  2. Search for pathology slides
  3. Add desired files to your cart
  4. Go to the cart page to get your download command with cart ID

Options

  • --cart, -c: Cart ID from the Aluna web interface
  • --output-dir, -o: Directory to save downloaded files (default: current directory)
  • --parallel, -p: Number of parallel downloads (default: 3)
  • --chunk-size: Download chunk size in MB (default: 10)
  • --api-url: Custom API URL (default: https://manaflow-ai--aluna-search-backend-0-serve.modal.run)

Examples

Download files to a specific directory:

uvx aluna download --cart YOUR_CART_ID -o ./downloads

Download with more parallel connections:

uvx aluna download --cart YOUR_CART_ID -p 5

Features

  • Progress bars for each file download
  • Parallel downloads for faster performance
  • Automatic retry on failure
  • Resume partial downloads
  • Checksum verification

License

MIT License - see LICENSE file for details.

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

aluna_cli-0.1.0.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

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

aluna_cli-0.1.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file aluna_cli-0.1.0.tar.gz.

File metadata

  • Download URL: aluna_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.0

File hashes

Hashes for aluna_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 93263cc454188e5b827fb5a356961eefe31ac4ddbd91d6e221afca86ca63c6cd
MD5 8a943d6fe757f85927a02470d7e1c669
BLAKE2b-256 b293812570beb5191a882b2269fd96bcf362209dcd13338ffe3492d9ae8b0dea

See more details on using hashes here.

File details

Details for the file aluna_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: aluna_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.0

File hashes

Hashes for aluna_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 81b6c08044163274720a7b219c03000276e047e8f143a44a2e9b59a5e7d2e02d
MD5 8bcf6eab0a5755dce56929b27068f801
BLAKE2b-256 dd0e28917e127079db688c025c2421e76d46278630cc714f79f580aff477a2e9

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