Skip to main content

Get station information and departures from public transport operators, and control virtual or physical departure boards.

Project description

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.

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

departure-1.0.1.tar.gz (1.2 MB view hashes)

Uploaded Source

Built Distribution

departure-1.0.1-py3-none-any.whl (1.2 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page