Skip to main content

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

Project description

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

Latest 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.

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

Release Log

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.

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

cs.ebooks-20221228.tar.gz (27.7 kB view details)

Uploaded Source

Built Distribution

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

cs.ebooks-20221228-py3-none-any.whl (29.2 kB view details)

Uploaded Python 3

File details

Details for the file cs.ebooks-20221228.tar.gz.

File metadata

  • Download URL: cs.ebooks-20221228.tar.gz
  • Upload date:
  • Size: 27.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for cs.ebooks-20221228.tar.gz
Algorithm Hash digest
SHA256 a5305054f1e8318bdecf0469ab12a24f11ad0a3bc1d4115d49c71c8b1fa27b9d
MD5 dca511b636ad8c8520208dc653d34e52
BLAKE2b-256 d84e250894c7ef374e5278223d1f1d06462e74bbcddec1410741c7d10f07c67b

See more details on using hashes here.

File details

Details for the file cs.ebooks-20221228-py3-none-any.whl.

File metadata

  • Download URL: cs.ebooks-20221228-py3-none-any.whl
  • Upload date:
  • Size: 29.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for cs.ebooks-20221228-py3-none-any.whl
Algorithm Hash digest
SHA256 787aff4ef9a0d89ece27e0b8dfa1c2f6fd99331695602d2a0482db44bc021e2a
MD5 808e573859896b00de3e549d6727454a
BLAKE2b-256 727342e050622653647dee23d22b57111c732309b1369ce71ebc59fadba84596

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