aboutsummaryrefslogtreecommitdiffstats
path: root/main.py
Commit message (Collapse)AuthorAgeFilesLines
* separate main logic, constants & helper functionsAlex Schofield2026-05-031-107/+8
|
* remove unused geopy importAlex Schofield2026-04-271-1/+0
|
* vectorise filter_df using haversine and bounding box pre-filterAlex Schofield2026-04-271-26/+44
|
* replace .get() with direct indexing in sort_stations()Alex Schofield2026-04-271-1/+1
|
* fix typo in raise statement in get_location()Alex Schofield2026-04-271-1/+1
|
* change last modified to last updatedAlex Schofield2026-04-271-1/+1
|
* return and exit in output_stations() if no stations found in radiusAlex Schofield2026-04-271-0/+3
|
* add raise to get_location() and exit in main()Alex Schofield2026-04-271-3/+7
|
* use built-in type annotation for tuple in get_latest_data()Alex Schofield2026-04-271-1/+1
|
* improve invalid sort arg message by adding choicesAlex Schofield2026-04-271-1/+1
|
* update data sanitation to not replace NaN with 0.00Alex Schofield2026-04-271-16/+11
|
* remove unused dedent importAlex Schofield2026-04-271-1/+0
|
* remove useless try-except block in get_latest_data()Alex Schofield2026-04-271-10/+9
|
* add user-agent header to request in get_latest_data()Alex Schofield2026-04-271-1/+5
|
* add type hints and error handling to get_latest_data()Alex Schofield2026-04-271-2/+7
|
* improve sort function to handle N/A fuel pricesAlex Schofield2026-04-271-2/+5
|
* tabulate stations output in output_stations()Alex Schofield2026-04-251-8/+14
|
* replace match-case with dict lookup in sort functionAlex Schofield2026-04-251-15/+11
|
* remove unused colorama importAlex Schofield2026-04-251-1/+0
|
* remove total stations outputAlex Schofield2026-04-241-2/+0
|
* refactor get_location() to use type hints and instance checksAlex Schofield2026-04-241-7/+6
|
* remove unnecessary importsAlex Schofield2026-04-241-4/+1
|
* encapsulate all logic into separate functionsAlex Schofield2026-04-241-54/+76
|
* wrap argument parsing in functionAlex Schofield2026-04-241-5/+9
|
* initial commitAlex Schofield2026-04-141-0/+91
git.ajschof.me — hosted by ajschofield — powered by cgit