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

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.8.2.tar.gz (30.8 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: vnu-validator-0.8.2.tar.gz
  • Upload date:
  • Size: 30.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.3 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for vnu-validator-0.8.2.tar.gz
Algorithm Hash digest
SHA256 8407002f50f6deeab3dc2cf306347c5ec6682356a000902848248659d125d6ac
MD5 e3847a750719e828d8126c65bb59a864
BLAKE2b-256 00d173ee954c1775f13881a698e636a34dba91d835a67db764633dae47090f73

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