A parser for the Readium Web Publication Manifest and OPDS 2.0 formats.
Project description
python-webpub-manifest-parser
A parser for the Readium Web Publication Manifest (RWPM) and Open Publication Distribution System 2.0 (OPDS 2.0) formats.
Usage
-
Install pyenv
-
Install one of the supported Python versions mentioned in .python-version or other PATCH versions of the same MINOR versions:
pyenv install <python-version>
-
Install pyenv-virtualenv plugin
-
Create a virtual environment:
pyenv virtualenv <virtual-env-name>
pyenv activate <virtual-env-name>
- Install the library
pip install webpub-manifest-parser
Setting up a development environment
Running tests using tox
- Make sure that a virtual environment is not activated and deactivate it if needed:
deactivate
- Install
tox
andtox-pyenv
globally:
pip install tox tox-pyenv
- Make your code prettier using isort and black:
make reformat
- Run the linters:
make lint
- 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
Project details
Release history Release notifications | RSS feed
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
Close
Hashes for webpub_manifest_parser-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6954a06e7bbda7dd15b8ec53f973ce68182f26fe63e8b158d4a17d9100384ebb |
|
MD5 | b952bd39bde1ba4e42a7a5b4bde40fc1 |
|
BLAKE2b-256 | 68215b6f51cf83cca3a0d524e0b21a687cf600b861f6ccb6d289f88b128678a9 |
Close
Hashes for webpub_manifest_parser-0.0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 758fa7bab47c52a4691d21d2f849208207d80c198cbe3a14e2b66c111e03d54a |
|
MD5 | ffcdc60fd91383d96f487e3e92ba7ba5 |
|
BLAKE2b-256 | 6cc56bbc9e42b6c11bbcc43c8d204704061ef4734c56936789433e09f819689e |