Skip to main content

CLI harness for the Galaxy bioinformatics platform

Project description

galaxy-cli

CLI harness for the Galaxy bioinformatics platform. It wraps Galaxy's REST API to provide command-line and REPL access to histories, datasets, tools, workflows, jobs, and libraries.

This project was initially generated with cli-anything and then refined into the standalone galaxy-cli package.

Prerequisites

  • Python 3.10+
  • A running Galaxy server
  • A Galaxy API key from your target instance

Installation

Install from PyPI with uv or pip:

uv tool install galaxy-cli
python3 -m pip install galaxy-cli

For local development from this repository:

python3 -m pip install .

Verify installation:

which galaxy-cli
galaxy-cli --version

Configuration

Set your Galaxy server URL and API key:

export GALAXY_URL=https://usegalaxy.org
export GALAXY_API_KEY=your-api-key

galaxy-cli config test

Usage

galaxy-cli history list
galaxy-cli history create "My Analysis"
galaxy-cli tool search "bowtie"
galaxy-cli --json workflow list

Run the REPL:

galaxy-cli

Tests

python3 -m pytest cli_anything/galaxy/tests/ -v

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

galaxy_cli-1.0.0.tar.gz (32.9 kB view details)

Uploaded Source

Built Distribution

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

galaxy_cli-1.0.0-py3-none-any.whl (38.8 kB view details)

Uploaded Python 3

File details

Details for the file galaxy_cli-1.0.0.tar.gz.

File metadata

  • Download URL: galaxy_cli-1.0.0.tar.gz
  • Upload date:
  • Size: 32.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for galaxy_cli-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c008fb3ae4fba85faf7cd97f391d678046f27fbb70bb3ef54505a389a483c8ef
MD5 35c010fb2f288a4324a798c6f7dba04e
BLAKE2b-256 442a09b9d4bb059b29a65b30de6c80a607fad385766470e928fd91214f8480fe

See more details on using hashes here.

File details

Details for the file galaxy_cli-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: galaxy_cli-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 38.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for galaxy_cli-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a0758317bad6a589a87943f6f82c116455f385f9a20f499d13888b7231fad314
MD5 d9e90c1038f6634a176d48940f0f67a9
BLAKE2b-256 6071dbf88793d0e74a526cd785aa07fce10a299cd809b2f62b278c6c47a32c53

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