Python Wrapper for the v.Nu HTML Validator
Project description
Python Wrapper for the v.Nu HTML Validator. It allows one to recursively test a directory of XHTML5 or HTML5 files for HTML validity (see https://www.shlomifish.org/philosophy/computers/web/validate-your-html/ and https://github.com/validator/validator/ ). It provides a caching feature for speedup of subsequent runs.
See:
- ::
pydoc vnu-validator
Free software: MIT license
Installation
pip install vnu-validator
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 |
Changelog
0.8.1 (2021-02-12)
Wrap open() calls with “with”.
0.8.0 (2019-09-06)
Add support for the VNU_DONT_DELETE_TEMP .
0.6.0 (2019-06-25)
Add VnuSingleFileValidate . ( https://github.com/shlomif/python-vnu_validator/issues/4 )
0.4.3 (2019-05-30)
Python 2.7.x compatibility. ( https://github.com/shlomif/python-vnu_validator/issues/2 )
0.4.2 (2018-11-06)
Enhance the README to explain what it is all about.
0.4.1 (2018-11-05)
Fix a regression when cache_path is not specified.
0.4.0 (2018-11-05)
Add the cache_path feature for speedup.
0.2.1 (2018-10-08)
Add links to examples.
0.2.0 (2018-10-08)
Add some RST docstrings.
0.1.0 (2018-10-07)
First release on PyPI.
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
File details
Details for the file vnu-validator-0.8.1.tar.gz
.
File metadata
- Download URL: vnu-validator-0.8.1.tar.gz
- Upload date:
- Size: 30.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.1+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9907f078dba31f53374a4d9d69feed1dab3522ceed1d8c5d6ac3732e482aca75 |
|
MD5 | 2d381ebf9121baa0715b5667aa672198 |
|
BLAKE2b-256 | a14741d3b00c3ad44f028f17ac57c8cc5f21f532f488640c7d22c4ae0e7a6229 |