Get station information and departures from public transport operators, and control virtual or physical departure boards.
Project description
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:
- London Underground (UK),
- National Rail (UK),
- Nederlandse Spoorwegen (Netherlands)
- RATP (France),
- SNCF (France),
- Transilien (France).
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.
The video clip below was made using a physical LED matrix board running the C++ Departure board server on a Raspberry Pi.
The official web front end provides a human-friendly way to interact with the web API server.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47fdbe70b6e7a2e2ec40fd4d3dd39afce11ebfd71eb79c1ab2e671fed07bb942
|
|
| MD5 |
bb667530469c285a0498939ddc195460
|
|
| BLAKE2b-256 |
38de6f5e07665cdfa514bbe83699ecd845253deeb3ce7811d844bc47cffde3da
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e14ed2faa28f768d111b78d822dadf8ce78c381020930117d5d2706159d6c02
|
|
| MD5 |
cbb836e6fa7b2497d988d4e19bb05e00
|
|
| BLAKE2b-256 |
f3a94f4a28f2ba05597853bae3083336b5df059cdf0b853c9251ada30684645d
|