Skip to main content

Yet another validation lib ;). Provides tools for general-purpose variable validation, function inputs/outputs validation as well as class fields validation. All entry points raise consistent ValidationError including all contextual details, with dynamic inheritance of ValueError/TypeError as appropriate.

Project description

Python versions Build Status Tests Status codecov

Documentation PyPI Downloads Downloads per week GitHub stars

“valid8ing is not a crime” ;-)

valid8 provides user-friendly tools for

  • general-purpose inline validation,

  • function inputs/outputs validation

  • class fields validation.

All entry points raise consistent ValidationError including all contextual details, with dynamic inheritance of ValueError/TypeError as appropriate. Originally from the autoclass project.

The documentation for users is available here: https://smarie.github.io/python-valid8/

A readme for developers is available here: https://github.com/smarie/python-valid8

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

valid8-4.2.0.tar.gz (121.1 kB view hashes)

Uploaded Source

Built Distribution

valid8-4.2.0-py3-none-any.whl (84.1 kB view hashes)

Uploaded Python 3

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