This release is a pre-release and may not be stable for production use.
Singularity Technologies CLI
This CLI is desinged to help Engineers engage with our API and platform much more easily.
The CLI handles HMAC signature generation and sets all necessary headers autonomously.
Its highly recomended that you use the CLI rather than cURL commands.
The CLI has been tested on Ubuntu. If you require support or bug fixes for OSX or Windows operating systems please open an issue!
Pull Requests are always welcome!
Installation
The CLI can easily be installed using pip:
pip3 install singularitytechnologies.singularity-cli
We only officially support usage with Python3.5+
Config file
The CLI will look for a config json file in the location:
$HOME/.singularity/config.json
Which should contain the following:
{
"api_key": <key>,
"secret": <secret>
}
If you'd like to store your config elsewhere, simply set the environment variable:
SINGULARITY_CONFIG_PATH=<path>
Usage
A full list of commands can be seen by simply using the following command:
singularity-cli
You can test your connection to the API by using our PING command:
singularity-cli ping
A successful connection should return the response pong
See this blog post for a short demonstration on how to use the various features of the CLI.
Release files for singularitytechnologies.singularity-cli 0.2.5.dev0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| singularitytechnologies.singularity-cli-0.2.5.dev0.tar.gz | 4.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| singularitytechnologies.singularity_cli-0.2.5.dev0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size:10.8 kB
Release files / singularitytechnologies.singularity-cli-0.2.5.dev0.tar.gz
| Download URL | singularitytechnologies.singularity-cli-0.2.5.dev0.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
87b26c37375dc015a65d43edd6659c1a592e94dd341ae7ffaf0058b0184a85b2
|
|
BLAKE2b-256 checksum How to use checksums |
522b5ab852deec10b68b6316ea933a71c330ee1f16710902eb62dc3c0fd8dddc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
|
Release files / singularitytechnologies.singularity_cli-0.2.5.dev0-py2.py3-none-any.whl
| Download URL | singularitytechnologies.singularity_cli-0.2.5.dev0-py2.py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
fb49086b906c04bf1c8f3ce43dcee5250f74dec1a7a76a904f21a0b0ebe67a73
|
|
BLAKE2b-256 checksum How to use checksums |
ea76d69a8ecaf1e8f313d5244fd4e451484ea11d03017b9a60df8e4d264cafe7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
|