[](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.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_pagetree_epub-0.2.0-py2-none-any.whl | Python 2 | none | any | Details for django_pagetree_epub-0.2.0-py2-none-any.whl |
Release files / django_pagetree_epub-0.2.0-py2-none-any.whl
| Download URL | django_pagetree_epub-0.2.0-py2-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
608a81a7409a41a0d0d8891ace7d84b39fc4562454263a027eb52022bcf22bf6
|
|
BLAKE2b-256 checksum How to use checksums |
dafd0c06b384f290216967e5f56a06bc1c0572f7ec698a277486e7b3316ccbd9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-pagetree-epub 0.2.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.