# Packager
A command-line tool for managing Singularity images and creating executable bundles.
## Installation
```bash
pip install .
```
## Configuration
The configuration file is stored at `~/.config/packager.ini`:
```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
```bash
# From singularity_path
packager scanpackages
# From custom path
packager scanpackages --dir /qib/platforms/Informatics/transfer/outgoing/singularity/core
```
### Add single singularity image as package
```bash
bashpackager addpackage --image /path/to/image.simg --name mypackage --version 1.0.0
```
### Create a "HPC package" (bundle)
```bash
# 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
```bash
# 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
```
Raw data
{
"_id": null,
"home_page": null,
"name": "nbipackager",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "singularity, container, package-manager",
"author": null,
"author_email": "Andrea Telatin <andrea.telatin@quadram.ac.uk>",
"download_url": "https://files.pythonhosted.org/packages/36/d8/953a2ffcd5c10ca7b86d098f64af503b5eb441252ab95b049ffd92628f7c/nbipackager-0.0.3.tar.gz",
"platform": null,
"description": "# Packager\n\nA command-line tool for managing Singularity images and creating executable bundles.\n\n## Installation\n\n```bash\npip install .\n```\n\n## Configuration\n\nThe configuration file is stored at `~/.config/packager.ini`:\n\n```ini\n[packager]\nsingularity_path = /path/to/images\nbin_path = /path/to/bin\npackages_path = /path/to/packages\n\n[images]\n# This section is automatically populated by the tool\n```\n\n## Usage\n\n### Add a set of singularity images\n```bash\n# From singularity_path\npackager scanpackages\n# From custom path\npackager scanpackages --dir /qib/platforms/Informatics/transfer/outgoing/singularity/core\n```\n\n### Add single singularity image as package\n```bash\nbashpackager addpackage --image /path/to/image.simg --name mypackage --version 1.0.0\n```\n\n\n### Create a \"HPC package\" (bundle)\n```bash\n# Make an empty bundle\npackager makebundle --name mybundle\n\n# Make a bundle with one or more packages\npackager makebundle --name denovo megahit=1.2.9 fastp=1.20.0\n```\n\n### Add package to bundle\n```bash\n# By default each package is exposed as a binary called package. You can add \"aliases\" i.e. each binary to expose\npackager addtobundle --name mybundle --package blast --version 1.0 blastn makeblastdb blastp\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A package manager for Singularity images",
"version": "0.0.3",
"project_urls": {
"Bug Tracker": "https://github.com/quadram-institute-bioscience/nbipackager/issues",
"Documentation": "https://github.com/quadram-institute-bioscience/nbipackager#readme",
"Homepage": "https://github.com/quadram-institute-bioscience/nbipackager",
"Repository": "https://github.com/quadram-institute-bioscience/nbipackager.git"
},
"split_keywords": [
"singularity",
" container",
" package-manager"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "3d4288370973b60245f5eea7d4ef45d537a0aafa92736f3feb7e9b1c81798919",
"md5": "50d678c3f0147fc4b8457cf5007cc228",
"sha256": "d64f0082f244a2a7926705a73d2ac18041aa00f7138f262e361f5c82b06ee424"
},
"downloads": -1,
"filename": "nbipackager-0.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "50d678c3f0147fc4b8457cf5007cc228",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 13070,
"upload_time": "2025-02-07T17:49:26",
"upload_time_iso_8601": "2025-02-07T17:49:26.420459Z",
"url": "https://files.pythonhosted.org/packages/3d/42/88370973b60245f5eea7d4ef45d537a0aafa92736f3feb7e9b1c81798919/nbipackager-0.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "36d8953a2ffcd5c10ca7b86d098f64af503b5eb441252ab95b049ffd92628f7c",
"md5": "a84a7c4b536990822f153addc7ab2393",
"sha256": "54839ae83d2e1545bf06f71a719fc50b1299fb0569fe7462f6a9958252f49289"
},
"downloads": -1,
"filename": "nbipackager-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "a84a7c4b536990822f153addc7ab2393",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 10301,
"upload_time": "2025-02-07T17:49:29",
"upload_time_iso_8601": "2025-02-07T17:49:29.414093Z",
"url": "https://files.pythonhosted.org/packages/36/d8/953a2ffcd5c10ca7b86d098f64af503b5eb441252ab95b049ffd92628f7c/nbipackager-0.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-07 17:49:29",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "quadram-institute-bioscience",
"github_project": "nbipackager",
"github_not_found": true,
"lcname": "nbipackager"
}