- Notifications
You must be signed in to change notification settings - Fork1
gcrbr/malatia
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Tool to disappear at low cost and under mysterious circumstances.
This program searchs for low-cost trips on different carriers from a predetermined departure location to designated locations or otherwise offered by the carrier.
The results are viewable through an interface made with HTML, CSS and basic JavaScript.
This simply displays the contents of thedata.json
file in a readable table format.
Ryanair | FlixBus | Italo | Volotea | Wizz Air | Trenitalia | Itabus | easyJet |
---|---|---|---|---|---|---|---|
✓ | ✓ | ✓ | ✓ | ✓ |
Note: Some carriers such asItabus,Trenitalia andItalo, are only available in Italy.
The required dependencies aredateutil
,requests
andcolorama
, you can install them with the following command:
pip install python-dateutil requests colorama
To start the program:
python main.py
To run and view the interface you can use the parameter-i
or--interface
:
python main.py -i
You can see the other options by using the parameter-h
or--help
.
NOTE: This feature is still in the testing phase.
Some carriers such asFlixbus andItabus support automatic destination finding for your config file.
python populate.py -c<departing city>
The generated config file is "raw", it must be manually corrected for correct functioning.
Within theconfig.json
file it is possible to change:
- The starting city from which to search for trips
- The supported cities
- The price cap for the trips
- The time delay between searches (in seconds)
It is important to make sure that the city selected as the departure supports all the carriers used.
In short - you need to verify that for the given city, all fields withinidentifiers
are properly filled.
(...)
Svein Kåre Gunnarson for theDotMatrix font
- LeafletJS: Map interface
- Waze: Geocoding
- Chart.js: Data charts