helium/helium-python

Name: helium-python

Owner: Helium

Description: A Python package for communicating with the Helium API

Created: 2016-08-04 02:07:53.0

Updated: 2018-02-15 00:13:38.0

Pushed: 2017-02-27 17:21:11.0

Homepage: null

Size: 1316

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

helium-python

Build Status Build status Coverage Status Code Climate Docs

helium-python is a Python package for building applications with the Helium API. Helium is an integrated platform of smart sensors, communication, edge-compute and API that enables numerous sensing applications. For more information about the underlying REST API, check out the complete Helium documentation.

Installation

Assuming you're using pip, add this line to your setup.py:

ires = ['helium-python']

or to your requirements.txt file:

um-python
Usage and Documentation

Please check out the helium-python documentation on Read the Docs for the latest examples and complete reference.

Development

In order to develop for helium-python you will need to install tox:

install tox

Since helium-python supports at least Python 2.7 and 3.5 you will need to have at least one of those installed on your development machine. The build automation will test all required versions when code is pushed to this repository.

Clone this repository and run:

x

This will install the required packages and run the tests for the library. Installing tox removes the need to install or use virtualenv since tox manages virtual environments already.

By default the tests will replay back previously recorded API interactions. To affect how tests interact with the Helium API you will have to

port HELIUM_API_KEY=<my api key>

We use flake8 to ensure we catch Python version differences and common pitfalls quicker. Please run:

x -e lint

before you commit code and try to remove as many warnings as you can. Once we figure out how strict some of the documentation requirements need to be we will be running lint as part of automation.

In order to develop documentation you can run::

x -e docs html

or to see your documentation changes live:

x -e docs livehtml

To make a release tag the repository with a valid semantic version version and push tags. The build automation will automatically build and push releases to PyPi.

Helium Documentation and Community Support

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.