Skip to main content

Departure board servers (Python)

Note: The primary board server is the Go board server, which drives the LED matrix on Raspberry Pi and provides a virtual "ASCII" display for development. The Python servers are used as virtual graphic board servers.

This package contains Python board server back ends for the departure library:

  • Pygame — virtual display, any platform,
  • SDL2 — virtual display, any platform,
  • LED matrix — physical board via Raspberry Pi and the Python bindings of the rpi-rgb-led-matrix project. Replaced by the Go board server; the package published on PyPI (1.0.0) is no longer updated, and doesn't work with the current version of departure.

All three back ends receive pixel content and animation instructions from the departure library over WebSocket (MessagePack wire format).

Installation

Pygame back end — on Debian-based Linux, install the system prerequisites first:

sudo apt-get install python3-dev libsdl-image1.2-dev libsdl-mixer1.2-dev \
    libsdl-ttf2.0-dev libsdl1.2-dev libsmpeg-dev python-numpy subversion \
    libportmidi-dev ffmpeg libswscale-dev libavformat-dev libavcodec-dev \
    libfreetype6-dev

Then install the package:

pip install departure-server-pygame

SDL2 back end — see PySDL2 prerequisites. Before starting the server, ensure that PYSDL2_DLL_PATH points to the directory containing the SDL2 library (SDL2.dll on Windows). Then install:

pip install departure-server-sdl

LED matrix back end — on a Raspberry Pi with compatible LED matrices (e.g. 3 × 64×32), install the rgbmatrix Python module, then:

pip install departure-server-led-matrix

Usage

Use the departure-server command to start a board server with a specific back end. Running it without arguments lists the available back ends:

departure-server

Once started, set DEPARTURE_BOARD_SERVER to the board server's hostname or IP address on the client side, then start the departure client.

About

Written by Sébastien Pujadas, released under the MIT license.

Metadata

Release files for departure-server-pygame 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for departure-server-pygame 2.0.0
File Size Uploaded Provenance Actions
departure_server_pygame-2.0.0.tar.gz 4.1 kB Without provenance Details for departure_server_pygame-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for departure-server-pygame 2.0.0
File Interpreter ABI Platform Actions
departure_server_pygame-2.0.0-py3-none-any.whl Python 3 none any Details for departure_server_pygame-2.0.0-py3-none-any.whl

Total release size: 8.7 kB

Release files / departure_server_pygame-2.0.0.tar.gz

Download URL departure_server_pygame-2.0.0.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f3ba21940c291656566396a60128723ebccd96b0ff7099cee9c7c1d2693d3a72
BLAKE2b-256 checksum
How to use checksums
7281f289775f8edc86ae2e453cdb14519cf4e431fe898a71a15b8e3a789d78d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.7

Release files / departure_server_pygame-2.0.0-py3-none-any.whl

Download URL departure_server_pygame-2.0.0-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
06f3feed19c14921b5238ad2d014b75a8c4e4c831d532728a033bb3cb9ae5fe4
BLAKE2b-256 checksum
How to use checksums
bfe78a23cb882d574e46019676c2d9029e91501f1d1f70458f436f5b3c944b51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.7

Security for departure-server-pygame 2.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page