Skip to main content

Python epubcheck wrapper

Project description

Python wrappers for EpubCheck

Documentation Status Travis-CI Build Status AppVeyor Build Status Coverage Status

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

https://epubcheck.readthedocs.org/

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

epubcheck-0.2.0.zip (8.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

epubcheck-0.2.0-py2.py3-none-any.whl (8.3 MB view details)

Uploaded Python 2Python 3

File details

Details for the file epubcheck-0.2.0.zip.

File metadata

  • Download URL: epubcheck-0.2.0.zip
  • Upload date:
  • Size: 8.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for epubcheck-0.2.0.zip
Algorithm Hash digest
SHA256 8ccd8af99869164768c817a994a1843f1957d7685a7263840e2c9c4bc9bdddf4
MD5 8790586008355e99dfac2da894bd1d8e
BLAKE2b-256 10cc27e7b70400dff1f28dedde867f137ca48c9403ec931c2afb3e6d838f38cf

See more details on using hashes here.

File details

Details for the file epubcheck-0.2.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for epubcheck-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 25a2d75fa979ea8738907655602125bd2f426d42b6e12bb595c264d6ab73f2cc
MD5 57f3ee2a1ea30c2cf86ff560e5ff2b59
BLAKE2b-256 b44e157b8bfa1b299b119f3821940e927e80c18463f94c3c9d6422d981e08c6c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page