Flight Arbtrage
This project adheres to Semantic Versioning
Install
pip install flight_arbitrage
Features
-
Parse plane tickets for arbitrage opportunities
-
Scrape websites in a headless browser mode
Examples
Common
from flight_arbitrage.hidden_city import OneWay
arbitrage = OneWay('JFK', 'SLC', '07/10/2021')
a = arbitrage.find_arbitrage(headless=True)
print(f'Is there an arbitrage opportunity: {len(a) > 0}')
for d in a:
print(d)
Change airport list to search
from flight_arbitrage.hidden_city import OneWay
arbitrage = OneWay('JFK', 'SLC', '07/10/2021')
a = arbitrage.find_arbitrage(headless=True,
override=True,
override_filename='custom_list.txt')
print(f'Is there an arbitrage opportunity: {len(a) > 0}')
for d in a:
print(d)
License
Flight Arbitrage is MIT licensed, as found in the LICENSE file.
Notes
- You may have to play around with getting
seleniumto work
Metadata
Release files for flight_arbitrage 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| flight_arbitrage-1.0.0.tar.gz | 22.1 kB | Without provenance | Details for flight_arbitrage-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| flight_arbitrage-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for flight_arbitrage-1.0.0-py3-none-any.whl |
Total release size: 29.5 kB
Release files / flight_arbitrage-1.0.0.tar.gz
| Download URL | flight_arbitrage-1.0.0.tar.gz |
|---|---|
| Size | 22.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ac5497f69759887209590fed16b0e1981d204f8ec6227317c6046438d1b41e01
|
|
BLAKE2b-256 checksum How to use checksums |
7b2ba5f411e60ecbcf6ad6da2993377d75429d41b003e62fbd5733014d61eecb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.26.0
|
Release files / flight_arbitrage-1.0.0-py3-none-any.whl
| Download URL | flight_arbitrage-1.0.0-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9f14dc89a26e96db05d20f65565667727e3fac75ec668ca7d7b6465476dac30d
|
|
BLAKE2b-256 checksum How to use checksums |
de644b66730bc2f0bccb035dbe3233bdc02815a6c2595f407d65aa579d9df3a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.26.0
|
Security for flight_arbitrage 1.0.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.