Skip to main content

LED Wall Python Library

A simple but powerful python library to manipulate WS2812b LED panel. Panels cand be connected via USB cable or accessed via UDP. This library only supports Python 3 but is OS independent.

The library is intended to be used in conjunction with aa arduino or nodemcu tat controls a bunch of LEDs. Of course, you can write sketches to controll the LEDs directly in c using the arduino ide. But using python on a raspberry or some other computer will offer you more flexibility and speed in development. Also, you can leverage from wide range of existing python libraries. With just a few lines of code, you can integrate gamepads using the awesome inputs library.

For more information, examples, installation guides and the arduino/nodemcu sketches checkout my git repository.

Also an online documentation for the library is available on readthedocs <https://readthedocs.org>_.

Example script

The following script shows the basic usage of the library. I tried to keep things pythonic.

import ledwall.components as comp

# Create a new display instance. Using a SerialSender to
# send the color data to the arduino.
# Setting the desired framerate is 15
s = comp.SerialSender(portName='/dev/ttyACM0', baudrate=1000000)
d = comp.Display(16,32, s, framerate=15)

# Defining a few basic colors
red   = comp.RGBColor.fromIntValues(255,0,0)
green = comp.RGBColor.fromIntValues(0,255,0)

d.fill(green)
d.setPixel(0,3,red)
d.setPixel(14,23,red)

d.update()

Metadata

Release files for ledwall 1.0.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ledwall 1.0.12
File Size Uploaded Provenance Actions
ledwall-1.0.12.tar.gz 31.4 kB Without provenance Details for ledwall-1.0.12.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ledwall 1.0.12
File Interpreter ABI Platform Actions
ledwall-1.0.12-py3-none-any.whl Python 3 none any Details for ledwall-1.0.12-py3-none-any.whl

Total release size: 86.2 kB

Release files / ledwall-1.0.12.tar.gz

Download URL ledwall-1.0.12.tar.gz
Size 31.4 kB
Tags Source
SHA-256 checksum
How to use checksums
99460fcd05d1641f1570ba3b62702d2eb07d3f67a495e88dc52370ae6bf06813
BLAKE2b-256 checksum
How to use checksums
a13736f07aa7fed94afae12aafb32a5d6f094d6d45061b43aec8d23512d53e28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5rc1

Release files / ledwall-1.0.12-py3-none-any.whl

Download URL ledwall-1.0.12-py3-none-any.whl
Size 54.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e2071714ca8f4df2ed1625f2971965cbb0a1e4fe15f01f222055ac552692b43d
BLAKE2b-256 checksum
How to use checksums
f2862f57a343e1372c224b6fecb93cd9389e6f5fead525c29fcb967eccc8a0ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5rc1

Security for ledwall 1.0.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page