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.6.0.zip (34.7 kB view details)

Uploaded Source

cnx-epub-0.6.0.tar.gz (26.2 kB view details)

Uploaded Source

cnx-epub-0.6.0.tar.bz2 (23.1 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for cnx-epub-0.6.0.zip
Algorithm Hash digest
SHA256 61fa552daabcbaaf28bc8852a43f1b0871f618d863f3668cb5d03b49e4ead7ff
MD5 d33446c8c343a92ac60e1aca7af46072
BLAKE2b-256 471d774bf8596585e74596825c394045fb83714690672f61fffe7312e09b904f

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for cnx-epub-0.6.0.tar.gz
Algorithm Hash digest
SHA256 fab132430b16c3ad8e8bd66d4aa1432e2be8b0ac3e409010c20799fdcf0393a3
MD5 196c86105ce27f7c396175031879d36f
BLAKE2b-256 b938bd94c2e7ccd8ecffacf84aa1c35bce7602667cc5828a25041038330818e5

See more details on using hashes here.

Provenance

File details

Details for the file cnx-epub-0.6.0.tar.bz2.

File metadata

  • Download URL: cnx-epub-0.6.0.tar.bz2
  • Upload date:
  • Size: 23.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cnx-epub-0.6.0.tar.bz2
Algorithm Hash digest
SHA256 7bc1617717f6eb4e0ee8081560e4e56af2ce8e8b4d55015cc63d1f821c71678b
MD5 a2373e678b00b424c42c6ed64627ce70
BLAKE2b-256 980e0db0389a466c5714b6cb1fc5c0ed73c81b084725cd837668590a6f3d0e29

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