Skip to main content

Package that searches for the cheapest airplane flights per kilometer.

Project description


Command Line Interface (CLI) that searches for the cheapest airplane flights per kilometer.


pip install flight-optimizer

requires python >= 3.6


$ flight_optimizer --from paris --to "new york" --to londo --to moscow --all-destinations --explain-result


From Paris, Paris Orly:
To New York, John F. Kennedy International              $381 / 5834 km       = $0.07 per km
To London, Heathrow                                     $340 / 367 km        = $0.93 per km
To Moscow, Domodedovo International                     currently there is no any flights.

Explanation and suggestions:
City "londo" was misspelled. It was assumed as "London" in United Kingdom.
Maybe you meant next options: "East London" in South Africa, "Londolozi Private Game Reserve" in South Africa, "London" in Canada, "New London" in United States


  -f, --from TEXT         Departure City  [required]

  -t, --to TEXT           Destination City (can be multiple)  [required]

  -a, --all-destinations  Shows flights for every destination. 
                          (default - shows only the best destination)

  -e, --explain-result    If entered cities were misspelled, then it explains
                          what cities were searched and suggests correct city
                          name options


Developed by Erik Duisheev

Inspired by B12

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for test-flight-optimizer, version 0.0.10003b3
Filename, size File type Python version Upload date Hashes
Filename, size test_flight_optimizer-0.0.10003b3-py3-none-any.whl (9.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size test-flight-optimizer-0.0.10003b3.tar.gz (6.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page