Skip to content

lele-sf/book-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Book Management System

This is a simple command-line application for managing a collection of books. It allows users to add, delete, update, and display books. The book information is stored in a CSV file.

Video Demo

Features

  • Add Book: Add new books to your collection by providing essential details like title, author, genre, and publication year.
  • Delete Book: Remove books from your collection using their unique ID.
  • Update Book: Modify book details such as title, author, genre, and publication year for specific books.
  • Display Books: Explore your collection using various options, including searching by title or author, displaying books by genre, and viewing all books.
  • Save and Load: Save your book collection to a CSV file to maintain your progress between sessions, and load your existing collection when starting the application.

Prerequisites

  • Python 3.x
  • Required packages: tabulate

Installation

Use pip to install the package tabulate

$ pip install tabulate

How to Run

Clone this repository to your local machine

$ git clone https://github.com/lele-sf/BookManager.git

Use python to run the main program

$ python project.py

Use pytest to run the unit tests for the functions

$ pytest test_project.py

Note

The application uses a CSV file named books.csv to store book information. Make sure the file is in the same directory as the script.

Author

Letícia Fernandes

License

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

About

Final Project CS50P - Book Management System

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages