Customer Manager is a client management application developed in Python using Tkinter. It allows users to manage their client database through CRUD (Create, Read, Update, Delete) operations.
- Client Management: Easily add, modify, and delete clients.
- Graphical Interface: Access the application through an intuitive user interface or via the terminal.
- Unit Testing: Includes unit tests to ensure the application functions correctly.
To run Customer Manager, ensure you have Python 3 installed on your system. Then, clone this repository and navigate to the project directory.
git clone https://github.com/your_username/CustomerManager.git
cd CustomerManagerInstall the dependencies using the following command:
pip install -r requirements.txtOnce the installation is complete, you can start using Customer Manager. Choose between terminal mode or graphical user interface mode:
-
Terminal Mode: Use this mode for a text-based interaction.
python3 run.py -t
-
User Interface (UI): Launch the application with a graphical interface.
python3 run.py
To ensure everything is working correctly, you can run the unit tests using pytest. Execute the following command in the project directory:
pytest tests/└── 📁CustomerManager
├── 📁tests
│ ├── __init__.py
│ ├── clients_test.csv
│ └── test_database.py
├── clients.csv
├── config.py
├── database.py
├── helpers.py
├── menu.py
├── README.md
├── requirements.txt
├── run.py
└── ui.py