Skip to main content

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

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)

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)

0.4.3 (2019-05-30)

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for vnu-validator, version 0.8.3
Filename, size File type Python version Upload date Hashes
Filename, size vnu-validator-0.8.3.tar.gz (31.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page