Validus

https://img.shields.io/pypi/v/validus.svg https://img.shields.io/travis/shopnilsazal/validus.svg

A dead simple Python data validation library.

Requirements

  • Python 3.3+

Installation

pip install validus

Usage

>>> import validus

>>> validus.isemail('someone@example.com')
True

List of Functions

isascii()
isprintascii()
isbase64()
isemail()
ishexadecimal()
isint()
isfloat()
isslug()
isuuid()
isuuid3()
isuuid4()
isuuid5()
isfullwidth()
ishalfwidth()
islatitude()
islongitude()
ismac()
ismd5()
issha1()
issha256()
issha512()
ismongoid()
isiso8601()
isbytelen()
isipv4()
isipv6()
isip()
isport()
isdns()
isssn()
issemver()
ismultibyte()
isfilepath()
isdatauri()
isjson()
istime()
isurl()
iscrcard()
isisin()
isiban()
ishexcolor()
isrgbcolor()
isphone()
isisbn()
isisbn10()
isisbn13()
isimei()

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.