Skip to main content

Octave Cloud IoT Command Line Interface (CLI)

Project description

ocsw-cli - Octave Cloud command-line tool

License: MIT

This is not an official implementation of the command line interface (CLI) for the Octave Cloud REST API.

The ocsw makes calls to Octave Cloud Infrastructure APIs to provide the functionality implemented for the various services. These are REST APIs that use HTTPS requests and responses.

API Reference

This package includes a client implementing the api described in https://rest.octave.dev/

Requirements

To install and use the CLI, you must have:

  • An Octave Cloud Infrastructure account. A user created in that account, in a group with a policy that grants the desired permissions. This account user can be that calls the API.

  • System use token-based authentication. You can get the API token for your user by logging into Octave Cloud, On the lower left side of the main page, you will see Master Token option. Click here and a pop up will display your token along with the user you will use with the Octave Cloud APIs.

Installation

As per usual:

pip install ocsw

Environment variables

VARIABLE Description
OCTAVE_CLOUD_API_URL default: https://octave-api.sierrawireless.io/v5.0
End point octave cloud
OCTAVE_CLOUD_TOKEN Master Token
OCTAVE_CLOUD_USER Your user id
OCTAVE_CLOUD_COMPANY Identifier of one of the company

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

ocsw-0.1.0.dev0.tar.gz (22.7 kB view details)

Uploaded Source

Built Distribution

ocsw-0.1.0.dev0-py3-none-any.whl (52.9 kB view details)

Uploaded Python 3

File details

Details for the file ocsw-0.1.0.dev0.tar.gz.

File metadata

  • Download URL: ocsw-0.1.0.dev0.tar.gz
  • Upload date:
  • Size: 22.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.9

File hashes

Hashes for ocsw-0.1.0.dev0.tar.gz
Algorithm Hash digest
SHA256 07165d30689f7ba247081f31c132baadf05ebb180514d1abd68e5e26c9eb3469
MD5 b46e29b51c75ec9709ea9a9c24f03c83
BLAKE2b-256 8ae3114967c76ef0be611cbad356beceb54a2a427221ce09c501edeb93f29238

See more details on using hashes here.

File details

Details for the file ocsw-0.1.0.dev0-py3-none-any.whl.

File metadata

  • Download URL: ocsw-0.1.0.dev0-py3-none-any.whl
  • Upload date:
  • Size: 52.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.9

File hashes

Hashes for ocsw-0.1.0.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 8aafbde37eea785f0e42ef0f0ad8d6f576ad5f1cae1aa88324cdc3cb837ccb12
MD5 5e24b80682f5020981213986ac235702
BLAKE2b-256 0df0d3093194c270df39f0311d9891e243eafa0b722404a8c35227719b47238f

See more details on using hashes here.

Supported by

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