Skip to main content

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("---")

Project details


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.4.0.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ebookrack-0.4.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file ebookrack-0.4.0.tar.gz.

File metadata

  • Download URL: ebookrack-0.4.0.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for ebookrack-0.4.0.tar.gz
Algorithm Hash digest
SHA256 5910ade011a62e107603fec754656a30a0133f393be97e6d7f39f84357989353
MD5 949b97094e040f511a7247619a3fff46
BLAKE2b-256 31a39cbf32a1568b8c70e71d9628f984f9f1d01edd0d8ac164d944d832b279ca

See more details on using hashes here.

File details

Details for the file ebookrack-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: ebookrack-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for ebookrack-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2e049642ff117eaa3d37a707c06432428a31cc48eab00e22f6288f1264a0e36e
MD5 369486df6581514c1a104a44cca16e7a
BLAKE2b-256 91d2af50fc1e528debaece54447879f44918746cf0b35961c02630acb7cd8cd0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page