Skip to content

jjiikoo/Library-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Library Database Manager

Prerequisites

  • Python 3.10 or higher
  • Pytest (for running tests)

Installation

Clone this repository:

git clone https://github.com/jjiikoo/Library-demo.git

To run tests, install pytest:

pip install pytest

Usage

Run the application by providing a database file:

python library.py <filename>

If the file doesn't exist, it will be created automatically.

Database Format

The database is a simple [text] file with each book on a separate line in the following format:

Title/Writer/ISBN-13/Publishing-year

Running Tests

# Run all tests
pytest

File Structure

  • library.py - Main application
  • test_library.py - Tests

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages