-
Clone the repository:
git clone https://github.com/dinopapaya/Cheapest-Flight-Finder---Project2---66.git cd Cheapest-Flight-Finder---Project2---66 -
Create and activate a virtual environment:
py -m venv .venv .venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Command-line usage:
You can inspect the cheapest fare between two airports directly from the terminal:
python main.py ABE PIE
-
Streamlit dashboard:
Launch the interactive dashboard to explore routes visually:
streamlit run app.py
Problem: Finding the cheapest flight itinerary to a given destination can be time-consuming and confusing due to the large number of airlines, fluctuating prices, and the variety of direct and multi-leg options available. This project automates the process by computing the most cost-effective flight route between two airports in the United States using real flight route data.
Motivation: Travelers often spend hours comparing prices across booking platforms. Our project simplifies this process by modeling flights as a weighted graph and applying shortest-path algorithms to find the optimal (minimum-cost) route. The goal is to provide an interactive, visual tool that helps users quickly understand the cheapest way to travel across the U.S.
Python: Core implementation of Dijkstra’s and Bellman-Ford algorithms for efficient shortest path computation. Used for visualization, data handling, and integration between backend logic and front-end interface.
Visuals: The system will visualize the algorithm’s pathfinding process and final results using Streamlit and Folium.
Siddharth: Designed and implemented the Python-based visualization interface using Streamlit and Folium. Also contributed to algorithm testing and integration between backend and frontend.
Anish: Focused on developing and debugging the graph algorithms (Dijkstra and Bellman-Ford) in Python, ensuring efficiency and correctness. Also assisted in data preprocessing and system testing.
All Airline Flight Routes in the US (Kaggle): https://www.kaggle.com/datasets/oleksiimartusiuk/all-airline-fight-routes-in-the-us