Skip to main content
[![Build Status](https://travis-ci.org/ccnmtl/django-pagetree-epub.png?branch=master)](https://travis-ci.org/ccnmtl/django-pagetree-epub)
[![Coverage Status](https://coveralls.io/repos/github/ccnmtl/django-pagetree-epub/badge.svg?branch=master)](https://coveralls.io/github/ccnmtl/django-pagetree-epub?branch=master)

epub export library for django-pagetree


## Installation

```
$ pip install django-pagetree-epub
```

Add `pagetreeepub` to your `INSTALLED_APPS`.

The `epubbuilder` library uses Genshi templates for a few things and
is unaware of Django's template finding functionality. I really hate
this and will be ripping that out and fixing this ASAP. In the
meantime, you have two options:

1) copy the `pagetreeepub/templates/epub` directory into your app and
point `EPUB_TEMPLATE_DIRECTORY` at it.
2) ensure that you pip install to a known location and set
`EPUB_TEMPLATE_DIRECTORY` to that.

Add the following settings:

* `EPUB_ALLOWED_BLOCKS` - list of pageblocks that will be allowed in
the published epub. Other blocks are silently ignored.
* `EPUB_TITLE` - title for the epub
* `EPUB_CREATOR` - creator field
* `EPUB_PUBLICATION` - publication date


Metadata

Release files for django-pagetree-epub 0.3.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 django-pagetree-epub 0.3.0
File Size Uploaded Provenance Actions
django-pagetree-epub-0.3.0.tar.gz 6.3 kB Without provenance Details for django-pagetree-epub-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-pagetree-epub 0.3.0
File Interpreter ABI Platform Actions
django_pagetree_epub-0.3.0-py2.py3-none-any.whl Python 3, Python 2 none any Details for django_pagetree_epub-0.3.0-py2.py3-none-any.whl

Total release size: 10.6 kB

Release files / django-pagetree-epub-0.3.0.tar.gz

Download URL django-pagetree-epub-0.3.0.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
0396c02246a8e674b8c502042c972b35717419b77145863c493bff9e8533b5cc
BLAKE2b-256 checksum
How to use checksums
ec17e8c113784661c68fdbea10d432a4356308d89e8b1b4663ca9835e1669fec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.7.2

Release files / django_pagetree_epub-0.3.0-py2.py3-none-any.whl

Download URL django_pagetree_epub-0.3.0-py2.py3-none-any.whl
Size 4.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
f5eb84a5df5ded0174c2d39313bc88ce499ad292d34f748650013b50998377c7
BLAKE2b-256 checksum
How to use checksums
6c957651e7a64206922a241d8b0b4803b5f3507a7cd21e344e2bae3759f4f395
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.7.2

Security for django-pagetree-epub 0.3.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