https://github.com/shgnplaatjies/gautraincostcalculator
A python CLI application that calculates your gautrain costs using the CSV downloadable from their website.
https://github.com/shgnplaatjies/gautraincostcalculator
python python-script
Last synced: about 1 month ago
JSON representation
A python CLI application that calculates your gautrain costs using the CSV downloadable from their website.
- Host: GitHub
- URL: https://github.com/shgnplaatjies/gautraincostcalculator
- Owner: shgnplaatjies
- License: mit
- Created: 2023-02-06T21:17:18.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-23T10:06:44.000Z (10 months ago)
- Last Synced: 2025-02-06T10:53:33.348Z (3 months ago)
- Topics: python, python-script
- Language: Python
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gautrain Cost Calculator
Calculating your Gautrain costs made simple. You must download your travel history from the [Gautrain website](https://www.gautrain.co.za/account/travelhistory) and run the Python script with a Python interpreter. The script will search and process all .csv files within the current directory, subtract the Gautrain rail user discount from your history, and output your total cost.
## Features
- Subtracts the Gautrain discount from your travel history csv
- Outputs your total cost## Limitations
Currently, the script only subtracts R14 reload charges from your history and ignores all other reloads. Gautrain CSV's don't distinguish between Rail-User Bus discounts and Card Reloads/Top-Ups, the discount is always R14. You have to name your file `data.csv`