Awesome
validators - Python Data Validation for Humans™
<!-- [![Package][package-badge]][package-link] -->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
<!-- Backup documentation URL : https://yozachar.github.io/pyvalidators/ --> <!-- Original documentation URL : https://python-validators.github.io/validators/ --> <!-- Original docs URL will be restored, once properly versioned docs are ready. --><!-- Links --> <!-- [package-badge]: https://github.com/python-validators/validators/actions/workflows/package.yaml/badge.svg [package-link]: https://github.com/python-validators/validators/actions/workflows/package.yaml -->Python 3.8 reaches EOL in October 2024.