Skip to main content

Utilities and command line for working with EBooks. Basic support for talking to Apple Books, Calibre, Kindle, Mobi.

Latest release 20230110:

  • cs.ebooks.dedrm: new experimental module to use DeDRM/noDRM outside the Calibre plugin environment.
  • Use the dedrm stuff in "kindle export" and "calibre add".
  • Set $DEDRM_PACKAGE_PATH to the path to the DeDRM_plugin subdirectory of a checkout of git@github.com:noDRM/DeDRM_tools.git.

These form the basis of my personal Kindle and Calibre workflow.

Release Log

Release 20230110:

  • cs.ebooks.dedrm: new experimental module to use DeDRM/noDRM outside the Calibre plugin environment.
  • Use the dedrm stuff in "kindle export" and "calibre add".
  • Set $DEDRM_PACKAGE_PATH to the path to the DeDRM_plugin subdirectory of a checkout of git@github.com:noDRM/DeDRM_tools.git.

Release 20221228:

  • CalibreCommand.popbooks: do not require argv to be empty at the end.
  • KindleBook: new amazon_url property returning an Amazon web page URL based on the ASIN.
  • New default_kindle_library() function consulting the envvar and app defaults; adjust KindleTree to use this.
  • New kindle_content_path_default() and kindle_content_path() functions; use these in default_kindle_library().
  • KindleCommand: new "app-path" subcommand to report or set the Kindle application content path.
  • CalibreCommand.cmd_ls: new -r (reverse) and -t (timestamp) sorting options.
  • Assorted minor updates.

Release 20220805:

  • CalibreCommand.books_from_spec: UPPERCASE matches a format.
  • CalibreCommand: new cmd_linkto to link book files into an external directory with nice names.
  • CalibreTree: fix .fspath and the associated .pathto and format paths.

Release 20220626:

  • CalibreBook: new setter mode for .tags, CalibreCommand: new cmd_tags to update tags.
  • CalibreBook.pull_format: AZW formats: also check for AZW4.
  • CalibreCommand.books_from_spec: /regexp: search the tags as well.
  • CalibreBook: subclass FormatableMixin; CalibreCommand.cmd_ls: new "-o ls_format" option for the top line format.

Release 20220606: Initial PyPI release.

Release files for cs.ebooks 20230110

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cs.ebooks 20230110
File Size Uploaded
cs.ebooks-20230110.tar.gz 34.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cs.ebooks 20230110
File Interpreter ABI Platform
cs.ebooks-20230110-py3-none-any.whl Python 3 none any Details

Total release size: 70.7 kB

Release files / cs.ebooks-20230110.tar.gz

Download URL cs.ebooks-20230110.tar.gz
Size 34.5 kB
Tags Source
SHA-256 checksum
How to use checksums
62c8c7aa61e1f7da99482caaefc84b9b7db6d27540932008799c07d97054680b
BLAKE2b-256 checksum
How to use checksums
97718740cee0a50d5faee29640a295cd6eee8b546752189f3b5d6bb264f20e0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / cs.ebooks-20230110-py3-none-any.whl

Download URL cs.ebooks-20230110-py3-none-any.whl
Size 36.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b1a935b8124c9f7c5e6c84a7ccd4a10a37518057c7257cf2c5a7f411c11f936b
BLAKE2b-256 checksum
How to use checksums
1f25b607c47997db9bbaa903ff164f00e4fbaa4b70a6804b6274c9af5110e078
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page