Skip to main content

A package manager for Singularity images

Project description

Packager

A command-line tool for managing Singularity images and creating executable bundles.

Installation

pip install .

Configuration

The configuration file is stored at ~/.config/packager.ini:

[packager]
singularity_path = /path/to/images
bin_path = /path/to/bin
packages_path = /path/to/packages

[images]
# This section is automatically populated by the tool

Usage

Add a set of singularity images

# From singularity_path
packager scanpackages
# From custom path
packager scanpackages --dir /qib/platforms/Informatics/transfer/outgoing/singularity/core

Add single singularity image as package

bashpackager addpackage --image /path/to/image.simg --name mypackage --version 1.0.0

Create a "HPC package" (bundle)

# Make an empty bundle
packager makebundle --name mybundle

# Make a bundle with one or more packages
packager makebundle --name denovo megahit=1.2.9 fastp=1.20.0

Add package to bundle

# By default each package is exposed as a binary called package. You can add "aliases" i.e. each binary to expose
packager addtobundle --name mybundle --package blast --version 1.0 blastn makeblastdb blastp

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

nbipackager-0.0.3.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

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

nbipackager-0.0.3-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file nbipackager-0.0.3.tar.gz.

File metadata

  • Download URL: nbipackager-0.0.3.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for nbipackager-0.0.3.tar.gz
Algorithm Hash digest
SHA256 54839ae83d2e1545bf06f71a719fc50b1299fb0569fe7462f6a9958252f49289
MD5 a84a7c4b536990822f153addc7ab2393
BLAKE2b-256 36d8953a2ffcd5c10ca7b86d098f64af503b5eb441252ab95b049ffd92628f7c

See more details on using hashes here.

Provenance

The following attestation bundles were made for nbipackager-0.0.3.tar.gz:

Publisher: publish.yaml on quadram-institute-bioscience/nbipackager

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

File details

Details for the file nbipackager-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: nbipackager-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 13.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for nbipackager-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d64f0082f244a2a7926705a73d2ac18041aa00f7138f262e361f5c82b06ee424
MD5 50d678c3f0147fc4b8457cf5007cc228
BLAKE2b-256 3d4288370973b60245f5eea7d4ef45d537a0aafa92736f3feb7e9b1c81798919

See more details on using hashes here.

Provenance

The following attestation bundles were made for nbipackager-0.0.3-py3-none-any.whl:

Publisher: publish.yaml on quadram-institute-bioscience/nbipackager

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