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
toxandtox-pyenvglobally:
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file webpub_manifest_parser-0.0.4.tar.gz.
File metadata
- Download URL: webpub_manifest_parser-0.0.4.tar.gz
- Upload date:
- Size: 30.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.10 CPython/2.7.18 Darwin/19.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5740beb85d33ebd46f4de02e8a16e2be1f44da0644ca7ff3f6633ec5385dd157
|
|
| MD5 |
7e0f1c8ed0a5a13e64f0fdc1cdad0530
|
|
| BLAKE2b-256 |
2a324e5dde9e9c999d85c508ab11f20acdaf51601a79dc58a957ec892a1121b1
|
File details
Details for the file webpub_manifest_parser-0.0.4-py2.py3-none-any.whl.
File metadata
- Download URL: webpub_manifest_parser-0.0.4-py2.py3-none-any.whl
- Upload date:
- Size: 38.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.10 CPython/2.7.18 Darwin/19.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3681c288fe0776f5916add73fed8eb341dae6bd3bfa0394d4aeb0fdbadcbaaf3
|
|
| MD5 |
28fbec455ee3e3e8c73c3d8d3aae7407
|
|
| BLAKE2b-256 |
b374fc0dd8ad3d01be1c39438e39c118a5a7850bfb0946d687daf1d18e2d83ed
|