Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

cavagrill/helium-commander

 
 

Repository files navigation

About

Helium is an integrated platform of smart sensors, communication, edge and cloud compute that enables numerous sensing applications.

This package makes it easy to talk to the Helium API. It offers:

  • A command line interface to interact with the various Helium endpoints
  • A service API that shows how to communicate with the Helium API and interpret the results.

Installation

Source

Use this if you're actively developing or extending

$ virtualenv env
$ source env/bin/activate
$ pip install -e .

PyPi

From PyPi. Use this if you want to use the command line tool on its own.

$ pip install helium-commander

Note that on some systems you may have to use sudo to install the package system-wide

$ sudo pip install helium-commander

Nix

helium-commander can also be installed using the Nix package manager. Clone the repository and run:

$ nix-env --install --file default.nix

To upgrade on version releases, run:

$ nix-env --upgrade --file default.nix

Usage

To use the helium command, explore the help options:

$ helium --help
Usage: helium [OPTIONS] COMMAND [ARGS]...

Options:
  --version                Show the version and exit.
  --format [csv|json|tty]  The output format (default 'tty')
  --uuid                   Whether to display long identifiers
  --host TEXT              The Helium base API URL. Can also be specified
                           using the HELIUM_API_URL environment variable.
  --api-key TEXT           your Helium API key. Can also be specified using
                           the HELIUM_API_KEY environment variable
  -h, --help               Show this message and exit.

Commands:
  cloud-script   Operations on cloud-scripts.
  element        Operations on elements.
  label          Operations on labels of sensors.
  organization   Operations on the authorized organization
  sensor         Operations on physical or virtual sensors.
  sensor-script  Operations on sensor-scripts.
  user           Operations on the user.

About

A command line interface to the Helium API.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 86.8%
  • Shell 8.7%
  • Makefile 2.5%
  • Nix 2.0%