Skip to content

Talha-Aslam/Inventory-Management-with-python

Repository files navigation

πŸ“¦ Inventory Management System

Python Tkinter SQLite License

A comprehensive inventory management system built with Python, featuring a modern GUI interface and robust database management capabilities.

Features β€’ Installation β€’ Usage β€’ Screenshots β€’ Contributing


🌟 Features

πŸ” Secure Authentication

  • Login System: Secure user authentication with username and password validation
  • Admin Access: Protected administrative interface with credential verification
  • Error Handling: Comprehensive input validation and user feedback

πŸ“Š Inventory Management

  • Real-time Inventory View: Display all items with ID, product name, quantity, and price
  • Advanced Search: Real-time search functionality to filter products by name
  • Data Persistence: All data stored securely in SQLite database

✏️ Product Operations

  • Add Products: Easily add new items to inventory with detailed information
  • Update Products: Modify existing product details including name, quantity, and price
  • Delete Products: Remove individual items or clear entire inventory
  • Bulk Operations: Remove all items with confirmation dialog for safety

πŸ” Smart Search & Filter

  • Live Search: Real-time filtering as you type
  • Name-based Search: Quickly find products by name
  • Instant Results: Immediate visual feedback during search operations

πŸ“ Notes Management

  • Built-in Notepad: Integrated text editor for notes and reminders
  • File Operations: Save and load notes from external files
  • Persistent Storage: Notes automatically saved to notes.txt

πŸ”„ System Updates

  • Version Control: Built-in update checker and version information
  • Developer Info: Contact information and software details
  • Help System: Comprehensive usage instructions and tooltips

πŸ› οΈ Technical Stack

Component Technology Purpose
Frontend Tkinter Cross-platform GUI framework
Backend Python 3.7+ Core application logic
Database SQLite3 Lightweight, embedded database
GUI Components Treeview, Frames, Buttons Interactive user interface

πŸ“‹ Prerequisites

Before running this application, ensure you have:

  • Python 3.7 or higher installed on your system
  • Tkinter (usually comes pre-installed with Python)
  • SQLite3 (included with Python standard library)

πŸš€ Installation

Option 1: Quick Start

# Clone the repository
git clone https://github.com/Talha-Aslam/Inventory-Management-with-python.git

# Navigate to project directory
cd Inventory-Management-with-python

# Run the application
python login_page.py

Option 2: Download ZIP

  1. Download the ZIP file from the repository
  2. Extract to your desired location
  3. Navigate to the extracted folder
  4. Run python login_page.py

🎯 Usage

πŸ”‘ Login Credentials

Username: admin
Password: 55555

πŸ“± Main Features

1. Inventory View

  • View all products in a structured table format
  • Real-time search functionality
  • Scrollable interface for large inventories

2. Edit Mode

  • Add Items: Fill in product details and click "Add"
  • Update Items: Select item β†’ "Select" β†’ Modify β†’ "Update"
  • Delete Items: Select item β†’ "Select" β†’ "Remove Selected"
  • Clear All: "Remove All" (with confirmation)

3. Notes Feature

  • Write and save notes for inventory management
  • Persistent storage across sessions
  • Simple text editor interface

4. Help System

  • Click "How to use?" for detailed instructions
  • Step-by-step guidance for all operations

πŸ“Έ Screenshots

Login Interface

Secure authentication with modern design

Main Dashboard

Clean, intuitive inventory management interface

Edit Operations

Comprehensive CRUD operations with user-friendly controls


πŸ—„οΈ Database Schema

CREATE TABLE customers (
    name TEXT,        -- Product name
    quantity INTEGER, -- Stock quantity
    price INTEGER     -- Price per unit
);

πŸ”§ Configuration

Default Settings

  • Database File: tree_crm.db (auto-created)
  • Notes File: notes.txt (auto-created)
  • Window Size: 1280x830 (main), 900x600 (login)

Customization Options

  • Modify colors in the source code
  • Adjust window dimensions
  • Change database table structure
  • Customize authentication credentials

πŸ—οΈ Project Structure

Inventory-Management-with-python/
β”œβ”€β”€ πŸ“„ login_page.py          # Main application file
β”œβ”€β”€ πŸ—„οΈ tree_crm.db           # SQLite database (auto-generated)
β”œβ”€β”€ πŸ“ notes.txt             # Notes storage file
β”œβ”€β”€ πŸ–ΌοΈ tut.png               # Background image
β”œβ”€β”€ πŸ–ΌοΈ man.png               # User icon
β”œβ”€β”€ 🎯 sculpture_statue...ico # Application icon
└── πŸ“– README.md             # This file

🀝 Contributing

We welcome contributions! Here's how you can help:

How to Contribute

  1. 🍴 Fork the repository
  2. 🌿 Create a feature branch (git checkout -b feature/AmazingFeature)
  3. πŸ’» Commit your changes (git commit -m 'Add some AmazingFeature')
  4. πŸ“€ Push to the branch (git push origin feature/AmazingFeature)
  5. πŸ”„ Open a Pull Request

Areas for Improvement

  • 🎨 UI/UX enhancements
  • πŸ”’ Advanced security features
  • πŸ“Š Reporting and analytics
  • 🌐 Multi-user support
  • πŸ“± Mobile responsiveness
  • πŸ”Œ API integration

πŸ› Known Issues & Solutions

Issue Solution
Database not found Application auto-creates database on first run
Login issues Ensure correct credentials (admin/55555)
Display problems Check Python/Tkinter installation

πŸ“ˆ Future Enhancements

  • πŸ” Multi-user authentication system
  • πŸ“Š Advanced reporting and analytics
  • πŸ“± Export functionality (PDF, Excel)
  • πŸ”„ Backup and restore features
  • 🌐 Web-based interface
  • πŸ“ˆ Dashboard with charts and graphs
  • 🏷️ Product categories and tags
  • πŸ“§ Email notifications for low stock

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


πŸ‘¨β€πŸ’» Developer

Talha Aslam


πŸ™ Acknowledgments

  • Python Software Foundation for Python
  • Tkinter development team for the GUI framework
  • SQLite team for the embedded database
  • All contributors and users of this project

πŸ“ž Support

If you encounter any issues or have questions:

  1. πŸ“š Check the documentation above
  2. πŸ” Search through existing issues
  3. πŸ†• Create a new issue with detailed description
  4. πŸ“§ Contact the developer directly

⭐ If you find this project helpful, please give it a star! ⭐

Built with ❀️ using Python and Tkinter

About

This is the simple inventory management software in which u can add, delete and perform other operations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages