semvec/pypi-packages huggingface dataset:
supermarket-system 0.1.0
This supermarket management system is designed to simulate the operation of a supermarket including goods management and the interaction with customers.
Requires Python: >=3.6

# 533_project
# Supermarket System Functions

---

## 1. Product Management (Sub-Package 1)
### **Module 1: Warehouse Management**
- **Description:** Handles product management within the warehouse.
- **Functions:**
 1. **Product Entry (`add_product()`):**
    - **Inputs:** `id`, `name`, `category`, `purchase_price`, `entry_date`, `quantity`
    - Adds new products to the warehouse database with complete details.
 2. **Product Exit (`remove_product()`):**
    - **Inputs:** `id`, `quantity`
    - Ensures stock availability before fulfilling product requests.
 3. **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.

### **Module 2: Sales Management**
- **Description:** Manages product movement and display on shelves.
- **Functions:**
 1. **New Product Shelving (`add_newproduct()`):**
    - **Inputs:** `id`, `quantity`, `sale_price`
    - Moves products from the warehouse to the shelves and adjusts stock levels.
 2. **Modify Sale Price (`change_price()`):**
    - **Inputs:** `id`, `new_price`
    - Updates the price of shelved products.

 3. **Adjust Shelf Quantity :**
    - **Inputs:** `id`, `quantity`
    - Increases product quantities on shelves( `increase_quantity()`).
    - Decreases product quantities on shelves(`decrease_quantity()`).

 4. **Products Display (`display_shelves()`):**
    - **Inputs:** `id`, `name`, `quantity`, `sales_price`
    - Shows products currently available on shelves.

---

## 2. Customer Management (Sub-Package 2)
### **Module 1: Purchase Management**
- **Description:** Enables and manages customer shopping activities.
- **Functions:**
 1. **Product Browsing (`display()`):**
    - Allows customers to view available products on shelves.
 2. **Product Selection (`choose()`):**
    - Adds or removes items from the shopping cart.
    - Records customer details (`name`, `sale_price`, `quantity`, `purchase_price`).
 3. **Checkout (`checkout()`):**
    - Processes and finalizes purchases, including:
      - Calculating total and tax-inclusive amounts.
      - Recording the transaction through `add_record()`.
      - Reducing shelved product quantities.

### **Module 2: Records Management**
- **Description:** Tracks customer purchases and generates insights.
- **Functions:**
 1. **Add Record (`add_record()`):**
   - **Inputs:** `id`, `items`, `total_price`, `profit`, `cal_quantity`
    - Logs individual purchase transactions.
 2. **Purchase History (`get_history()`):**
    - Retrieves a customer's shopping records.
 3. **Customer Spending Insights (`get_total()`):**
    - Calculates total purchase counts and spending for each customer.
 4. **Store Profit Analysis (`supermarket_situation()`):**
    - Analyzes total sales, profits, and identifies popular products.
HockeyPackage 0.0.1
A package for hockey stats
Requires Python: >=3.6

# Data533_Assignment Hockey Package

We will create a database system to manage data from the last five NHL seasons. The main package will contain three types of databases:
1.	Team Statistics: Data on games played, wins, losses, points, etc.
2.	Goalie Statistics: Data on games played, wins, saves, etc.
3.	Skater Statisitics: Data on goals, assists, position, etc.

Additionally, there will be two subpackages:

## Subpackage 1: teamstats
***basic Module:*** Displays the basic stats for the teams given a year from the user
1. LoadData - Loads and return the correct data for the given year
2. BasicStats - Allows the user to retrieve a stat for a specific team and year (RK, GP, W, L, OT, PTS, PTS/GP, ROW, GF, GA, GD)
3. AdvancedStats - Allows the user to retrieve PTS/GP, GF/GP and GA/GP for a specific team and year

***toplists Module:*** Generate lists for the top teams, players with the most assists, and most goals
1. TopTeams - Allows the user to choose an NHL season, and show the teams with the most points from that year
2. TopAssists - Allows the user to choose an NHL season, and show the players with most assists from that year
3. TopGoals - Allows the user to choose an NHL season, and displays the players with the most goals from that year

## Subpackage 2: player
***player Module:*** Allows for the creation of a player class to retrieve player data.
1. load_data - Loads and return the correct data for the given year
2. get_player_data - Loads and return the correct data for the given player within the year
   
***skater Module:*** Allows for the creation of a skater class to retrieve skater data - subclass of player.
1. load_data - Loads and return the correct data for the given year - calls from player parent class
2. basic_stats - Allows the user to retrieve basic stats for a skater in the chosen year (team, position, goals, points)
3. advanced_stats - Allows the user to retrieve advanced stats for a skater in the chosen year (Corsi percentage, Fenwick percentage)
   
***goalie Module:*** Allows for the creation of a skater class to retrieve goalie data - subclass of player.
1. load_data - Loads and return the correct data for the given year - calls from player parent class
2. basic_stats - Allows the user to retrieve basic stats for a goalie in the chosen year (team, wins, games played, save percentage)
3. advanced_stats - Allows the user to retrieve advanced stats for a goalie in the chosen year (goals against average, shutouts, total number of saves)



***TravisCI Badge***
[![Build Status](https://app.travis-ci.com/stev7198/Data533_Assignment.svg?token=2jTmhrmhivmbSbeqqtUe&branch=main)](https://app.travis-ci.com/stev7198/Data533_Assignment)