Skip to main content

python-webpub-manifest-parser

Build Status

A parser for the Readium Web Publication Manifest (RWPM) and Open Publication Distribution System 2.0 (OPDS 2.0) formats.

Usage

  1. Install pyenv

  2. Install one of the supported Python versions mentioned in .python-version or other PATCH versions of the same MINOR versions:

pyenv install <python-version>
  1. Install pyenv-virtualenv plugin

  2. Create a virtual environment:

pyenv virtualenv <virtual-env-name>
pyenv activate <virtual-env-name>
  1. Install the library
pip install webpub-manifest-parser

Setting up a development environment

Running tests using tox

  1. Make sure that a virtual environment is not activated and deactivate it if needed:
deactivate
  1. Install tox and tox-pyenv globally:
pip install tox tox-pyenv
  1. Make your code prettier using isort and black:
make reformat
  1. Run the linters:
make lint
  1. To run the unit tests use the following command:
make test-<python-version>

where <python-version> is one of supported python versions:

  • py27
  • py36
  • py37
  • py38

For example, to run the unit test using Python 2.7 run the following command:

make test-py27

Metadata

Release files for webpub-manifest-parser 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for webpub-manifest-parser 0.0.4
File Size Uploaded
webpub_manifest_parser-0.0.4.tar.gz 30.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for webpub-manifest-parser 0.0.4
File Interpreter ABI Platform
webpub_manifest_parser-0.0.4-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 68.5 kB

Release files / webpub_manifest_parser-0.0.4.tar.gz

Download URL webpub_manifest_parser-0.0.4.tar.gz
Size 30.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5740beb85d33ebd46f4de02e8a16e2be1f44da0644ca7ff3f6633ec5385dd157
BLAKE2b-256 checksum
How to use checksums
2a324e5dde9e9c999d85c508ab11f20acdaf51601a79dc58a957ec892a1121b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.10 CPython/2.7.18 Darwin/19.6.0

Release files / webpub_manifest_parser-0.0.4-py2.py3-none-any.whl

Download URL webpub_manifest_parser-0.0.4-py2.py3-none-any.whl
Size 38.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
3681c288fe0776f5916add73fed8eb341dae6bd3bfa0394d4aeb0fdbadcbaaf3
BLAKE2b-256 checksum
How to use checksums
b374fc0dd8ad3d01be1c39438e39c118a5a7850bfb0946d687daf1d18e2d83ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.10 CPython/2.7.18 Darwin/19.6.0

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

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