Skip to main content

Library for communicating with an AnimatedLEDStrip server

Project description

Build Status PyPI codecov

AnimatedLEDStrip Client Library for Python

This library allows a Python 3 client to communicate with an AnimatedLEDStrip server.

Adding the Library to a Project

The library is available via pip:

pip3 install animatedledstrip-client

Creating an AnimationSender

An ALSHttpClient is created with ALSHttpClient(ip_address).

from animatedledstrip import ALSHttpClient

sender = ALSHttpClient('10.0.0.254')

Communicating with the Server

This library follows the conventions laid out for AnimatedLEDStrip client libraries, with the following modifications:

  • Function names and class variables are in snake case to follow Python style conventions
  • get_supported_animations_dict is provided as an alias for get_supported_animations_map
  • get_sections_dict is provided as an alias for get_sections_map

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

animatedledstrip_client-1.1.0.tar.gz (10.6 kB view hashes)

Uploaded Source

Built Distribution

animatedledstrip_client-1.1.0-py3-none-any.whl (26.6 kB view hashes)

Uploaded Python 3

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