Skip to main content

Interface to jambit's project traffic lights.

Project description

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

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 info@jambit.com

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

jambel-0.1.1.tar.gz (4.5 kB view hashes)

Uploaded Source

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