A web-based real time Nottingham tram information display
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
tramDisplay
tramSearch
.gitignore
readme.md
tram.py

readme.md

Serverless Tram Time Display

Realtime Tram Times for Nottingham

tram.py

Shows tram data on the command line

Prerequisites: colorama and requests - Install with pip

Usage: $python3 tram.py ATCOCode

You can find the ATCO code for your stop in ntm.csv

Example:

Example Output

tramDisplay

Needs to be deployed to AWS Lambda (or equivalent serverless infrastructure)

Prerequisites: requests module needs to be packaged along with the script.

tramSearch

Needs to be deployed to AWS Lambda (or equivalent serverless infrastructure)

Prerequisites: requests and mysql modules need to be packaged along with the script.

Configuration for database containing ATCO stop information needs to be provided in db_config.py

You can find further information about the development and deployment of these scripts at https://blog.rothe.uk/serverless-tram-time-display/