Skip to content

shopnilsazal/validus

Repository files navigation

Validus

A dead simple Python string validation library.

Requirements

  • Python 3.3+

Installation

pip install validus

Usage

>>> import validus

>>> validus.isemail('[email protected]')
True

List of Functions

isascii()
isprintascii()
isnonempty()
isbase64()
isemail()
ishexadecimal()
isint()
isfloat()
ispositive()
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()
ismimetype()
isisrc()

Resources

Credits

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