Skip to content

An airline data management system for the Database module -- Department of Computer Science, University of Bath. Developed using Python GUI and database libraries: tkinter/sqlite3.

Notifications You must be signed in to change notification settings

shirleylin39/Airline_Database_System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Airline Database Management System (CRUD)

This is a Python-based application that offers an interactive interface for simulating the management of an airline database using CRUD (Create, Read, Update, Delete) operations. The application features a graphical user interface built with Tkinter, which is seamlessly connected to a Relational Database System (RDS) backend using SQLite. Watch the demonstration on Youtube.

Features

Relational Database System (RDS)

The program sets up an SQLite database with tables for flights, pilots, aircraft, and airports, using keys to relate the data. This structure ensures efficient management, maintains data integrity, and allows for easy updates and queries.

Graphical User Interface

A user-friendly interface powered by Tkinter allows users to interact with the airline database and visualise information easily.

  • Main interface Main Interface

  • Information visualisation and buttons to operate the database Flight Pilot Aircraft

CRUD Operations

The application supports standard database operations such as adding, viewing, editing, searching and deleting records related to flights, pilots, and aircraft through the GUI.

  • Search database search search_result

  • Add to database add add

  • Select existing data to delete/edit select delete edit editok

How to Run

Before running the Airline DBMS Simulator, ensure that you have Python 3.11 or above, as well as the Tkinter and SQLite3 libraries installed on your machine.

1. Installation

First, make sure you have Python 3.6 or above installed on your machine. You can check your Python version by running:

python --version

By default, Tkinter and SQLite3 come bundled with Python starting from version 3.1. If you're using a version of Python 3.6 or above, you should already have these libraries installed. However, if for any reason they are missing, you can install them manually using pip.

pip install tk
pip install pysqlite3

2. Running the Application

Once you have Python, Tkinter, and SQLite3 installed, you can run the application.

Clone or download this repository, navigate to the project directory, and run the application using:

python main.py

This will start the GUI where you can interact with the airline database.

About

An airline data management system for the Database module -- Department of Computer Science, University of Bath. Developed using Python GUI and database libraries: tkinter/sqlite3.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages