Skip to main content

local query&sync of standardebooks

Project description

sebastos: a sync client for Standard Ebooks

The folks over at Standard Ebooks provide a fabulous collection of public domain books, beautifully produced.

I recently purchased a Kobo e-reader, and want to load it with some of those ebooks, getting updates as new books become available, and without having to download and copy a bunch of files. This client makes that easy.

Getting started

Make a directory for sebastos to run from. If you have your ereader plugged in and mounted, this can be on the device itself.

For example, on my Mac with my Kobo plugged in and mounted:

cd /Volumes/KOBOeReader
mkdir sebastos
cd sebastos
uvx sebastos init

The init subcommand will scan the standardebooks github organisation for ebooks, and download their metadata. This process will take a few minutes to complete. At any later time, you can use the update subcommand to redo this scan. This will only download metadata for new ebooks, so it will be substantially quicker than the initial scan.

Edit the .sebastos/config.toml file and set up as many [[query]] blocks as you like, to download by author, subject, title, and so on. By default, the following query is provided as an example, which will download Pride and Prejudice by Jane Austen.

[[query]]
author = "Jane Austen"
title = "Pride*"

Run uvx sebastos sync and matching books will be downloaded. If you've pared back your queries, books may be deleted, although the tool will ask you to confirm before it does so.

If you'd like to see the metadata that queries run against, just run uvx sebastos list

Configuration

Donations

I'm conscious that Standard Ebooks rely upon donations to operate. You can donate here - please do so if you find some value in this tool.

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

sebastos-0.1.2.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

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

sebastos-0.1.2-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file sebastos-0.1.2.tar.gz.

File metadata

  • Download URL: sebastos-0.1.2.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for sebastos-0.1.2.tar.gz
Algorithm Hash digest
SHA256 487096b0d5ac86c2d1ab8200303ba5c319b15d166c429883fbfd1cc84e70a880
MD5 d2eb94edc2eb2b40875d51b165c9b12c
BLAKE2b-256 a8d7fe041e9fd8b85e7ca1cc8221cb94e2372a1a1807c73134cd779c71c3184a

See more details on using hashes here.

File details

Details for the file sebastos-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: sebastos-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for sebastos-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d4ee05dd078279efc15e8e9e5e20606587a431966b4b865c8a1d5f07bf53cfad
MD5 b298bccb51fadc7b90bb803ac2c2843a
BLAKE2b-256 ab74b2b949cdeccd29ee65a358363632b92476638c9a66e3834f9895330f259f

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