Skip to content

Add library homework#1

Open
maxizdev wants to merge 1 commit intomainfrom
homework_lection2_maksym_zadniprenko
Open

Add library homework#1
maxizdev wants to merge 1 commit intomainfrom
homework_lection2_maksym_zadniprenko

Conversation

@maxizdev
Copy link
Copy Markdown
Owner

@maxizdev maxizdev commented Jun 8, 2025

  1. Created Library class and logic for adding and removing books, as well as iteration and generating books by author.
  2. Created Publication class as an abstract base for Book, Magazine (and possibly other classes in the future).
  3. Created a Pydantic model for publications.
  4. Created decorators to coordinate the process of adding to and removing books from the library.
  5. Implemented import/export of library content using a file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant