Python epubcheck wrapper
Project description
Python wrappers for EpubCheck
Introduction
EpubCheck is the standard EPUB file validation tool. This package provides a convenient wrapper for python.
Quickstart
Installation
You must have Python & Java installed on your system.
EpubCheck itself is bundled on PyPi so you only have to do the usual:
pip install epubcheck
Usage Examples
>>> from epubcheck import EpubCheck
>>> result = EpubCheck('src/epubcheck/samples/invalid.epub')
>>> print(result.valid)
>>> print(result.messages)
Documentation
Development
To run the all tests run:
tox
Note, to combine the coverage data from all the tox environments run:
Windows |
set PYTEST_ADDOPTS=--cov-append tox |
---|---|
Other |
PYTEST_ADDOPTS=--cov-append tox |
Credits
EpubCheck is a project coordinated by IDPF. Most of the EpubCheck functionality comes from the schema validation tool Jing and schemas that were developed by IDPF and DAISY. Initial EpubCheck development was largely done at Adobe Systems.
Changelog
0.2.0 (2016-04-03)
EpubCheck results as native python objects
More documentation
0.1.0 (2016-04-01)
First release on PyPI.
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
Built Distribution
Hashes for epubcheck-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25a2d75fa979ea8738907655602125bd2f426d42b6e12bb595c264d6ab73f2cc |
|
MD5 | 57f3ee2a1ea30c2cf86ff560e5ff2b59 |
|
BLAKE2b-256 | b44e157b8bfa1b299b119f3821940e927e80c18463f94c3c9d6422d981e08c6c |