Inventory Management System Documentation
The Inventory Management System is a Python-based application that helps manage stock efficiently. It allows users to add, update, delete, search, and export inventory records while providing alerts for low stock levels.
- Add Items – Insert new items into the inventory.
- Update Items – Modify existing item details.
- Delete Items – Remove items from inventory.
- View Inventory – Display all items with quantities, prices, and total values.
- Search for Items – Find specific items in the inventory.
- Restock Alerts – Notify users when item quantities fall below a defined threshold.
- Calculate Total Inventory Value – Compute the overall worth of stock.
- Export to CSV – Save inventory records to a CSV file.
- Users are prompted to enter an item name, quantity, and price per unit.
- The system ensures duplicate items are not added.
- The item is stored in the inventory dictionary.
- Users can modify the quantity and price of an existing item.
- The system checks for the item's existence before allowing updates.
- Users enter the item name to remove it from inventory.
- The system verifies whether the item exists before deletion.
- Displays all stored items, their quantities, unit prices, and total worth.
- If inventory is empty, a notification is displayed.
- Allows users to find an item by name and view its details.
- If the item is not found, a notification is provided.
- Items with a quantity less than or equal to 5 are flagged.
- A list of such items is displayed.
- Computes and displays the total monetary value of all stored items.
- Saves inventory records to a CSV file with item name, quantity, price per unit, and total amount.
- If the inventory is empty, an appropriate message is displayed.
- Invalid Inputs: Ensures numerical values are entered for quantity and price.
- Item Existence Checks: Prevents duplicate additions and ensures updates/deletions are valid.
- Run the script using
python inventory.py
- Follow the menu prompts to perform inventory operations.
- Exit the application by selecting option
9
.
This system provides an easy-to-use solution for managing inventory efficiently, ensuring stock levels are maintained and properly recorded.
(Open Source Project for Hacktoberfest2024)