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.1.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.1-py3-none-any.whl (29.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ledsign-0.8.1.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.1.tar.gz
Algorithm Hash digest
SHA256 630d6c3cc5cd3771dec632998449888a1f694f874ea3d46060909c6aedb5a733
MD5 f381bb147f5a0970f568c9817ca3c7ae
BLAKE2b-256 ff0f992e9d21cfdcd0d0e838d4afb7f81026a61f0c3ae9569462350a0ac96b2f

See more details on using hashes here.

Provenance

The following attestation bundles were made for ledsign-0.8.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: ledsign-0.8.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 286f74c9429ae59afd5b1e0ee65da3d06ed6a6bdb97584bf64a90bedb805f8ca
MD5 61b1b3aa7f4a7ab8ecb9b6edd5b7fbb8
BLAKE2b-256 12a87ab43a65d83cbb984c94a980f2be736a491743e8d48221d7406576c84a12

See more details on using hashes here.

Provenance

The following attestation bundles were made for ledsign-0.8.1-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