A dead simple Python string validation library.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
docs
sphinx-docs
tests
validus
.editorconfig
.gitignore
.nojekyll
.travis.yml
AUTHORS.rst
CONTRIBUTING.rst
HISTORY.rst
LICENSE
MANIFEST.in
Makefile
Pipfile
Pipfile.lock
README.rst
requirements_dev.txt
setup.cfg
setup.py
tox.ini
travis_pypi_setup.py

README.rst

Validus

A dead simple Python string validation library.

Requirements

  • Python 3.3+

Installation

pip install validus

Usage

>>> import validus

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