Skip to content

About

Simple Python command-line application for managing parking-space availability.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Python Parking Management System

A simple command-line parking management application developed with Python.

The program simulates a parking lot with 50 spaces and allows users to view and manage the availability of each parking space.

Features

  • Display the status of all parking spaces
  • Occupy an available parking space
  • Free an occupied parking space
  • Find the first available parking space
  • Display the total number of available spaces
  • Validate parking space numbers
  • Handle invalid user input

Technologies Used

  • Python 3
  • Jupyter Notebook
  • Visual Studio Code

Project Structure

python-parking-management/
├── parking_management.ipynb
├── .gitignore
└── README.md

How It Works

The parking lot contains 50 spaces.

Each space is represented by one of the following values:

  • 0: available
  • 1: occupied

The application displays an interactive menu that allows the user to select an operation.

Running the Project

  1. Clone or download the repository.
  2. Open parking_management.ipynb with Jupyter Notebook or Visual Studio Code.
  3. Select a Python kernel.
  4. Run the notebook cells in order.
  5. Use the menu displayed in the final cell.

Available Options

1. Display the parking status
2. Occupy a parking space
3. Free a parking space
4. Find an available parking space
5. Display the number of available spaces
6. Quit

Possible Future Improvements

  • Store vehicle information
  • Save parking data in a file or database
  • Record vehicle entry and exit times
  • Calculate parking fees
  • Add a graphical user interface
  • Create different parking space categories
  • Add unit tests

Author

Ayoub Bernannou

Master's degree in Software Engineering and Intelligent Systems
Full-Stack Java and Angular Developer

About

Simple Python command-line application for managing parking-space availability.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages