# Singularity Global Client
[![https://img.shields.io/badge/software%20checklist-100%25-59BF40](https://img.shields.io/badge/software%20checklist-100%25-59BF40)](https://stanford-rc.github.io//rse-services/docs/tools/software-checklist/badge?label=100%25&color=#59BF40&ids=r1,r2,r3,r4,r5,r6,d1,d2,d3,d4,d5,d6,d7,a1,a2,a3,ci1,ci2&title=singularityhub/sregistry-cli)
[![GitHub actions status](https://github.com/singularityhub/sregistry-cli/workflows/sregistry-ci/badge.svg?branch=master)](https://github.com/singularityhub/sregistry-cli/actions?query=branch%3Amaster+workflow%3Asregistry-ci)
Hi Friends! Are your containers lonely? Singularity containers thrive in happiness when they are shared. This means that wherever you might have them in these cloudy places, they are easy to find and move around.
## What is this?
Singularity Global Client is an interface to interact with Singularity containers in many different storage locations. We are able to use modern APIs by way of providing and using the software within a Singularity container! For older architectures, we provide a [Singularity container](Singularity) for you to use instead. You can build it from this repository, or use the provided container on [Singularity Hub](https://www.singularity-hub.org/collections/379).
If used for the Singularity Registry client, Python 3 is required. See our [installation guide](https://singularityhub.github.io/sregistry-cli/install) to get started. For more details, please refer to our [documentation](docs).
## Installation instructions
With pip:
```bash
pip install sregistry[all]
```
With conda:
```bash
conda install -c conda-forge sregistry
```
More detailed instructions can be found [here](https://singularityhub.github.io/sregistry-cli/install)
## Python Versions Under 3
If you are looking for a version that works with Python 2.* see [this branch](https://github.com/singularityhub/sregistry-cli/releases/tag/v0.1.41), or all releases / branches prior to 0.2.0.
## Building the RPM
The file [sregistry-cli.spec](sregistry-cli.spec) is provided to build an rpm for a specified version,
typcailly the current release on pypi, and was discussed [here](https://github.com/singularityhub/sregistry-cli/issues/138#issuecomment-413323717).
You should do the following:
1. Update the version to be the current in pypi specified in [sregistry/version.py](sregistry/version.py).
```bash
Version: 0.0.89
```
2. Create a [new release](https://github.com/singularityhub/sregistry-cli/releases/new) on Github with the version spec file added.
3. Download the .tar.gz file from the release
```bash
VERSION=0.0.92
wget https://github.com/singularityhub/sregistry-cli/archive/sregistry-cli-${VERSION}.tar.gz
```
4. Use rpmbuild to build it.
```bash
rpmbuild -ta sregistry-cli-$VERSION.tar.gz
```
You should get an srpm which that can be distributed and anyone can be rebuilt:
```bash
rpmbuild --rebuild sregistry-cli.srpm
```
## License
This code is licensed under the MPL 2.0 [LICENSE](LICENSE).
Raw data
{
"_id": null,
"home_page": "http://www.github.com/singularityhub/sregistry-cli",
"name": "sregistry",
"maintainer": "Vanessa Sochat",
"docs_url": null,
"requires_python": "",
"maintainer_email": "vsochat@stanford.edu",
"keywords": "singularity containers registry hub",
"author": "Vanessa Sochat",
"author_email": "vsochat@stanford.edu",
"download_url": "https://files.pythonhosted.org/packages/53/ba/33acb06c5e64c7be28c68e46fa8a303622bf983e38798ef7fb71ee2e51eb/sregistry-0.2.39.tar.gz",
"platform": null,
"description": "# Singularity Global Client\n\n[![https://img.shields.io/badge/software%20checklist-100%25-59BF40](https://img.shields.io/badge/software%20checklist-100%25-59BF40)](https://stanford-rc.github.io//rse-services/docs/tools/software-checklist/badge?label=100%25&color=#59BF40&ids=r1,r2,r3,r4,r5,r6,d1,d2,d3,d4,d5,d6,d7,a1,a2,a3,ci1,ci2&title=singularityhub/sregistry-cli)\n[![GitHub actions status](https://github.com/singularityhub/sregistry-cli/workflows/sregistry-ci/badge.svg?branch=master)](https://github.com/singularityhub/sregistry-cli/actions?query=branch%3Amaster+workflow%3Asregistry-ci)\n\nHi Friends! Are your containers lonely? Singularity containers thrive in happiness when they are shared. This means that wherever you might have them in these cloudy places, they are easy to find and move around.\n\n## What is this?\n\nSingularity Global Client is an interface to interact with Singularity containers in many different storage locations. We are able to use modern APIs by way of providing and using the software within a Singularity container! For older architectures, we provide a [Singularity container](Singularity) for you to use instead. You can build it from this repository, or use the provided container on [Singularity Hub](https://www.singularity-hub.org/collections/379).\n\nIf used for the Singularity Registry client, Python 3 is required. See our [installation guide](https://singularityhub.github.io/sregistry-cli/install) to get started. For more details, please refer to our [documentation](docs).\n\n## Installation instructions\n\nWith pip:\n\n```bash\npip install sregistry[all]\n```\n\nWith conda:\n\n```bash\nconda install -c conda-forge sregistry\n```\n\nMore detailed instructions can be found [here](https://singularityhub.github.io/sregistry-cli/install)\n\n## Python Versions Under 3\n\nIf you are looking for a version that works with Python 2.* see [this branch](https://github.com/singularityhub/sregistry-cli/releases/tag/v0.1.41), or all releases / branches prior to 0.2.0.\n\n## Building the RPM\n\nThe file [sregistry-cli.spec](sregistry-cli.spec) is provided to build an rpm for a specified version,\ntypcailly the current release on pypi, and was discussed [here](https://github.com/singularityhub/sregistry-cli/issues/138#issuecomment-413323717).\nYou should do the following:\n\n 1. Update the version to be the current in pypi specified in [sregistry/version.py](sregistry/version.py).\n\n```bash\nVersion: 0.0.89\n```\n\n 2. Create a [new release](https://github.com/singularityhub/sregistry-cli/releases/new) on Github with the version spec file added.\n 3. Download the .tar.gz file from the release\n\n```bash\nVERSION=0.0.92\nwget https://github.com/singularityhub/sregistry-cli/archive/sregistry-cli-${VERSION}.tar.gz\n```\n\n 4. Use rpmbuild to build it.\n\n```bash\nrpmbuild -ta sregistry-cli-$VERSION.tar.gz\n```\n\nYou should get an srpm which that can be distributed and anyone can be rebuilt:\n\n```bash\nrpmbuild --rebuild sregistry-cli.srpm\n```\n\n## License\n\nThis code is licensed under the MPL 2.0 [LICENSE](LICENSE).\n\n\n",
"bugtrack_url": null,
"license": "LICENSE",
"summary": "Command line tool for working with container storage",
"version": "0.2.39",
"project_urls": {
"Homepage": "http://www.github.com/singularityhub/sregistry-cli"
},
"split_keywords": [
"singularity",
"containers",
"registry",
"hub"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "53ba33acb06c5e64c7be28c68e46fa8a303622bf983e38798ef7fb71ee2e51eb",
"md5": "cbfb7892a241bef9abcc815e2c2e8bdb",
"sha256": "db8805e963d34a4fbda329c08d2e913667e01f8ed1511e6597dc8cc4b3ce6d24"
},
"downloads": -1,
"filename": "sregistry-0.2.39.tar.gz",
"has_sig": false,
"md5_digest": "cbfb7892a241bef9abcc815e2c2e8bdb",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 214663,
"upload_time": "2023-06-20T20:15:38",
"upload_time_iso_8601": "2023-06-20T20:15:38.423515Z",
"url": "https://files.pythonhosted.org/packages/53/ba/33acb06c5e64c7be28c68e46fa8a303622bf983e38798ef7fb71ee2e51eb/sregistry-0.2.39.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-20 20:15:38",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "singularityhub",
"github_project": "sregistry-cli",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"circle": true,
"requirements": [],
"lcname": "sregistry"
}