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.1.tar.gz (13.6 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.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ebookrack-0.4.1.tar.gz
Algorithm Hash digest
SHA256 217d99d337c3311c043527546de60761a224dc16b1271ffcdebaacb6961b6f28
MD5 ee466f355dd5c405618010294431fccc
BLAKE2b-256 87d841f82891ff03cec9cb417afc23703b3ea0467f04a15daf8a993e5508db96

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ebookrack-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c366cf6f3e7baa5b0e7f279f4974711fa9e9e739ae176d40946dea7440980648
MD5 285a8d6bcf3028fac997e88516250dbd
BLAKE2b-256 0c74c59e44da3eae1b7ff51695cf35e203d6c67474852368c26038850f3cf1a5

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