Skip to main content

A CLI to run common singularity tasks.

Project description

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.

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

Built Distribution

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

File details

Details for the file singularitytechnologies.singularity-cli-0.2.4.dev0.tar.gz.

File metadata

  • Download URL: singularitytechnologies.singularity-cli-0.2.4.dev0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for singularitytechnologies.singularity-cli-0.2.4.dev0.tar.gz
Algorithm Hash digest
SHA256 d787b6cb37af6713296a67c675ed2196d2c9baa00ca8e3f6205a7f25fa3141f8
MD5 6aa3b51b843b823934149e5def65ff55
BLAKE2b-256 e7f67df7cdccc3b9c64921a7d8102292e3b28deb2062a993a835fdfc1296b8bb

See more details on using hashes here.

File details

Details for the file singularitytechnologies.singularity_cli-0.2.4.dev0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for singularitytechnologies.singularity_cli-0.2.4.dev0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d2e580d50a204b77256ce679038f81a76e244517e7b88358ac8324b78a406b8e
MD5 009fd35888bce3b5af4f0a9bdb33c83a
BLAKE2b-256 f40a3a0d1d5833a53068cbe7d5f76642b87116b285f616d26cf6e84037e6935e

See more details on using hashes here.

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