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

Documentation

https://python-vnu_validator.readthedocs.io/

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.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


Download files

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

Source Distribution

vnu-validator-0.4.2.tar.gz (28.2 kB view details)

Uploaded Source

File details

Details for the file vnu-validator-0.4.2.tar.gz.

File metadata

  • Download URL: vnu-validator-0.4.2.tar.gz
  • Upload date:
  • Size: 28.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6

File hashes

Hashes for vnu-validator-0.4.2.tar.gz
Algorithm Hash digest
SHA256 dcbbd725342a2cb2a1afa48ee79c486370f0be4495fd3d210d7c490ec3f9ad08
MD5 ae7a6e1659b18811bb386e3efe4a064a
BLAKE2b-256 c6bdff1728bc9fc35af1e4b4f010fd39d43956641b2887211c9b66f3642cebf9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page