Skip to main content

Disruptive Technologies CLI.

Project description

disruptive-cli

Unofficial Command-Line Interface (CLI) for the Disruptive Technologies REST API.

Authentication

Currently, the only way of authenticating is by setting the following environment variables.

export DT_SERVICE_ACCOUNT_KEY_ID="<SERVICE_ACCOUNT_KEY_ID>"
export DT_SERVICE_ACCOUNT_SECRET="<SERVICE_ACCOUNT_SECRET>"
export DT_SERVICE_ACCOUNT_EMAIL="<SERVICE_ACCOUNT_EMAIL>"

Usage

The CLI is structured in a <NOUN> -> <VERB> format.

  • Fetch a single device.
dt device get <DEVICE_ID>
  • Fetch all devices in a project.
dt device list <PROJECT_ID>

Development

Virtualenv is used for dependency isolation, wrapped by the following commands.

  • Build the distribution:
make build
  • Remove build-files:
make clean

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

disruptive-cli-0.1.0.tar.gz (20.7 kB view details)

Uploaded Source

Built Distribution

disruptive_cli-0.1.0-py3-none-any.whl (33.2 kB view details)

Uploaded Python 3

File details

Details for the file disruptive-cli-0.1.0.tar.gz.

File metadata

  • Download URL: disruptive-cli-0.1.0.tar.gz
  • Upload date:
  • Size: 20.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for disruptive-cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 aeae8cf9adf65e4544761f03f33ffd551091697790bb059b8cea98420c367bf0
MD5 8f2480cf7d5dd9578f96cfd6f5e995be
BLAKE2b-256 d2fa479039cffee92036c9bd4dff5cbcad94f0a0e770a4d200da89db10141987

See more details on using hashes here.

File details

Details for the file disruptive_cli-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for disruptive_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f23d1b8d6eb7ee737bf3ea33468038c6ec6cf49218dd7736cf8863706b8252b6
MD5 42cd49075e23a7aeaf0c9599de5bf11b
BLAKE2b-256 5f2c4a14ba455f0ab886cdcee0d2783da2d468b08a8e5963cbccfa54c6d897d8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page