Inventory Management Library
A simple Python library for managing an inventory of parts, allowing users to add, delete, change descriptions, and update prices of parts efficiently.
Features
- Add Part: Easily add new parts to the inventory with unique part numbers, descriptions, and prices.
- Delete Part: Remove existing parts from the inventory by specifying their part numbers.
- Change Description: Modify the description of a part in the inventory using its part number.
- Change Price: Update the price of a part in the inventory by specifying its part number.
Installation
You can install the library via pip:
pip install inventory-management-library
Usage
from inventory_management_library import Inventory
# Initialize an inventory
inventory = Inventory()
# Add a part
inventory.add_part("P001", "Widget A", 10.99)
# Delete a part
inventory.delete_part("P001")
# Change description
inventory.change_description("P002", "Updated Widget B")
# Change price
inventory.change_price("P002", 15.99)
# Get all parts
all_parts = inventory.get_all_parts()
for part in all_parts:
print(f"Part Number: {part.get_part_number()}, Part Description: {part.get_part_description()}, Price: {part.get_price()}")
License
This project is licensed under the MIT License - see the LICENSE file for details.
Authors
- Jomar C. Geron
- Pyarwin Jake E. Janoras
- 3CS-A
Metadata
Release files for Programming-Language-Final-Project 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Programming_Language_Final_Project-0.1-py3-none-any.whl | Python 3 | none | any | Details for Programming_Language_Final_Project-0.1-py3-none-any.whl |
Release files / Programming_Language_Final_Project-0.1-py3-none-any.whl
| Download URL | Programming_Language_Final_Project-0.1-py3-none-any.whl |
|---|---|
| Size | 2.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4e411b261c30f96c80910b133d4d68506f6114012806932795b4301514d5f367
|
|
BLAKE2b-256 checksum How to use checksums |
d758087cbf0ae060f858eb76f280814c16c00dd6cdbd381d390fba56b44c4311
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.3
|
Security for Programming-Language-Final-Project 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.