This Python package provides a CLI, a web API server, and a library to:
- get station information and departures from public transport operators,
- update a virtual or physical departure board with departure information for a station.
Departure has out-of-the-box support for the following operators:
- London Underground (UK),
- National Rail (UK),
- Nederlandse Spoorwegen (Netherlands),
- Île-de-France Mobilités (IDFM) (France),
- SNCF (France).
Departure information is sent to the Go board server over WebSocket (MessagePack wire format), which composites and animates the content at 30 FPS on a virtual display or a physical LED matrix.
The image below shows the content of a board, as displayed by the Go board server.
The video clip below was made using a physical LED matrix board on a Raspberry Pi.
The official web front end provides a human-friendly way to interact with the web API server.
About
Written by Sébastien Pujadas, released under the MIT license.
All product names, logos, and brands are property of their respective owners. All company, product and service names used in this project are for identification purposes only. Use of these names, logos, and brands does not imply endorsement.
The London Underground (TfL Tube) engine is powered by TfL Open Data. Contains OS data © Crown copyright and database rights 2016' and Geomni UK Map data © and database rights [2019].
The National Rail engine is powered by National Rail Enquiries. The built-in list of National Rail station codes was derived from https://www.nationalrail.co.uk/stations_destinations/48541.aspx.
The built-in list of Nederlandse Spoorwegen station codes was retrieved from Rijden de Treinen.
The SNCF engine uses the Réseau SNCF TGV, Intercités et TER dataset published on transport.data.gouv.fr, which is released under the ODbL (Open Database License).
Metadata
Release files for departure 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| departure-2.0.0.tar.gz | 315.1 kB | Without provenance | Details for departure-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| departure-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for departure-2.0.0-py3-none-any.whl |
Total release size: 666.2 kB
Release files / departure-2.0.0.tar.gz
| Download URL | departure-2.0.0.tar.gz |
|---|---|
| Size | 315.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5b6517f1d4b812b479117a2f53167701cebdb19ab23f51b24672b16cd0454996
|
|
BLAKE2b-256 checksum How to use checksums |
df5ca7b9e3b47df62c72b62a309a558fd5d58809ec7e3983cfc9d39cf9102262
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.7
|
Release files / departure-2.0.0-py3-none-any.whl
| Download URL | departure-2.0.0-py3-none-any.whl |
|---|---|
| Size | 351.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b65e968a2b834383e92992e93fe773c04830d4956fcf503d593a18564ffa5e6b
|
|
BLAKE2b-256 checksum How to use checksums |
06eae188d9bea447bf9adc91b92c49e0a240c3d674e1ac780a81729cfae43787
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.7
|
Security for departure 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.