CLI for remote admin of Galaxy servers
- Free software: Academic Free License version 3.0
- Documentation: https://nebulizer.readthedocs.io
- Code: https://github.com/pjbriggs/nebulizer
Nebulizer is still a work in progress.
Please exercise caution when attempting irreversible operations, especially against production Galaxy instances (for example when creating users or data libraries).
This quick start gives some examples of using nebulizer commands to perform remote administration tasks on a Galaxy instance from the command line.
It is recommended to install Nebulizer via pip in a virtualenv, for example:
% virtualenv .venv % source .venv/bin/activate % pip install nebulizer
This will provide an executable called nebulizer with a number of subcommands for performing different tasks remotely on Galaxy instances.
Generally Nebulizer commands take the form:
nebulizer COMMAND GALAXY [OPTIONS]
To interact remotely with a Galaxy instance using Nebulizer requires at minimum the URL of the instance and then either an API key or a user login name.
For example to list the data libraries available on Galaxy Main:
nebulizer -k 9b376af2250818d14949b3c list_libraries https://usegalaxy.org
nebulizer -u USER@DOMAIN list_libraries https://usegalaxy.org
In this second case Nebulizer will prompt for the Galaxy password to authenticate the user login, unless it’s supplied via the -P option.
To store the Galaxy URL-API key pair against an alias main, to avoid needing full authentication details each time:
nebulizer add_key main https://usegalaxy.org 9b376af2250818d14949b3c
or alternatively get Nebulizer to fetch the API key itself by supplying the user login:
nebulizer -u USER@DOMAIN add_key main https://usegalaxy.org
More information on managing API keys in Nebulizer can found here.
The stored alias is then used in subsequent commands, for example to list the data libraries again it is now sufficient to do just:
nebulizer list_libraries main
The following sections contain examples of how Nebulizer might be used to perform various administrive tasks.
Nebulizer provides subcommands to perform various administrive tasks:
- ping (check if a Galaxy instance is alive)
- config (fetch configuration for a Galaxy instance)
See the tutorial for a walkthrough some of these commands.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size nebulizer-0.7.1-py3-none-any.whl (57.5 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size nebulizer-0.7.1.tar.gz (54.9 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for nebulizer-0.7.1-py3-none-any.whl