Skip to content

resole79/ebookstore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Ebook Store

Program that can be used by a bookstore clerk.
The program will add, update, delete and search books from the database sqlite call ebookstore

Prerequisites

You will need the following software to run the Ebook Store :

Installation

To get started with the Ebook Store , follow these steps:

  1. Install tabulate
pip install tabulate
  1. Clone the repository:
git clone https://github.com/resole79/ebookstore.git
  1. Run the ebookstore.py file:
python3 ebookstore.py

File Structure

  • ebookstore.py: Main program.

Usage

How program present


menu

User selects ‘1’ to insert a book

Ask the user to input:

  • The title of book
  • The author of book
  • The quantity of book


user selects “1”

User selects ‘2’ to update a book

Ask the user to input:

  • The id of the book
  • The title of book
  • The author of book

You can leave empty if don't want any change. The program asks you also if you are sure you want to update the item.


user selects “2”

User selects ‘3’ to delete a book

Ask the user to input:

  • The quantity of book you want to delete
  • The id of the book

The program asks you also if you are sure you want to delete the item.


user selects “3”

User selects ‘4’ to search a book

Ask the user to input:

  • The title of book
  • The author of book

You can leave empty if don't want any search.


user selects “4”

Credit

Author : Emilio Reforgiato (resole79)

Releases

No releases published

Packages

No packages published

Languages