Skip to main content

Departure

This Python package provides a CLI, a web API server, and 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:

Departure information can be sent to a departure board server that supports the Departure protocol buffer message format.

As an illustration, the image below was created using the Python Departure board server running the Pygame back end.

Pygame virtual departure board - SNCF (FR) - Paris Montparnasse

The video clip below was made using a physical LED matrix board running the C++ Departure board server on a Raspberry Pi.

Departure board - National Rail (UK) - Victoria station

The official web front end provides a human-friendly way to interact with the web API server.

Departure web front end - SNCF Montparnasse

Documentation

See the Departure-Python documentation web page for complete instructions on how to use this Python package.

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.

Metadata

Release files for departure 1.0.1

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 1.0.1
File Size Uploaded
departure-1.0.1.tar.gz 1.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for departure 1.0.1
File Interpreter ABI Platform
departure-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 2.4 MB

Release files / departure-1.0.1.tar.gz

Download URL departure-1.0.1.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
47fdbe70b6e7a2e2ec40fd4d3dd39afce11ebfd71eb79c1ab2e671fed07bb942
BLAKE2b-256 checksum
How to use checksums
38de6f5e07665cdfa514bbe83699ecd845253deeb3ce7811d844bc47cffde3da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

Release files / departure-1.0.1-py3-none-any.whl

Download URL departure-1.0.1-py3-none-any.whl
Size 1.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
6e14ed2faa28f768d111b78d822dadf8ce78c381020930117d5d2706159d6c02
BLAKE2b-256 checksum
How to use checksums
f3a94f4a28f2ba05597853bae3083336b5df059cdf0b853c9251ada30684645d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

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