mrrothe / Realtime-Tram-Display

A web-based real time Nottingham tram information display

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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/

About

A web-based real time Nottingham tram information display


Languages

Language:Python 100.0%