Skip to content

winux125/itpfinal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inventory Management System

A Python-based inventory management system created for the final programming project.

Features

  • Object-Oriented Design: Uses classes and inheritance (User -> Admin/Customer) to model data.
  • Data Persistence: Saves and loads data using JSON.
  • Efficient Data Structures: Uses dictionaries for O(1) product lookups.
  • Advanced Python Features: Includes decorators (for authorization), generators (for memory-efficient reporting), lambda/filter (for searching), and regular expressions (for login validation).

Setup & Running

  1. Make sure you have Python 3 installed.
  2. Run the application from the root directory:
    python main.py

Default Logins

  • Admin: Username: admin | Password: password123
  • Customer: Username: customer | Password: password

Team Members

  • [Add Team Member Names Here]

Structure

  • models/: Contains the data classes (Product, User, Admin, Customer).
  • services/: Contains the business logic managers (InventoryManager, UserManager).
  • utils/: Contains helpers for files and decorators.
  • tests/: Contains unittest unit tests.

Running Tests

To run unit tests, execute the following from the root directory:

python -m unittest discover -s tests

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages