libretexts.libretexts_models¶
Classes¶
Download and viewing links for a LibreTexts Commons book. |
|
A book record from the LibreTexts Commons catalog API. |
|
A list of LibreTexts Commons books. |
Module Contents¶
- class libretexts.libretexts_models.LibreTextsLinks(/, **data: Any)¶
Bases:
pydantic.BaseModelDownload and viewing links for a LibreTexts Commons book.
- online: str = ''¶
- pdf: str = ''¶
- buy: str = ''¶
- zip: str = ''¶
- files: str = ''¶
- lms: str = ''¶
- class libretexts.libretexts_models.LibreTextsBook(/, **data: Any)¶
Bases:
pydantic.BaseModelA book record from the LibreTexts Commons catalog API.
- book_id: str¶
- title: str = ''¶
- author: str = ''¶
- institution: str = ''¶
- library: str = ''¶
- subject: str = ''¶
- course: str = ''¶
- program: str = ''¶
- license: str = ''¶
- summary: str = ''¶
- thumbnail: str = ''¶
- links: LibreTextsLinks¶
- last_updated: str¶
- class libretexts.libretexts_models.LibreTextsBookList¶
Bases:
pydantic.RootModel[list[LibreTextsBook]]A list of LibreTexts Commons books.