BookUtils Module

This module provides utility functions for library book management

Functions

Function name Description
append_dict_to_csv(file_path,my_dict) Appends book data into the library csv file
get_books(file_path) Gets the list of all books in the library
find_book(file_path,name) Finds a book in the library by name
update_book_status(file_path,name,status) Updates the status of book by name as “Yes” or “No”

Algorithm

  1. Append Dictionary to CSV
  2. Get Books
  3. Find Book
  4. Update Book Status

Pseudocode