Skip to main content

Sebsync

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

How it works

The script reads the Standard Ebooks OPDS feed and reconciles the ebooks in their catalog against the EPUB files 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, optionally updating (overwriting) 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 the Standard Ebooks OPDS 2.0 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. If you’re not already a Standard Ebooks patron, please consider becoming one!

Installation

It is easy to install sebsync using pipx:

pipx install sebsync

Example usage

sebsync --books /home/user/Books --sessionid TEXT

How to get a sessionid

The --sessionid text value is a cookie that is issued by Standard Ebooks when you log into their website; it allows access to the OPDS feed and dowloading updated titles without throttling. To locate this text value, log into Standard Ebooks, and in browser settings (or developer tools) copy the “sessionid” cookie. On Firefox:

  • Log into Standard Ebooks.1
  • Click the top-right “hamburger” (☰) menu.
  • Select More tools → Web Developer Tools.
  • In the pane that pops-up, click “Storage” tab.
  • In the left pane of that area, expand “Cookies”.
  • Click on the “https://standardebooks.org” entry below it.
  • Find the “sessionid” name in the right pane.
  • Double-click the value beside it and copy that text.
  1. Use the “log in” link at the bottom of the Standard Ebooks web page. This intiates an email being sent, and requires you to click the “log in” button in the email. ↩

Metadata

Release files for sebsync 1.2.0

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

Source distribution (sdist)

Source distribution for sebsync 1.2.0
File Size Uploaded Provenance Actions
sebsync-1.2.0.tar.gz 6.7 kB Without provenance Details for sebsync-1.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sebsync 1.2.0
File Interpreter ABI Platform Actions
sebsync-1.2.0-py3-none-any.whl Python 3 none any Details for sebsync-1.2.0-py3-none-any.whl

Total release size: 14.1 kB

Release files / sebsync-1.2.0.tar.gz

Download URL sebsync-1.2.0.tar.gz
Size 6.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9367c9ab83f2c60ab94eab4f28527aed130047a9041bb1e03d5db6cb75798fe6
BLAKE2b-256 checksum
How to use checksums
fab6db366495e77e3d8efce20a19af37fded0c4b33831d279bb5e99c572ae076
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Hatch/1.18.2 {"ci":null,"cpu":"x86_64","distro":{"libc":{"lib":"glibc","version":"2.44"},"name":"Arch Linux"},"implementation":{"name":"CPython","version":"3.14.9"},"installer":{"name":"hatch","version":"1.18.2"},"openssl_version":"OpenSSL 3.6.5 29 Sep 2026","python":"3.14.9","system":{"name":"Linux","release":"7.2.14-arch1-1"}} HTTPX2/2.16.0

Release files / sebsync-1.2.0-py3-none-any.whl

Download URL sebsync-1.2.0-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1f1a6d332cf6d57e340834444b7ebeee18cab3125cd3411962228bc7cf56b5c4
BLAKE2b-256 checksum
How to use checksums
308931db499f771cf9552b5c3424f27ae95319b5b3e03194970f7dbd878e0218
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Hatch/1.18.2 {"ci":null,"cpu":"x86_64","distro":{"libc":{"lib":"glibc","version":"2.44"},"name":"Arch Linux"},"implementation":{"name":"CPython","version":"3.14.9"},"installer":{"name":"hatch","version":"1.18.2"},"openssl_version":"OpenSSL 3.6.5 29 Sep 2026","python":"3.14.9","system":{"name":"Linux","release":"7.2.14-arch1-1"}} HTTPX2/2.16.0

Security for sebsync 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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