gcrbr / malatia

Low-cost journey searcher in Europe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Malatìa

Interface Map

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 the data.json file in a readable table format.

Supported carriers

Ryanair FlixBus Italo Volotea Wizz Air Trenitalia Itabus easyJet

Note: Some carriers such as Itabus, Trenitalia and Italo, are only available in Italy.

Installation

The required dependencies are dateutil, requests and colorama, you can install them with the following command:

pip install python-dateutil requests colorama

Usage

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.

Configuration

Within the config.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 within identifiers are properly filled.

Known Issues

(...)

Credits

Svein Kåre Gunnarson for the DotMatrix font

Technologies used

  • LeafletJS: Map interface
  • Waze: Geocoding
  • Chart.js: Data charts

About

Low-cost journey searcher in Europe


Languages

Language:Python 69.4%Language:JavaScript 14.4%Language:HTML 9.5%Language:CSS 6.8%