The Smart Parking System is a Python project that leverages MySQL to manage and store data related to a smart parking system. The system efficiently handles parking space allocation, occupancy tracking, and user management.
- User Management: Register and manage users with their parking preferences.
- Parking Space Allocation: Dynamically allocate parking spaces based on user preferences and availability.
- Occupancy Tracking: Monitor and track the occupancy status of parking spaces in real-time.
- MySQL Database Integration: Utilizes MySQL as the backend database to store and retrieve data.
- Python 3.x
- MySQL server installed and running
-
Clone the repository:
git clone https://github.com/your-username/smart-parking-system.git
-
Navigate to the project directory:
cd smart-parking-system
-
Install dependencies:
pip install -r requirements.txt
-
Set up MySQL Database:
- Create a MySQL database and update the
config.py
file with your database credentials.
# config.py DB_HOST = 'your_mysql_host' DB_USER = 'your_mysql_user' DB_PASSWORD = 'your_mysql_password' DB_NAME = 'your_database_name'
- Create a MySQL database and update the
-
Run the application:
python main.py
- Register users and their parking preferences.
- Allocate parking spaces based on user preferences and availability.
- Monitor real-time occupancy status.
- Update user information and parking allocations.
Contributions are welcome! If you have any suggestions or improvements, please submit a pull request.