Package: luma.led-matrix
luma.core|luma.docs|luma.emulator|luma.examples|luma.lcd|luma.led_matrix|luma.oledLuma.LED_MatrixDisplay drivers for MAX7219, WS2812, APA102Python 3 library interfacing LED matrix displays with the MAX7219 driver (using
SPI), WS2812 (NeoPixels, inc Pimoroni Unicorn pHat/Hat and Unicorn Hat HD) and
APA102 (DotStar) on the Raspberry Pi and other Linux-based single board computers
- it provides aPillow-compatible drawing
canvas, and other functionality to support:multiple cascaded devicesLED matrix, seven-segment and NeoPixel variantsscrolling/panning capability,terminal-style printing,state management,dithering to monochrome,pygame emulator,Python 3.7 and newer are supportedDocumentationFull documentation with installation instructions and examples can be found onhttps://luma-led-matrix.readthedocs.io.A LED matrix can be acquired for a few pounds from outlets
likeBanggood.
Likewise 7-segment displays are available fromAli-ExpressorEbay.LicenseThe MIT License (MIT)Copyright (c) 2013-2023 Richard Hull & ContributorsPermission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.ContributingPull requests (code changes / documentation / typos / feature requests / setup)
are gladly accepted. If you are intending some large-scale changes, please get
in touch first to make sure we’re on the same page: try and include a docstring
for any new methods, and try and keep method bodies small, readable and
PEP8-compliant.GitHubThe source code is available to clone at:http://github.com/rm-hull/luma.led_matrixContributorsThijs Triemstra (@thijstriemstra)Jon Carlos (@webmonger)Unattributed (@wkapga)Taras (@tarasius)Brice Parent (@agripo)Thomas De Keulenaer (@twdkeule)Tero Korpela (@terokorp)Qinkang Huang (@pokebox)Shawn Woodford (@swoodford)Phil Howard (@gadgetoid)Petr Kracík (@petrkr)Emlyn Corrin (@emlyn)Bram Verboom (@bramverb)Thanassis Tsiodras (@ttsiodras)ChangeLogVersionDescriptionDate1.7.1Documentation fixes2023/10/051.7.0Drop support for Python 3.6Switch to implicit namespace package configurationluma.core 2.4.0 or newer is required now2022/10/191.6.1Trigger publish on github actions2022/01/091.6.0Remove redundantws2812package2022/01/031.5.0Drop support for Python 2.7, only 3.5 or newer is supported now2020/07/041.4.1Makecontrastan optional constructor argument2019/12/081.4.0Rework namespace handling for luma sub-projects2019/06/161.3.1Fix alpha-channel blending for Unicorn Hat HD display2019/05/261.3.0Add support for Pimoroni’s Unicorn Hat HD2019/05/261.2.0Add option to control if 8x8 blocks are arranged in reverse orderAdd (approximations of) more characters for 7-segment displaDocumentation updates2019/04/201.1.1Fix unicode warning2018/09/261.1.0Add degree symbol to segment mapper charmap2018/09/181.0.8Use DMA channel 10 (rather than ch. 5) for WS2812 NeoPixels2018/01/231.0.7Useextras_requireinsetup.pyfor ARM dependencies2017/11/261.0.6Version number available asluma.led_matrix.__version__now2017/11/231.0.5Conditionally install WS2812 packages if Linux/ARM7L only2017/10/221.0.4Make wheel universalMinor documentation fixes2017/10/221.0.3Explicitly state ‘UTF-8’ encoding in setup when reading files2017/10/181.0.2Setup fails due to programmer not understanding basic Python …2017/08/051.0.1Setup on Python 3 fails due to hyphen in package name2017/08/051.0.0Stable release (remove all deprecated methods & parameters)2017/07/300.11.1Add Python3 compatibility for neopixels/neosegments2017/07/290.11.0Alternative WS2812 low level implementationAdd support for @msurguy’s modular NeoSegments2017/07/210.10.1Add block_orientation=180 option2017/05/010.10.0BREAKING CHANGE:Move sevensegment class toluma.core.virtualpackage2017/04/220.9.0Add support for APA102 RGB neopixels2017/03/300.8.0Change MAX7219’s block_orientation to support ±90° angle correctionDeprecate “vertical” and “horizontal” block_orientation2017/03/190.7.0BREAKING CHANGE:Move sevensegment class toluma.led_matrix.virtualpackageDocumentation updates & corrections2017/03/040.6.2Allow MAX7219 and NeoPixel driver constructors to accept any args2017/03/020.6.1Restrict exported Python symbols fromluma.led_matrix.device2017/03/020.6.0Add support for arbitrary MxN matrices rather than a single chain2017/02/220.5.3Huge performance improvements for cascaded MAX7219 devicesDocumentation updates2017/02/210.5.2Add apostrophe representation to seven-segment displayDeprecateluma.led_matrix.legacy(moved toluma.core.legacy)2017/02/190.4.4Support both common-row anode and common-row cathode LED matrices2017/02/020.4.3Add translation mapping to accomodate Pimoroni’s 8x8 Unicorn HATMAX7219 optimizations2017/01/290.4.2Fix bug in neopixel initializationImproved demo scriptsAdditional tests2017/01/270.4.0Add support for WS2812 NeoPixel strips/arrays2017/01/230.3.3Fix for dot muncher: not handling full-stop at line endDocumentation updates2017/01/210.3.2Replace bytearray withmutable_stringimplementationMore tests2017/01/200.3.1Python 3 compatibility (fix exception in bytearray creation)Begin to add tests & test infrastructure2017/01/200.3.0BREAKING CHANGE:Package rename toluma.led_matrix2017/01/190.2.3Bit-bang version using wiringPi2013/01/28