Skip to main content

A CLI and service wrapper for the Helium API

Project description

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

From source. Use this if you’re actively developing or extending

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

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:
  -k, --api-key TEXT  your Helium API key. Can also be specified using the
                      HELIUM_API_KEY environment variable  [required]
  --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 physical or virtual sensors.
  sensor         Operations on physical or virtual sensors.
  sensor-script  Operations on sensor-script.

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

helium-commander-0.5.3.tar.gz (12.7 kB view hashes)

Uploaded Source

Built Distribution

helium_commander-0.5.3-py2-none-any.whl (20.6 kB view hashes)

Uploaded Python 2

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