Skip to content

naufaya/CRUD-Data_Management

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“¦ Warehouse Data Management System

This is a mini Python-based application designed to manage warehouse inventory. The system allows users to Create, Read, Update, and Delete (CRUD) items in the warehouse. It is perfect for small to medium-sized warehouses to efficiently track their inventory.

✨ Features

  1. πŸ—‚οΈ View All Items: Displays a list of all items in the warehouse.
  2. πŸ” View Item by ID: View specific item details by entering its ID.
  3. βž• Add New Item: Add new items to the warehouse inventory.
  4. πŸ› οΈ Update Item: Update the details of existing items.
  5. πŸ—‘οΈ Delete Item: Remove items from the warehouse inventory.
  6. πŸšͺ Exit Program: Exit the application.

βš™οΈ How It Works

Initial Data

The program starts with a predefined list of items in the warehouse. Each item has the following attributes:

  • πŸ†” ID: A unique identifier for the item.
  • 🏷️ Name: The name of the item.
  • πŸ“¦ Quantity: The amount of the item in stock.
  • πŸ’° Price: The price of the item.
  • 🚚 Supplier: The item's supplier.
  • πŸ“ Category: The category of the item.

🏠 Main Menu

The main menu offers the following options:

  1. View All Items
  2. Add New Item
  3. Update Item
  4. Delete Item
  5. Exit Program

πŸ—‚οΈ View All Items

Displays a formatted list of all items in the warehouse.

πŸ” View Item by ID

Prompts the user to input an item ID and shows its details.

βž• Add New Item

Allows the user to add a new item by entering its details. The new item is added to the list if the ID is unique.

πŸ› οΈ Update Item

Prompts the user to enter an item ID to update its details. Users can select which attribute (name, quantity, price, supplier, or category) to update.

πŸ—‘οΈ Delete Item

Prompts the user to enter an item ID to delete it from the list.

πŸšͺ Exit Program

Ends the program.

πŸš€ How to Run the Program

  1. Ensure you have Python installed on your computer.
  2. Copy and paste the code into a Python file (e.g., warehouse_management.py).
  3. Open a terminal or command prompt.
  4. Navigate to the directory where the Python file is saved.
  5. Run the program by typing python warehouse_management.py and press Enter.
  6. Follow the on-screen instructions to interact with the warehouse management system.

This program provides a basic structure to manage warehouse data. It can be further developed and customized based on specific needs.


About

Final Exam Modul 1 - Python Fundamental

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages