Skip to main content

flight-optimizer

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

Installation:

pip install flight-optimizer

requires python >= 3.6

Usage:

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

Output:

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

Options:

  -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

Credits

Developed by Erik Duisheev

Inspired by B12

Metadata

Release files for flight-optimizer 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flight-optimizer 0.2.0
File Size Uploaded Provenance Actions
flight-optimizer-0.2.0.tar.gz 7.1 kB Without provenance Details for flight-optimizer-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for flight-optimizer 0.2.0
File Interpreter ABI Platform Actions
flight_optimizer-0.2.0-py3-none-any.whl Python 3 none any Details for flight_optimizer-0.2.0-py3-none-any.whl

Total release size: 16.6 kB

Release files / flight-optimizer-0.2.0.tar.gz

Download URL flight-optimizer-0.2.0.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
28eb3bac9871e26c1c0cdc260c61cec6cb252bdedceafad78e04e926b0379a58
BLAKE2b-256 checksum
How to use checksums
ee717a56ba766f9e87448f3e2beb6639a934c94cda968b474dabd3f6c82c7e9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

Release files / flight_optimizer-0.2.0-py3-none-any.whl

Download URL flight_optimizer-0.2.0-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ec1420bf119e0c2db71e8f91d64eb613c41d635346efff7494acade3742a7382
BLAKE2b-256 checksum
How to use checksums
2d70191258bfb1b4bb70c61e59491f65160a1505ba952a4b8d095261b91273aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

Security for flight-optimizer 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page