Skip to main content

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

  1. Clone the project
  2. Navigate to the project folder
  3. Install requirements with pip install -r requirements.txt
  4. Run the src/main.py with Python3

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

neopolitan-0.1.5.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

neopolitan-0.1.5-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

Details for the file neopolitan-0.1.5.tar.gz.

File metadata

  • Download URL: neopolitan-0.1.5.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for neopolitan-0.1.5.tar.gz
Algorithm Hash digest
SHA256 eb076ecbc3d0ef5c5eba7d15e9d839ef8c7278c71b04f2ceed1d530244a5d62d
MD5 803d5467e2a3a75110e37292c7b6b9f3
BLAKE2b-256 36d4bf773ed51005bda11ea4e7cadce04a7e5421c4c6d86c11f66a77f74850ee

See more details on using hashes here.

File details

Details for the file neopolitan-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: neopolitan-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 18.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for neopolitan-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 086bd2e18dabf65f66d6d6f4cf10293a1bc712c440f09f35a27b11c4d288d441
MD5 1ae2b62efad46f99b7ee0ed53a7f9b02
BLAKE2b-256 54cc08bda536c3a2a54b37615b66709a0ff53354bbb949006919349f921606ab

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page