Finds arbitrage in plane ticket prices
Project description
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
selenium
to work
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
flight_arbitrage-1.0.0.tar.gz
(22.1 kB
view details)
Built Distribution
File details
Details for the file flight_arbitrage-1.0.0.tar.gz
.
File metadata
- Download URL: flight_arbitrage-1.0.0.tar.gz
- Upload date:
- Size: 22.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.26.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac5497f69759887209590fed16b0e1981d204f8ec6227317c6046438d1b41e01 |
|
MD5 | 5ff59e6138c5e02b97db7c43946379b8 |
|
BLAKE2b-256 | 7b2ba5f411e60ecbcf6ad6da2993377d75429d41b003e62fbd5733014d61eecb |
File details
Details for the file flight_arbitrage-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: flight_arbitrage-1.0.0-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.26.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f14dc89a26e96db05d20f65565667727e3fac75ec668ca7d7b6465476dac30d |
|
MD5 | 10f3a2ca75c02c50baefac6a42300766 |
|
BLAKE2b-256 | de644b66730bc2f0bccb035dbe3233bdc02815a6c2595f407d65aa579d9df3a9 |