Neopolitan: a library for displaying text on LED boards
Project description
neopolitan
A library for displaying "text" on LED boards
Description
This is a revamp of stockticker, which queries real-time stock price data, calculates daily fluctuations, and displays it on an LED board. While the end result of that project was cool, this project aims to clarify much of the data display code and make it usable to display any inputted message. See this sub-readme for an introduction to how data can be used to make the board display "human-readable".
Given that access to hardware boards can be constrictive and testing can be difficult, this project aims to support data display on a graphical interface so that anyone can access it. pygame
is used to display the graphical display, while the neopixel
(hence the project name) library [will be] is used to interface with the hardware board.
Installation and Usage
- Clone the project
- Navigate to the project folder
- Install requirements with
pip install -r requirements.txt
- Run the
src/main.py
withPython3
Command Line Arguments
python[3] src/main.py {args}
--message {message_to_display}
/-m {message_to_display}
- Displays the given message on the board (enclose in quotes if multiple words)
--graphical {True/False}
/-g {True/False}
- Switches between the graphical output and hardware board output not yet functional
--scroll-speed {slow/medium/fast}
/-s {slow/medium/fast}
- Controls how quickly the display scrolls across the screen
--wrap {True/False}
/-w {True/False}
- Determines whether the display should "wrap around" when it gets to the end, or just show a blank screen
todo: command line examples (w/ vids?)
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 neopolitan-0.1.10.tar.gz
.
File metadata
- Download URL: neopolitan-0.1.10.tar.gz
- Upload date:
- Size: 17.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb8e38da1a0583d684036f129878c0467b24875b7d7d77d0c9978c9668632e9a |
|
MD5 | ded66a0d124a50642b1fb60c5cdbccb2 |
|
BLAKE2b-256 | 70b732ac9946427e75fd51a6c11c660e1fc70932656bbd9549a3d393ee2bf96c |
File details
Details for the file neopolitan-0.1.10-py3-none-any.whl
.
File metadata
- Download URL: neopolitan-0.1.10-py3-none-any.whl
- Upload date:
- Size: 20.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c2cdca3b98c6a349958409f3cfc50ff477a08122be5e041920d58eb9986f902 |
|
MD5 | 0ea62c609d46abdd5fe812746f68c889 |
|
BLAKE2b-256 | 44dac1821326cf4c2c47f1cd6fdb7be6897172177b3f6fc737252deec5e17c91 |