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.3 (2021-04-16)
Add examples/single_file_check.py ( https://github.com/shlomif/python-vnu_validator/issues/5 ). Thanks to https://github.com/sergiomb2 .
Related fixes (“with open”/etc.).
0.8.2 (2021-04-14)
Fixes for json cache_path due to overzealous refactoring.
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.3.tar.gz
.
File metadata
- Download URL: vnu-validator-0.8.3.tar.gz
- Upload date:
- Size: 31.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b7e4f5872f74ee61f8aa9fbedba5af2c2015f89e49ed96df836f5a6aea7b14d |
|
MD5 | 49fb23185dca924a3e432dfb7c4307a9 |
|
BLAKE2b-256 | 8f5a946141f06c82187fa60c6d800fd2ede25e0059c089a98194f2206a10983c |