A component library to support SBC display drivers
Project description
luma.core | luma.docs | luma.emulator | luma.examples | luma.lcd | luma.led_matrix | luma.oled
luma.core
luma.core is a component library providing a Pillow-compatible drawing canvas for Python 3, and other functionality to support drawing primitives and text-rendering capabilities for small displays on the Raspberry Pi and other single board computers:
scrolling/panning capability,
terminal-style printing,
state management,
color/greyscale (where supported),
dithering to monochrome,
sprite animation,
flexible framebuffering (depending on device capabilities)
Documentation
API documentation can be found at https://luma-core.readthedocs.io/en/latest/
Drivers
Device drivers extend luma.core to provide the correct initialization sequences for specific physical display devices/chipsets.
There are several drivers for different classes of device available:
Emulators
There are emulators that run in real-time (with pygame) and others that can take screenshots, or assemble animated GIFs, as per the examples below. Source code for these are available in the examples directory of the luma.examples repository.
License
The MIT License (MIT)
Copyright (c) 2017-2022 Richard Hull and contributors
Permission 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.
Contributing
Pull requests (code changes / documentation / typos / feature requests / setup) are gladly accepted. If you are intending to introduce some large-scale changes, please get in touch first to make sure we’re on the same page: try to include a docstring for any new method or class, and keep method bodies small, readable and PEP8-compliant. Add tests and strive to keep the code coverage levels high.
GitHub
The source code is available to clone at: https://github.com/rm-hull/luma.core
Contributors
Thijs Triemstra (@thijstriemstra)
Christoph Handel (@fragfutter)
@Boeeerb
@xes
Roger Dahl (@rogerdahl)
Václav Šmilauer (@eudoxos)
Claus Bjerre (@bjerrep)
@bkntrx
@7754359337
@theraspydev
@vortigont
Maarten Los (@mlos)
Jonathan Pereira (@jonathanrjpereira)
Daniel Smullen (@drspangle)
Hans Liss (@hansliss)
Phil Howard (@gadgetoid)
Manuel Baesler (@baslr)
Dhrone (@dhrone)
@jakiee3y
Matthew Lovell (@mattblovell)
Tiago F. Pimentel (@antropoiese)
Maciej Sokolowski (@matemaciek)
Jason Kingsbury (@relvacode)
Jason Gaunt (@jasongaunt)
ChangeLog
Version |
Description |
Date |
---|---|---|
2.4.2 |
|
2024/01/30 |
2.4.1 |
|
2023/09/01 |
2.4.0 |
|
2022/10/16 |
2.3.2 |
|
2021/09/25 |
2.3.1 |
|
2021/03/08 |
2.3.0 |
|
2021/03/08 |
2.2.0 |
|
2020/12/11 |
2.1.0 |
|
2020/11/30 |
2.0.2 |
|
2020/11/26 |
2.0.1 |
|
2020/11/06 |
2.0.0 |
|
2020/11/02 |
1.17.3 |
|
2020/10/24 |
1.17.2 |
|
2020/10/11 |
1.17.1 |
|
2020/09/26 |
1.17.0 |
|
2020/09/25 |
1.16.2 |
|
2020/09/20 |
1.16.1 |
|
2020/08/29 |
1.16.0 |
|
2020/08/27 |
1.15.0 |
|
2020/08/10 |
1.14.1 |
|
2020/07/26 |
1.14.0 |
|
2020/04/07 |
1.13.0 |
|
2020/01/12 |
1.12.0 |
|
2019/06/15 |
1.11.0 |
|
2019/06/02 |
1.10.1 |
|
2019/05/25 |
1.10.0 |
|
2019/05/23 |
1.9.0 |
|
2019/05/10 |
1.8.3 |
|
2019/01/07 |
1.8.2 |
|
2018/11/05 |
1.8.1 |
|
2018/09/18 |
1.8.0 |
|
2018/09/04 |
1.7.2 |
|
2018/03/29 |
1.7.1 |
|
2018/03/22 |
1.7.0 |
|
2018/03/21 |
1.6.0 |
|
2018/02/21 |
1.5.0 |
|
2018/02/06 |
1.4.0 |
|
2018/01/29 |
1.3.0 |
|
2018/01/02 |
1.2.1 |
|
2017/11/26 |
1.2.0 |
|
2017/11/23 |
1.1.1 |
|
2017/11/23 |
1.1.0 |
|
2017/10/28 |
1.0.3 |
|
2017/10/18 |
1.0.2 |
|
2017/09/15 |
1.0.1 |
|
2017/09/04 |
1.0.0 |
|
2017/07/29 |
0.9.5 |
|
2017/07/06 |
0.9.4 |
|
2017/07/01 |
0.9.3 |
|
2017/06/25 |
0.9.2 |
|
2017/06/19 |
0.9.1 |
|
2017/05/01 |
0.9.0 |
|
2017/04/22 |
0.8.1 |
|
2017/04/14 |
0.8.0 |
|
2017/04/14 |
0.7.5 |
|
2017/04/09 |
0.7.4 |
|
2017/04/09 |
0.7.3 |
|
2017/04/07 |
0.7.2 |
|
2017/04/07 |
0.7.1 |
|
2017/04/06 |
0.7.0 |
|
2017/03/27 |
0.6.2 |
|
2017/03/19 |
0.6.1 |
|
2017/03/13 |
0.6.0 |
|
2017/03/13 |
0.5.4 |
|
2017/03/08 |
0.5.3 |
|
2017/03/08 |
0.5.2 |
|
2017/03/08 |
0.5.1 |
|
2017/03/05 |
0.5.0 |
|
2017/03/05 |
0.4.4 |
|
2017/03/02 |
0.4.3 |
|
2017/03/02 |
0.4.2 |
|
2017/02/28 |
0.4.1 |
|
2017/02/27 |
0.4.0 |
|
2017/02/27 |
0.3.2 |
|
2017/02/24 |
0.3.1 |
|
2017/02/19 |
0.2.0 |
|
2017/02/17 |
0.1.15 |
|
2017/02/11 |
0.1.14 |
|
2017/02/03 |
0.1.13 |
|
2017/01/23 |
0.1.12 |
|
2017/01/21 |
0.1.11 |
|
2017/01/20 |
0.1.3 |
|
2017/01/19 |
0.1.2 |
|
2017/01/10 |
0.1.0 |
|
2017/01/10 |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file luma.core-2.4.2.tar.gz
.
File metadata
- Download URL: luma.core-2.4.2.tar.gz
- Upload date:
- Size: 102.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 963c264164d4374f549d57db09599e0ca458cea1bd05e16939897619be4e6dbd |
|
MD5 | 6e15a3fc0140a6119968629b19f1eb1f |
|
BLAKE2b-256 | 64fe026b50adfedf0d6bef583f8b005ad7e75b6501c973fad77a871d020fb63f |
File details
Details for the file luma.core-2.4.2-py2.py3-none-any.whl
.
File metadata
- Download URL: luma.core-2.4.2-py2.py3-none-any.whl
- Upload date:
- Size: 70.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5eccbbdfde4b8cd9113d1bd355be6a29041c0b2e7f56e1873a4eed356e9fc582 |
|
MD5 | 086c21f280cfeae38f9cd5ea2c643f35 |
|
BLAKE2b-256 | 6ed0f4022b3f17dec1bee5920526b4f2b7850ac2b70cc3420231bd498a828c6b |