library for managing a personal e-book library
Project description
EBookRack
Python library for managing a personal e-book library
The ebookrack.calibre
subpackage allows querying an e-book library managed by Calibre.
Installation
The package is available on PyPI and can be installed with pip
:
pip install ebookrack
Usage
The Library
class in ebookrack.calibre
provides a high-level entry point
for querying the contents of a Calibre library.
from pathlib import Path
from ebookrack.calibre.library import Library
lib_path = Path("~/Books").expanduser()
library = Library(lib_path)
for book in library.books:
print(book.title)
print(" & ".join(book.authors))
for file in book.files:
print(f"{file.format:6s}: {file}")
print("---")
The modules in the ebookrack
core package are not yet ready for use.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ebookrack-0.3.1.tar.gz
(17.6 kB
view details)
Built Distribution
File details
Details for the file ebookrack-0.3.1.tar.gz
.
File metadata
- Download URL: ebookrack-0.3.1.tar.gz
- Upload date:
- Size: 17.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcb0f15162f2bc830ac3ca837082665c5d70943d5248ef7ecd6a583a8063b454 |
|
MD5 | 17d948d4057e07c2567f60386bf2a5e3 |
|
BLAKE2b-256 | 9df5f733fd13d4d63c8ca18a6c61119dd19d084a28381555aeabd8735d5174a0 |
File details
Details for the file ebookrack-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: ebookrack-0.3.1-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2fa82c21b0b9902471604c6432c4363d219fd277d7a03b38d7200acb52e1430 |
|
MD5 | 52f998152fd25bbd65a82a835ad6f08b |
|
BLAKE2b-256 | 82b99478b945592a5d2236e5483bb7312822da1ee03a6e5396a9891341b5322b |