Skip to content

A Darwin based python tool to track any passenger train on the UK network.

License

Notifications You must be signed in to change notification settings

hallsop/uk-train-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UK Train Tracker

A Darwin based python tool to track any passenger train on the UK network.

Pre-requisites

Rail Data

You will need to have a Rail Data Marketplace account. This is free but will require approval which can take up to a few days.

Once you have an account, you need to subscribe to the following data sources:

Once subscribed, you will need to populate the relevant environment variables, which are listed in .env.example. For the Darwin timetables, you will need to set up a GCP bucket for these to be transferred into periodically, which can be done in the rail data marketplace (Timetable->Data Files->File Transfers). Azure and AWS are also options, but are not yet implemented in this project.

Environment

  • Python environment details are outlined by pyproject.toml
  • For some examples, you will need to install the packages in the 'examples' dependency group

Examples

Examples of how to use the tracker are shown in examples. These can require additional environment variables to be set if using google sheets and/or whatsapp integrations.

About

A Darwin based python tool to track any passenger train on the UK network.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages