{"id":16541040,"url":"https://github.com/spujadas/departure-python","last_synced_at":"2025-06-11T03:07:46.035Z","repository":{"id":62567648,"uuid":"301084660","full_name":"spujadas/departure-python","owner":"spujadas","description":"CLI, web API server, and Python library, to get departure information from public transport operators, and to update a virtual or physical departure board with this information.","archived":false,"fork":false,"pushed_at":"2020-11-11T17:26:35.000Z","size":3180,"stargazers_count":9,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-01T15:23:33.702Z","etag":null,"topics":["cli","departure-board","london-underground","national-rail","nederlandse-spoorwegen","python","ratp","sncf","transilien","web-api"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spujadas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-04T09:06:22.000Z","updated_at":"2023-08-03T14:17:23.000Z","dependencies_parsed_at":"2022-11-03T20:45:57.363Z","dependency_job_id":null,"html_url":"https://github.com/spujadas/departure-python","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spujadas%2Fdeparture-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spujadas%2Fdeparture-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spujadas%2Fdeparture-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spujadas%2Fdeparture-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spujadas","download_url":"https://codeload.github.com/spujadas/departure-python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238663193,"owners_count":19509751,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","departure-board","london-underground","national-rail","nederlandse-spoorwegen","python","ratp","sncf","transilien","web-api"],"created_at":"2024-10-11T18:53:56.822Z","updated_at":"2025-02-13T13:34:53.099Z","avatar_url":"https://github.com/spujadas.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Departure](https://user-images.githubusercontent.com/930566/95666191-9da79d00-0b57-11eb-9059-afe446d07ed9.png)\n\nThis Python package provides a CLI, a web API server, and library, to:\n\n- get station information and departures from public transport operators,\n- update a virtual or physical departure board with departure information for a station.\n\nDeparture has out-of-the-box support for the following operators:\n\n- [London Underground](https://tfl.gov.uk/modes/tube/) (UK),\n- [National Rail](https://www.nationalrail.co.uk/) (UK),\n- [Nederlandse Spoorwegen](https://www.ns.nl/) (Netherlands)\n- [RATP](https://www.ratp.fr/) (France),\n- [SNCF](https://www.sncf.com/) (France),\n- [Transilien](https://www.transilien.com/) (France).\n\nDeparture information can be sent to a departure board server that supports the [Departure protocol buffer message format](https://github.com/spujadas/departure-proto).\n\nAs an illustration, the image below was created using the [Python Departure board server](https://github.com/spujadas/departure-board-servers-python) running the Pygame back end.\n\n![Pygame virtual departure board - SNCF (FR) - Paris Montparnasse](https://user-images.githubusercontent.com/930566/95666195-a13b2400-0b57-11eb-841d-c56e0ecbd704.gif)\n\nThe video clip below was made using a physical LED matrix board running the [C++ Departure board server](https://github.com/spujadas/departure-board-servers-cpp) on a Raspberry Pi.\n\n![Departure board - National Rail (UK) - Victoria station](https://user-images.githubusercontent.com/930566/95666193-9e403380-0b57-11eb-8edf-2c4be0fe5af5.gif)\n\nThe [official web front end](https://github.com/spujadas/departure-front-end) provides a human-friendly way to interact with the web API server.\n\n![Departure web front end - SNCF Montparnasse](https://user-images.githubusercontent.com/930566/97785001-d65cf400-1ba2-11eb-8882-67284742c22c.gif)\n\n### Documentation\n\nSee the [Departure-Python documentation web page](http://departure-python.readthedocs.io/) for complete instructions on how to use this Python package.\n\n\n\n### About\n\nWritten by [Sébastien Pujadas](https://pujadas.net/), released under the [MIT license](https://github.com/spujadas/departure-python/blob/master/LICENSE).\n\nAll 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.\n\nThe 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].\n\nThe National Rail engine is powered by [National Rail Enquiries](https://www.nationalrail.co.uk/). The built-in list of National Rail station codes was derived from https://www.nationalrail.co.uk/stations_destinations/48541.aspx.\n\nThe built-in list of Nederlandse Spoorwegen station codes was retrieved from [Rijden de Treinen](https://www.rijdendetreinen.nl/over/open-data).\n\nThe built-in WSDL file used to access RATP's real-time web service was extracted from [RATP's API development kit](https://data.ratp.fr/page/temps-reel/).\n\nThe built-in list of SNCF stations (used by the SNCF and Transilien engines) was obtained from the [Gares de voyageurs](https://ressources.data.sncf.com/explore/dataset/referentiel-gares-voyageurs) dataset, which is released under the [ODbL (Open Database License)](https://data.sncf.com/pages/cgu/A1#A1).\n\nThe built-in list of Transilien stations and stops was obtained from the [Gares et points d'arrêt du réseau Transilien](https://ressources.data.sncf.com/explore/dataset/sncf-gares-et-arrets-transilien-ile-de-france/) dataset, which is released under the [ODbL (Open Database License)](https://data.sncf.com/pages/cgu/A1#A1).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspujadas%2Fdeparture-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspujadas%2Fdeparture-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspujadas%2Fdeparture-python/lists"}