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-sdl 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-sdl 2.0.0
File Size Uploaded Provenance Actions
departure_server_sdl-2.0.0.tar.gz 6.1 kB Without provenance Details for departure_server_sdl-2.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 13.1 kB

Release files / departure_server_sdl-2.0.0.tar.gz

Download URL departure_server_sdl-2.0.0.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
43c365d8d608cad8c61f874bcbaff979cb2442ab945ce3078e3623bef25f1d96
BLAKE2b-256 checksum
How to use checksums
023f9e1edc7983e37c6704565a707587cca9bd5ac214b78088e988da51ae7450
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_sdl-2.0.0-py3-none-any.whl

Download URL departure_server_sdl-2.0.0-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ea8e9ecd40f0e426c762aa1e22f15df42ad3ff79d87cb07abeb1d941f2af5047
BLAKE2b-256 checksum
How to use checksums
c559648b67d88810c5d6147c724f2387471921b81ba8a5d992084bb9481dbbc7
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-sdl 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