Skip to main content

Synchronize Standard Ebooks catalog with local EPUB collection.

Project description

Sebsync

The sebsync script synchronizes the Standard Ebooks catalog with your local EPUB collection.

How it works

The script reads the Standard Ebooks OPDS feed and reconciles the ebooks in their catalog against the EPUBs in your local filesystem, downloading new ones or updating existing ones as necessary.

If a new ebook is detected in the catalog, then it will be downloaded into your downloads directory. If an updated version of a book is detected in the catalog that is already in your local filesystem, then the updated version will be downloaded and stored in the existing local file.

The script can also display and/or remove outdated and/or deprecated ebooks. A local ebook file is “deprecated” if its identifier has been replaced by a new identifier in the Standard Ebooks catalog. This occurs when a book is renamed or substantially revised. Its replacement will be downloaded as a new ebook.

Requirements

This script uses Standard Ebooks' OPDS feed to access metadata on all books their catalog. In order to do so, you need to be a member of the Standard Ebooks Patrons Circle (or have previously produced an ebook for Standard Ebooks). If you're not already a Standard Ebooks patron, please consider becoming one. It's a tremendously valuable project, deserving of your support.

Installation

It is easy to install sebsync using pipx:

pipx install sebsync

Example usage

sebsync --email addr@example.com --books /home/user/MyBooks --downloads /home/user/MyBooks/Downloads

Questions and answers

Q1. Why use a separate downloads directory for new ebooks?

A1. This is a feature for those who want to easily recognize new ebooks, and to manually rename and/or categorize them within their library. If this feature is not useful for you, simply set --downloads to be the same directory as --books.

Q2. Does this script support Kindle books?

A2. No. Analysis of the Standard Ebooks AZW3 structure suggests that there isn't a reliable method to reconcile Kindle ebooks with the OPDS feed catalog.

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

sebsync-1.0.14.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

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

sebsync-1.0.14-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file sebsync-1.0.14.tar.gz.

File metadata

  • Download URL: sebsync-1.0.14.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.27.0 CPython/3.14.5 Linux/7.0.9-arch1-1

File hashes

Hashes for sebsync-1.0.14.tar.gz
Algorithm Hash digest
SHA256 30124afb7637e925730e38e6f59fa90eed874787a7a53ba049824a9303bb920b
MD5 c8dc80c07f02840e8b156252b388a123
BLAKE2b-256 474e0025e6d2be4f1c6c45f300b5c9e30abf1766bd0710997004c267831f9909

See more details on using hashes here.

File details

Details for the file sebsync-1.0.14-py3-none-any.whl.

File metadata

  • Download URL: sebsync-1.0.14-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.27.0 CPython/3.14.5 Linux/7.0.9-arch1-1

File hashes

Hashes for sebsync-1.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 fc13cdf8a563c09f6e71f2f2c943ae7a1f1e3687fba50381a6f7f7075cd2c7e6
MD5 6189b5514616926db15a6f8735e10a31
BLAKE2b-256 63963a4876e5be8b9d05ca5312a11c69ad3e304d91e8d6ee430601e5c4276a87

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