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.
Todo
-
Finish writing docs
-
Incorporate readthedocs
- Include automating doc updating
-
Use pre-commit
-
Fix code coverage upload to only ubuntu 3.9
-
Automate tag release process
-
Fix image links for PyPi
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-0.8.0.tar.gz
(22.0 kB
view hashes)
Built Distribution
Close
Hashes for flight_arbitrage-0.8.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d79c31db50d8b5128ed10e1d26330add445674acf35f78ffbe4af0e4261c282 |
|
MD5 | 94ba37c14746a5b05c2aef349e86060b |
|
BLAKE2b-256 | 6f7c96a37f8a26931f1b8cc6c468dbc60811e5f638aee7c55cd8c707085e3390 |