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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c008fb3ae4fba85faf7cd97f391d678046f27fbb70bb3ef54505a389a483c8ef
|
|
| MD5 |
35c010fb2f288a4324a798c6f7dba04e
|
|
| BLAKE2b-256 |
442a09b9d4bb059b29a65b30de6c80a607fad385766470e928fd91214f8480fe
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0758317bad6a589a87943f6f82c116455f385f9a20f499d13888b7231fad314
|
|
| MD5 |
d9e90c1038f6634a176d48940f0f67a9
|
|
| BLAKE2b-256 |
6071dbf88793d0e74a526cd785aa07fce10a299cd809b2f62b278c6c47a32c53
|