An open API service indexing awesome lists of open source software.

https://github.com/jambit/python-jambel

Interface to jambit's project traffic lights.
https://github.com/jambit/python-jambel

Last synced: about 1 year ago
JSON representation

Interface to jambit's project traffic lights.

Awesome Lists containing this project

README

          

python-jambel
=============

.. image:: https://travis-ci.org/jambit/python-jambel.svg?branch=master
:target: https://travis-ci.org/jambit/python-jambel

Interface to jambit's project traffic lights.

A simple example::

import jambel
light = jambel.Jambel('ampel3.dev.jambit.com')
light.green.on()
light.yellow.blink()
light.red.flash()

It is also possible to query the jambel's status::

status = light.status()
if stats[jambel.GREEN] == jambel.BLINK:
print('green light is blinking!')

Interested in the hardware? Contact us at fast-feedback-lights@jambit.com