Skip to main content

script/library to create epubs programatically and from rst

Project description

rst2epub2

This code consists of two tools:

  • a binary, rst2epub, to convert rst files into epub2 compliant files (ie that pass epub check, can be loaded into Apple, BN, Kobo, etc. Or converted to mobi and thrown into AMZN)

  • a library, epublib, that has the ability to programatically create epub files. See the test function in epublib/epub.py for more details. There is experimental support for KF8 fixed layout as well.

Install

running:

make develop

will create a virtualenv in env. The rst2epb.py binary will be located in the env/bin/ directory.

Known to work on linux systems. (Should work on apple, cygwin, MS with some futzing).

Docs

There are a few rst tweaks to support features such as metadata. See the sample doc for examples of a complete book and how to generate both epub and mobi files.

Feel free to interact via github for support.

Thanks

timtambin@gmail.com wrote the original epublib and hosted it on google code. I’ve tweaked (pep8’d) it and imported into github.

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

rst2epub2-0.3.1.tar.gz (29.1 kB view details)

Uploaded Source

File details

Details for the file rst2epub2-0.3.1.tar.gz.

File metadata

  • Download URL: rst2epub2-0.3.1.tar.gz
  • Upload date:
  • Size: 29.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for rst2epub2-0.3.1.tar.gz
Algorithm Hash digest
SHA256 34f215a629c6efed056272f8c38c27bc3b2dcb28912525829af554eb6ac419a5
MD5 b9ea661a8743961df438c57bc5246081
BLAKE2b-256 1c6c976cad01484dbd74e2d7beb7348db47b0ef1da15e02470d28e167448d708

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page