7.1.2.2. BookLibrary

class BookBrowser.Book.BookLibrary.BookCover(path, cover_path=None)[source]

Bases: object

__init__(path, cover_path=None)[source]

Initialize self. See help(type(self)) for accurate signature.

__json_keys__ = (('path', <class 'str'>), ('cover_path', <class 'str'>))
cover_path
classmethod load_from_json(json_data)[source]
metadata
path
to_dict()[source]
class BookBrowser.Book.BookLibrary.BookLibrary(path)[source]

Bases: object

JSON_FILENAME = '.book-library-metadata.json'
__getitemm__(slice_)[source]
__init__(path)[source]

Initialize self. See help(type(self)) for accurate signature.

__iter__()[source]
__len__()[source]
_logger = <Logger BookBrowser.Book.BookLibrary.BookLibrary (WARNING)>
dump()[source]
classmethod is_library(library_path)[source]
json_path
load_from_json()[source]
classmethod make_json_path(library_path)[source]
path
save_json()[source]
scan()[source]
to_json()[source]