python-validators / validators

Python Data Validation for Humans™.
MIT License
977 stars 155 forks source link

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.