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

The modules in the ebookrack core package are not yet ready for use.

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

Uploaded Source

Built Distribution

ebookrack-0.3.1-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

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

Hashes for ebookrack-0.3.1.tar.gz
Algorithm Hash digest
SHA256 dcb0f15162f2bc830ac3ca837082665c5d70943d5248ef7ecd6a583a8063b454
MD5 17d948d4057e07c2567f60386bf2a5e3
BLAKE2b-256 9df5f733fd13d4d63c8ca18a6c61119dd19d084a28381555aeabd8735d5174a0

See more details on using hashes here.

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

Hashes for ebookrack-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d2fa82c21b0b9902471604c6432c4363d219fd277d7a03b38d7200acb52e1430
MD5 52f998152fd25bbd65a82a835ad6f08b
BLAKE2b-256 82b99478b945592a5d2236e5483bb7312822da1ee03a6e5396a9891341b5322b

See more details on using hashes here.

Supported by

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