Skip to content

python-validators/validators

Repository files navigation

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('someone@example.com')
True

Resources


Python 3.8 reaches EOL in October 2024.