Video Demo: https://youtu.be/2V-ulGiWffI?si=6YTChiLBzkmd7eA-
Gym Manager is a Python-based console application designed to help local gyms manage their members efficiently. The idea for this project came from observing my own gym, where staff still use paper to register members and track payments. This method is time-consuming, prone to errors, and makes it difficult to quickly find or update member information. Gym Manager automates these tasks and provides a simple, intuitive interface for gym managers to handle daily operations efficiently.
The program allows gym managers to:
- Add new members with automatic ID assignment.
- View all members in a neatly formatted table.
- Search for members by ID, name, or phone number.
- Update member information such as name, age, phone number, and payment dates.
- Delete members safely from the system.
- Check upcoming payments and highlight members whose payments are due soon.
project.py: The main program file containing all functions (main(),choices(),add_member(),show_members(),find_member(),update_member(),delete_member(), etc.) and the main menu logic.test_project.py: Contains test cases to verify that the main functionalities of the program work as expected.requirements.txt: Lists the external dependencies (coloramaandtabulate) needed for the program.README.md: Provides a detailed explanation of the project, its purpose, usage, and file structure.
- Console-based interface: Text-based menu keeps the program simple and focuses on functionality.
- Colorama and Tabulate:
coloramaadds colored output for readability, andtabulateformats member lists neatly in tables. - Automatic ID assignment: Prevents duplicate IDs and simplifies record-keeping.
- Search functionality: Users can search members by ID, name, or phone number for flexibility.
- Error handling: Validates inputs and prevents invalid entries, ensuring accurate data.
- Add a member: Enter member details, and the system automatically assigns a unique ID.
- View members: Displays all members in a clean table format.
- Search & update: Find a member and update details such as payment date or phone number.
- Check payments: Highlights members whose payments are due soon, helping the gym follow up efficiently.
- Install dependencies:
The project uses
coloramafor colored terminal text andtabulatefor formatted tables. You can install them via pip:pip install colorama tabulate
- Run the program:
python project.py
- Follow the menu: The main menu guides you through all available options, making it easy to manage members and track payments efficiently
Mohamed Abdallahi / Mohamed El Mokhtar, (nickname: Dallahi), Mauritania
GitHub: https://github.com/Dallahi-Ms