This release is a pre-release and may not be stable for production use.
Aurora Display Library for Python
Aurora Display Library is a small display library built on top of PIL/Pillow. It is intended to be used for building applications for LED/LCD displays, mostly targeted towards Raspberry Pis.
Origin
This library was created out of a project of mine where a Raspberry Pi would run an RGB LED matrix display. I noticed that I was constantly writing the same code over and over again. It also started to become more difficult to test apps since they always had to run on that Pi with the display connected. Thus, abstraction happened and the code of what now is "Aurora" was born.
Core Features
- Abstracted Render Targets
- Abstracted Input Sources
- Utility functions for:
- Loading and managing resources (like fonts, images or colors)
- Placing text in other orientations (center and right aligned)
Other than that, PIL/Pillow is used for rendering, therefore everything that PIL/Pillow supports is doable here as well.
Included in the box
- PyGame Renderer and Input Source for local development
- Null Renderer and Input Source for testing without in- or output
- Demo applications found under
aurora.demoapps
If your output can work with PIL/Pillow, it is fairly easy to implement a renderer to output the screen buffer to it.
Installation
PIP
pip3 install aurora-display-lib
From Source
git clone ${REPO}/aurora-display-lib && cd aurora-display-lib
python3 setup.py install
Contribution
I would be happy to receive pull/merge requests from you for improvements. Also feel free to report any renderers, input sources, etc. you've created so they can be linked here.
Release files for aurora-display-lib 1.0.0.dev20220104211509
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aurora-display-lib-1.0.0.dev20220104211509.tar.gz | 150.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aurora_display_lib-1.0.0.dev20220104211509-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 167.6 kB
Release files / aurora-display-lib-1.0.0.dev20220104211509.tar.gz
| Download URL | aurora-display-lib-1.0.0.dev20220104211509.tar.gz |
|---|---|
| Size | 150.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cac2d1954d73984a502f44514e806dc898cc001e77b711bb75591d54a51e1da2
|
|
BLAKE2b-256 checksum How to use checksums |
aa582cf7cf4a04290bdcd70fd07f79be4afda2dd458e65877f4c585ecf4054a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
|
Release files / aurora_display_lib-1.0.0.dev20220104211509-py3-none-any.whl
| Download URL | aurora_display_lib-1.0.0.dev20220104211509-py3-none-any.whl |
|---|---|
| Size | 17.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a561b1324cd63cd54e0e61113667dbec261e2382d2c75b55e4691224dafe276a
|
|
BLAKE2b-256 checksum How to use checksums |
f7fad8fa069eb16507296cd06fda74c27b71434d913a5f2f5526edc96a1c503d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
|