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.0.dev0.tar.gz.

File metadata

  • Download URL: singularitytechnologies.singularity-cli-0.2.0.dev0.tar.gz
  • Upload date:
  • Size: 4.8 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.0.dev0.tar.gz
Algorithm Hash digest
SHA256 209a6236610db89d4d647493213ffdaa73396bf31494ea80698929bfa5fe3d5a
MD5 ed9791fa3b700b0f13979ba11406b23a
BLAKE2b-256 09ffdafd8323e2dcd35a13ad23b2fdafd36b320171dcd1fe3ad09f9977e0f60e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for singularitytechnologies.singularity_cli-0.2.0.dev0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ff90c1d2a142599ef4584c248d223bafe0035fae3b21ed6586efaa0ab7e5eb2a
MD5 f5e58ef0dbb12f0e39400131e59c883d
BLAKE2b-256 275d497e13685495e32b89c5b4e8cec1c0b551d21b9cd6a85361a1e4cf09235a

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