Skip to main content

LED Sign Python API

Project description

LED Sign

This ledsign module allows the direct control and programming of the LED Sign series of devices using Python 3, or through a dedicated CLI interface. This module however does not allow for hardware-level configuration of the device, as any such modifications must be done through the dedicated UI interface.

The documentation is hosted on ReadTheDocs, accessible through this link.

Installation

The ledsign is available for easy download via PyPI. It can be installed with pip:

$ pip install ledsign

Alternatively, development versions can be installed directly from the GitHub repository:

$ git clone https://github.com/krzem5/ledsign
$ cd ledsign
$ pip install -e .

CLI Interface

Outside of the programmatic interface outlined in the Documentation, the ledsign module also features a command-line interface, accessible through the Python executable:

$ python -m ledsign -h
Usage: ledsign [options]

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -d DEVICE_PATH|DEVICE_INDEX, --device=DEVICE_PATH|DEVICE_INDEX
                        open device at DEVICE_PATH, or the device at index
                        DEVICE_INDEX (leave empty to use default device path)
  -e, --enumerate       enumerate all available devices
  -x, --enumerate-only  enumerate all available devices and exit (implies
                        --enumerate)
  -i, --print-info      print device hardware information
  -c, --print-config    print device configuration
  -p, --print-driver    print driver stats
  -s PROGRAM, --save=PROGRAM
                        save current program into PROGRAM
  -u PROGRAM, --upload=PROGRAM
                        upload file PROGRAM to the device (requires read-write
                        mode)
  -z, --start-proxy-server
                        start a proxy server (required to communicate with the
                        device)

Proxy server

Due to issues with how Windows handles USB connections, a proxy server is required to bridge the gap between the system-level device handles and the UI/ledsign module. This proxy server can be started using the following command:

$ python -m ledsign -z
Proxy server running on port 9100, hit 'Enter' to stop...

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

ledsign-0.8.2.tar.gz (27.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ledsign-0.8.2-py3-none-any.whl (29.9 kB view details)

Uploaded Python 3

File details

Details for the file ledsign-0.8.2.tar.gz.

File metadata

  • Download URL: ledsign-0.8.2.tar.gz
  • Upload date:
  • Size: 27.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ledsign-0.8.2.tar.gz
Algorithm Hash digest
SHA256 900b3b4b8485cf4697d94664cf6e44e3f892fc805a944a8a5260cd7e9433ae62
MD5 75d3402940b79eb8e3010e85e6acea59
BLAKE2b-256 2f9ac1eded902b5447afccb0a1aaee5db33065e0a6095cb0b2880d9d4230a181

See more details on using hashes here.

Provenance

The following attestation bundles were made for ledsign-0.8.2.tar.gz:

Publisher: publish.yml on krzem5/ledsign

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ledsign-0.8.2-py3-none-any.whl.

File metadata

  • Download URL: ledsign-0.8.2-py3-none-any.whl
  • Upload date:
  • Size: 29.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ledsign-0.8.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b5f78dbbe7c4ec3bf475b6174819703672d9cd65c4325c96bbf5bd3b1d188f89
MD5 26d50f452699e76478af92efe69e31ca
BLAKE2b-256 74b7591db0f74875e2482bf0cfd378d4fc0a7b31e71bab4bad971cc1392a1cff

See more details on using hashes here.

Provenance

The following attestation bundles were made for ledsign-0.8.2-py3-none-any.whl:

Publisher: publish.yml on krzem5/ledsign

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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