Skip to main content

Library for building and paring Connexions' EPUBs.

Project description

Library for parsing and building EPUB3 files for connexions content.

Getting started

To install:

python setup.py install

Running tests

https://travis-ci.org/Connexions/cnx-epub.png?branch=master

Either of the following will work:

$ python -m unittest discover
$ python setup.py test

Format notes

Order of documents

To enforcing order of contents, we use the navigation document rather than the Open Packaging Format (OPF), which supports a spine element that aids in epub reader in navigation order. The Connexions library does not use the spine for order. A navigation document is the authority on order of contents and which contents are document like. Anything not included in the navigation document is considered a resource.

Document encapsulation

Collections are easy because they will be sent across as individual OPF entries that contain the collection tree as navigation documents. In the case of publishing module documents without a collection, the navigation document will be flagged as a non-document item.

License

This software is subject to the provisions of the GNU Affero General Public License Version 3.0 (AGPL). See license.txt for details. Copyright (c) 2013 Rice University

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

cnx-epub-0.10.0.zip (817.3 kB view details)

Uploaded Source

cnx-epub-0.10.0.tar.gz (794.2 kB view details)

Uploaded Source

File details

Details for the file cnx-epub-0.10.0.zip.

File metadata

  • Download URL: cnx-epub-0.10.0.zip
  • Upload date:
  • Size: 817.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cnx-epub-0.10.0.zip
Algorithm Hash digest
SHA256 44884515f07290522f0039f16bad5b3d3ffbc2945bd43f60caa264168eedccd7
MD5 3cf81f2eb88d59f7b7602cc49cb79856
BLAKE2b-256 002939a8a7329ddf4ea54e9b54d84192775650f63bd299534f95af22f9c1e431

See more details on using hashes here.

Provenance

File details

Details for the file cnx-epub-0.10.0.tar.gz.

File metadata

  • Download URL: cnx-epub-0.10.0.tar.gz
  • Upload date:
  • Size: 794.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cnx-epub-0.10.0.tar.gz
Algorithm Hash digest
SHA256 8d812f14981ee28346ba948a982c7c33e1c8b78352fbaf434256664d47a59cb3
MD5 4676b3a1ff0043ccb5b5e03050700b3f
BLAKE2b-256 e4f3f3a33a7292b24911e56cec0b77d167e24edfa7e87cee280dc339e07fbbeb

See more details on using hashes here.

Provenance

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