This is a simple Python Sales System project built with object-oriented programming.
It uses JSON for data storage and the Faker library to generate realistic fake sales entries.
β Generate fake sales entries
β Add a new sale
β List all sales with indexes
β Update a field of a sale record
β Delete a sale by index
β Search records by specific field
β Simple CLI menu (switch/case)
- Python 3.10+
- Faker library -> "https://github.com/joke2k/faker"
- JSON for simple storage
- Object-oriented principles
- Enum for safe field selection
- Clone the repository:
git clone https://github.com/thinkrcode/sales-system.git
- Install Requirements.txt:
pip install -r requirements.txt
- Run:
python main.py