0% found this document useful (0 votes)
23 views17 pages

CS Project Final - Merged

Uploaded by

keshpab120
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
23 views17 pages

CS Project Final - Merged

Uploaded by

keshpab120
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 17

VELAMMAL VIDHYASHRAM

SURAPET

COMPUTER SCIENCE PROJECT

Topic: INVENTORY MANAGEMENT

NAME: MOHAMED ASHIK M


CLASS: 12A3
ROLL NUMBER:

SSCE 2024 - 2025


CERTIFICATE

This is to certify that this COMPUTER SCIENCE Project on the topic,

“INVENTORY MANAGEMENT” has been successfully completed by MOHAMED ASHIK M

of class 12A3, Roll.no ....................... at Velammal Vidhyashram, Surapet, for

the partial fulfilment of Computer Science Practical examination conducted by

Senior School Certificate Examination-CBSE, New Delhi for the academic Year 2024-
2025.

Date: …………………….

Signature of Principal Teacher incharge

Signature of the Signature of the


Internal Examiner External Examiner
ACKNOWLEDGEMENT

Apart from the efforts taken by me, the success of the project depends largely on
the encouragement and guidelines of many others. I take this opportunity to express my
gratitude to the people who have been instrumental in the successful completion of this
project.

I express deep sense of gratitude to almighty God for giving me the strength to
complete the project successfully.

I express my heartfelt gratitude to my parents for the constant encouragement


while carrying out this project.

I express my deep sense of gratitude to the luminary, the Principal of Velammal


Vidhyashram, who has been continuously motivating and extending a helping hand to
us.

My sincere thanks to Ms. Shanthi a guide, mentor, above all a friend, who critically
reviewed my project and guided me during the implementation of the project.

The guidance and support received from all the members who contributed, was
vital for the success of the project. I am grateful for their constant support and help.

Signature of the Student


Table of Content
S.NO CONTENT PgNO
1 Abstract 1

2 System Configuration 1

3 Introduction 2

4 Objective of the Project 2

5 Proposed System 3

6 Libraries and Functions Used 4

7 Mysql Queries used in the 5


Project
8 Source Code 6-8

9 Output 9-10

10 Conclusion 12-13

11 Bibliography 13
ABSTRACT:
The "Inventory Management System" is designed to manage and track inventory
levels, orders, and deliveries in a business. This project uses Python as the front-
end interface and MySQL as the back-end database to store and manage inventory
data. It aims to automate inventory tracking and make it more efficient.

SYSTEM CONFIGURATION:
Hardware Requirements:
 Processor: Intel i3 or higher
 RAM: 4GB or higher
 Storage: 100MB free disk space

Software Requirements:
 Python 3.x
 MySQL 8.0 or higher
 MySQL Connector (Python library)
 IDE: PyCharm, VSCode, or any text editor
 OS: Windows/Linux/MacOS

Page | 1
Inventory Management System

INRODUCTION:

An Inventory Management System helps in managing stock, tracking product


levels, and processing sales. In this project, Python is integrated with MySQL to
create a user-friendly and efficient system for keeping track of items in stock, their
quantity, and their sales status. This system will provide real-time updates about
inventory, which is crucial for businesses.

OBJECTIVE OF THE PROJECT:

The objective of this project is to let the students apply the programming knowledge
into a real-world situation/problem and exposed the students how programming
skills in developing a good software.

This project mainly focuses on,

 To design a software system that efficiently manages the stock of items in a


warehouse or store.
 To allow easy addition, updating, removal and logging of items from the
inventory.
 To provide an interface that displays the current stock level and helps in
making purchase and sale decisions.
 To perform CRUD (Create, Read, Update, Delete) operations on inventory
data.
 To view and generate inventory statistics for stocks.

Page | 2
PROPOSED SYSTEM:
The proposed system is an "Inventory Management System" that utilizes Python as
the programming interface and MySQL as the database backend. This system
allows users to manage inventory efficiently by performing key operations such as
adding new products, viewing current stock, updating existing product details, and
deleting discontinued products. The system ensures that all data related to
inventory is stored securely in the MySQL database, while Python provides the
necessary functions to interact with and manipulate this data.

Key features of the system include:

 Add Products: Users can add new products along with details like name,
quantity, and price.
 View Inventory: Real-time information about all products and their stock
levels can be retrieved and displayed.
 Update Products: Modify product details such as quantity or price when
needed.
 Delete Products: Remove products that are no longer available or relevant.
 View Statistics: User can generate statistics, including total products, total
stock, and the most stocked product.
 Export Transaction Logs: Exports the transaction history to a CSV file for
reporting.

By integrating Python with MySQL, the system provides a streamlined and


automated solution for tracking inventory, reducing manual errors, and enhancing
efficiency in managing stock.

Page | 3
LIBRARIES AND FUNCTIONS USED:
Libraries:
1. Mysql.connector: MySQL.connector/python enables python program to
access MySQL databases, using an API that is compliant with the python
database API specification v2.0(PEP 249). It is written in pure python and does
not have any dependencies except python standard library.

2. CSV: (Comma Separated Values) is a simple file format used to store tabular
data, such as a spreadsheet or database. A CSV file stores tabular data
(numbers and text) in plain text. Each line of the file is a data record. Each
record consists of one or more fields, separated by commas. The use of the
comma as a field separator is the source of the name for this file format. For
working CSV files in Python, there is an inbuilt module called CSV.

Key Functions:
 connect_db(): Establishes the connection with MySQL.
 user_login():Enables user to log in with credentials.
 add_product(): Adds new products to the inventory.
 view_inventory(): Displays current products and their stock levels.
 update_product(): Updates the details of an existing product.
 log_transaction():A transaction system that logs all purchases and sales with
a timestamp.
 view_transactions():Displays the transaction history.
 export_transactions_to_csv():Exports the transaction history to a CSV file
for reporting.
 generate_inventory_statistics():generate statistics, including total products,
total stock, and the most stocked product.
 delete_product(): Removes a product from the inventory.
 close_db(): Closes the database connection.

Page | 4
MYSQL QUERIES USED IN THE PROGRAM:

Page | 5
SOURCE CODE:

Page | 6
Page | 7
Page | 8
OUTPUT:

Python Output:

Page | 9
Page | 10
MYSQL TABLE:

TABLE DESCRIPTION:

Page | 11
CONCLUSION:

The Inventory Management System developed in this project effectively


demonstrates how Python, MySQL, and various supporting libraries can be
integrated to create a functional, real-world application. This system provides
essential features for inventory management, including product management,
categorization, transaction logging, low stock alerts, and generating reports.

By using Python as the primary programming language and MySQL for database
management, the project illustrates how backend and frontend components can
work together to handle complex data operations. The additional functionalities
such as user authentication, exporting data to CSV, and inventory statistics have
enhanced the usability and practical value of the system.

The system was developed under the CBSE Grade 12 syllabus guidelines,
adhering to fundamental principles of software development, such as modularity,
scalability, and real-time database interaction. This project also highlights the
importance of data integrity and security by incorporating user authentication and
input validation.

Page | 12
From an academic standpoint, the project serves as a comprehensive example of
applying theoretical concepts learned in the syllabus, such as database
management, data handling, Python-MySQL integration, and structured
query language (SQL) operations. Practically, the system could be further
extended to include features like cloud database integration, a graphical user
interface (GUI), or deployment on a web server, paving the way for real-world
application in business environments.

In conclusion, the Inventory Management System is a versatile and scalable project


that not only meets the requirements of the academic curriculum but also provides
a solid foundation for further exploration into the fields of software development,
database management, and data analytics. This project can be an invaluable tool
for businesses that require efficient inventory tracking and reporting solutions.

BIBILOGRAPHY:

 Computer science with python by SUMITA ARORA


 https://stackoverflow.com
 https://www.geeksforgeeks.org
 https://openai.com

Page | 13

You might also like