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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file departure-1.0.1.tar.gz.

File metadata

  • Download URL: departure-1.0.1.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for departure-1.0.1.tar.gz
Algorithm Hash digest
SHA256 47fdbe70b6e7a2e2ec40fd4d3dd39afce11ebfd71eb79c1ab2e671fed07bb942
MD5 bb667530469c285a0498939ddc195460
BLAKE2b-256 38de6f5e07665cdfa514bbe83699ecd845253deeb3ce7811d844bc47cffde3da

See more details on using hashes here.

File details

Details for the file departure-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: departure-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for departure-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6e14ed2faa28f768d111b78d822dadf8ce78c381020930117d5d2706159d6c02
MD5 cbb836e6fa7b2497d988d4e19bb05e00
BLAKE2b-256 f3a94f4a28f2ba05597853bae3083336b5df059cdf0b853c9251ada30684645d

See more details on using hashes here.

Supported by

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