validators

Python Data Validation for Humans™.

984
155
Python

validators - Python Data Validation for Humans™

PyCQA SAST Docs Version Downloads

Python has all kinds of data validation tools, but every one of them seems to
require defining a schema or form. I wanted to create a simple validation
library where validating a simple value does not require defining a form or a
schema.

pip install validators

Then,

>>> import validators
>>> 
>>> validators.email('[email protected]')
True

Resources


Python 3.8 reaches EOL in October 2024.