Skip to main content

Galaxy configuration

Project description

https://badge.fury.io/py/galaxy-job-config-init.svg

Overview

Module and script for bootstrapping Galaxy job config files.

Installation

Install from PyPI:

pip install galaxy-job-config-init

CLI Usage

The package provides two command-line tools:

galaxy-job-config-init

Generate job configuration YAML for Galaxy:

galaxy-job-config-init [OPTIONS]

Options:

--galaxy-version TEXT
    Generate job config YAML for this version of Galaxy

--runner {local,slurm,pbs,condor,kubernetes}
    Galaxy runner (e.g. DRM) to target (defaults to 'local')

--tpv
    Enable shared TPV database

--docker
    Enable Docker

--docker-cmd TEXT
    Command used to launch docker (defaults to 'docker')

--docker-host TEXT
    Docker host

--docker-sudo
    Use sudo with Docker

--docker-sudo-cmd TEXT
    Docker sudo command

--docker-run-extra-arguments TEXT
    Extra arguments for Docker run

--docker-extra-volume TEXT
    Extra Docker volumes (can be specified multiple times)

--singularity
    Enable Singularity

--singularity-cmd TEXT
    Command used to execute singularity (defaults to 'singularity')

--singularity-sudo
    Use sudo with Singularity

--singularity-sudo-cmd TEXT
    Singularity sudo command

--singularity-extra-volume TEXT
    Extra Singularity volumes (can be specified multiple times)

--tmp-dir TEXT
    Configure temporary directory handling (defaults to 'true')

--all-in-one-handling
    Use all-in-one job handling configuration

galaxy-job-config-init-summary

Generate a summary of the job configuration. See job_config_examples.md for detailed examples of generated configurations.

Examples

Generate a basic local job configuration:

galaxy-job-config-init

Generate configuration for SLURM with Docker support:

galaxy-job-config-init --runner slurm --docker

Generate configuration with custom Docker volumes:

galaxy-job-config-init --docker --docker-extra-volume /data:/data --docker-extra-volume /scratch:/scratch

Generate configuration for all-in-one Galaxy instance:

galaxy-job-config-init --all-in-one-handling

Contributing

Contributions are welcome! Please see CONTRIBUTING.rst for development setup, code quality guidelines, and release procedures.

History

0.1.4

  • Expand readme

  • Add --local-workers option to specify LocalJobRunner workers

0.1.3

  • Enhanced tmp_dir configuration to support string values for custom temp directory allocation (environment variables and shell commands)

  • Added all-in-one-handling option for simplified Galaxy instances (removes separate handling section)

  • Added comprehensive development tooling: black, isort, ruff, mypy, and pre-commit hooks

  • Added GitHub Actions CI workflow with automated testing across Python 3.9-3.13

  • Added PyPI deployment workflow with trusted publishing

  • Added CONTRIBUTING.rst with detailed development guidelines

  • Updated README.rst with contributing information

  • Added comprehensive test coverage for new features

0.1.2

Add tmp_dir config option thanks to @Smeds. https://github.com/galaxyproject/galaxy-job-config-init/pull/1

0.1.1

Fix for StrEnum usage on older Python versions.

0.1.0

Initial creation with simple options for TPV, various DRMs, and container settings.

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_job_config_init-0.1.4.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

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

galaxy_job_config_init-0.1.4-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file galaxy_job_config_init-0.1.4.tar.gz.

File metadata

  • Download URL: galaxy_job_config_init-0.1.4.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for galaxy_job_config_init-0.1.4.tar.gz
Algorithm Hash digest
SHA256 ce631472ab968d12bd42042a6686aa61704cf7a5c44d1f896b2dd35ebc52ef42
MD5 1c2b43e9017403f23efacfc83886dd12
BLAKE2b-256 3918918f367d96222afc759d9abc979eecd6fa75b5cd266f9e3b60482c694008

See more details on using hashes here.

Provenance

The following attestation bundles were made for galaxy_job_config_init-0.1.4.tar.gz:

Publisher: deploy.yml on galaxyproject/galaxy-job-config-init

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file galaxy_job_config_init-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for galaxy_job_config_init-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d9db27a0dee86da4adc22a35ec9a97b631a921d9a4eb9fba199cbfdc6cbaf35f
MD5 31824b842ccb51f8df595033b7b4d644
BLAKE2b-256 927a8017d45e513c720ee82bf062b1be3ae39087db3024571b4a00773e17c235

See more details on using hashes here.

Provenance

The following attestation bundles were made for galaxy_job_config_init-0.1.4-py3-none-any.whl:

Publisher: deploy.yml on galaxyproject/galaxy-job-config-init

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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