This supermarket management system is designed to simulate the operation of a supermarket including goods management and the interaction with customers.
Project description
533_project
Supermarket System Functions
1. Product Management (Sub-Package 1)
Module 1: Warehouse Management
- Description: Handles product management within the warehouse.
- Functions:
- Product Entry (
add_product()):- Inputs:
id,name,category,purchase_price,entry_date,quantity - Adds new products to the warehouse database with complete details.
- Inputs:
- Product Exit (
remove_product()):- Inputs:
id,quantity - Ensures stock availability before fulfilling product requests.
- Inputs:
- Inventory Display (
display()):- Output:
id,name,category,purchase_price,entry_date,quantity - Displays details of products in the warehouse, including stock levels and entry information.
- Output:
Module 2: Sales Management
- Description: Manages product movement and display on shelves.
- Functions:
-
New Product Shelving (
add_newproduct()):- Inputs:
id,quantity,sale_price - Moves products from the warehouse to the shelves and adjusts stock levels.
- Inputs:
-
Modify Sale Price (
change_price()):- Inputs:
id,new_price - Updates the price of shelved products.
- Inputs:
-
Adjust Shelf Quantity :
- Inputs:
id,quantity - Increases product quantities on shelves(
increase_quantity()). - Decreases product quantities on shelves(
decrease_quantity()).
- Inputs:
-
Products Display (
display_shelves()):- Inputs:
id,name,quantity,sales_price - Shows products currently available on shelves.
- Inputs:
2. Customer Management (Sub-Package 2)
Module 1: Purchase Management
- Description: Enables and manages customer shopping activities.
- Functions:
- Product Browsing (
display()):- Allows customers to view available products on shelves.
- Product Selection (
choose()):- Adds or removes items from the shopping cart.
- Records customer details (
name,sale_price,quantity,purchase_price).
- Checkout (
checkout()):- Processes and finalizes purchases, including:
- Calculating total and tax-inclusive amounts.
- Recording the transaction through
add_record(). - Reducing shelved product quantities.
- Processes and finalizes purchases, including:
Module 2: Records Management
- Description: Tracks customer purchases and generates insights.
- Functions:
- Add Record (
add_record()):
- Inputs:
id,items,total_price,profit,cal_quantity- Logs individual purchase transactions.
- Purchase History (
get_history()):- Retrieves a customer's shopping records.
- Customer Spending Insights (
get_total()):- Calculates total purchase counts and spending for each customer.
- Store Profit Analysis (
supermarket_situation()):- Analyzes total sales, profits, and identifies popular products.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file supermarket_system-0.1.0.tar.gz.
File metadata
- Download URL: supermarket_system-0.1.0.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9c2da648db473838d181b148c3ce57b5ccd3a81e068b72c6446ebce96907575
|
|
| MD5 |
f98155e6a85736edd7176bde72030b50
|
|
| BLAKE2b-256 |
2ea8c6e02125df6a4ecb79b7d53af16fe579f79b1975fb3739e15a57bcaa2fcd
|
File details
Details for the file supermarket_system-0.1.0-py3-none-any.whl.
File metadata
- Download URL: supermarket_system-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a51ce04a14ccdb784f98d4393267a081478b75310d00da4b2cc5066ab568c053
|
|
| MD5 |
e6420239a169956c51529eb8243ecf90
|
|
| BLAKE2b-256 |
eb10b94c6e32971e0340b812d567ff1826502bc7be830fca9e9574d3734109d8
|