Skip to content

Obtains flight data from PHX website and emails to a user periodically.

Notifications You must be signed in to change notification settings

Americana808/PHX-Flight-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

✈️ PHX Flight Data Scraper & Tracker

A Python-based web application that scrapes live flight data from Phoenix Sky Harbor International Airport (PHX) and displays it through a Flask-powered web interface. Includes optional automation for sending periodic flight updates via email to subscribed users.


Features

  • Live Data Scraping — Pulls current flight information from PHX airport’s public data.
  • Web Interface — Flask app with HTML/CSS front-end for easy viewing of flight details.
  • Optional Email Notifications — Automatically sends flight updates to subscribers. ()
  • Data Formatting — Cleans and formats scraped data for user-friendly display.
  • Customizable — Easily update scraping targets or display styles.

Technologies Used

  • Python
  • Flask — Web framework for serving data.
  • HTML / CSS — Front-end display.
  • Selenium — Data scraping & parsing.

Project Structure

PHX-Flight-data/
│── app.py               # Main Flask application
│── scraper.py           # Logic for scraping PHX flight data
│── templates/           # HTML templates for Flask
│── static/              # CSS and static assets
│── requirements.txt     # Python dependencies
│── README.md            # Project documentation

🚀 Getting Started

Clone the repository

git clone https://github.com/Americana808/PHX-Flight-data.git
cd PHX-Flight-data

Install dependencies

pip install -r requirements.txt

Run the application

python app.py

The app will start locally. Open your browser and go to:

http://127.0.0.1:5000

Optional Email Notifications

  • Feature is disabled by default
  • Users can enable it in the code if email notifications if they want to receive scheduled flight status updates
  • Configure your email server settings in app.py or a .env file.

Live Demo

mport6.pythonanywhere.com

Real-world usage:

This application is actively used at my current job at a Phoenix Sky Harbor International Airport kiosk to help monitor real-time flights and provide accurate travel information to customers. The system replaces manual checks, streamlining customer service and improving efficiency.


Contributing

Pull requests are welcome! If you find any bugs or want to suggest improvements, open an issue or submit a PR.


Author: Marco Portillo

About

Obtains flight data from PHX website and emails to a user periodically.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published