A simple command-line inventory management system implemented in Python, using MySQL database for storage.
- Python 3.x
- MySQL server
git clone https://github.com/dyrok/Inventory-Management
##Configure the MySQL database connection in the script (main.py):
db = mariadb.connect(
host="localhost",
user="your-username",
password="your-password",
database="invproj"
)
mysql -u your-username -p
> CREATE DATABASE invproj;
> USE invproj;
python main.py
Follow the on-screen menu options to perform various actions such as adding products, modifying quantities, deleting products, and viewing the inventory. You can also plot a graph of the inventory by selecting the "Plot graph" option.
├── main.py # Main script file
└── README.md # Project documentation