Giter Club home page Giter Club logo

book-management-system-with-database-and-simple-ui---using-tkinter-and-sqlite3-in-python's Introduction

Book-Management-System-with-Database-and-Simple-UI---using-Tkinter-and-SQLite3-in-Python

INTRODUCTION


The mini project ‘Book Management system’ is a sample project for managing book details. The project aims at developing a book management system using the Python language that enables an organization to maintain its book library.
The project demonstrates the creation of a Graphical User Interface of the system, using the Tkinter Graphics library of Python.
The application uses basic Python functions to generate menu options, title boxes, input message boxes, list and print text on the screen.
To fetch information from the user and to perform various tasks on that information based on the command option selected, various functions have been created.
The application uses tuples, data structure to display the result of all the operations that are to be performed on the data.

PROBLEM STATEMENT


We have constructed a database using a book management system. This database consists of details about books: book names, author of the book and the issue number(which can’t be changed).
The management system is providing the user or member of an organization to perform the basic operation database/SQL operations on the data stored in the database.

  1. Add Entry – perform the insert operation of adding a new row or tuple into the relation within the database. This tuple will consist of the entries given by the user consisting of the book name, author and issue number.
    SQL—>(“INSERT INTO book VALUES (NULL,?,?,?)", (title, author, isbn,))

  2. View all – performs the search * from table operation. It displays all the rows that are present in the table.
    SQL—>("SELECT * FROM book”)

  3. Search entry – Given certain values of the book name and author name it searches and displays all the entries having those values.
    SQL—>("SELECT * FROM book WHERE title=? OR author=?", (title, author,))

  4. Update – Given a new value for a row, this SQL operation is going to update the value in the table.
    SQL—>"UPDATE book SET title=?, author=? WHERE id=?", (title, author, id,))

  5. Delete – performs deletion of the row that is selected from the table based on the value of the index of the selected row.
    SQL—>("DELETE FROM book WHERE id=?", (id,))

PROGRAM REQUIREMENTS AND MODULES


  1. SQLite3 module: It provides an SQL interface compliant with the DB-API 2.0 specification. You do not need to install this module separately because it is shipped by default along with Python version 2.5.x onwards.
  2. Tkinter: tkinter is most commonly used GUI method IN Python. It is a standard Python interface to the Tk GUI toolkit shipped with Python. Python with tkinter outputs the fastest and easiest way to create the GUI applications.
  3. Label(): display area for a short text
  4. Button(): implementation of "push" button.
  5. Window(): Its the space where we show all the outputs. Window is a top-level frame with a title and a border. The size of the frame includes any area designated for the border.

book-management-system-with-database-and-simple-ui---using-tkinter-and-sqlite3-in-python's People

Contributors

srinidhi14vaddy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.