Skip to main content

A dead simple Python string validation library.

Project description

Validus

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

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.

History

0.3.0 (2018-05-22)

  • isurl function updated and removed support for irc url.

0.2.0 (2017-12-15)

  • Added some more functions.

  • Refactored for improved performance.

0.1.0 (2017-06-07)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

validus-0.3.0.tar.gz (27.2 kB view details)

Uploaded Source

Built Distribution

validus-0.3.0-py2.py3-none-any.whl (13.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file validus-0.3.0.tar.gz.

File metadata

  • Download URL: validus-0.3.0.tar.gz
  • Upload date:
  • Size: 27.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for validus-0.3.0.tar.gz
Algorithm Hash digest
SHA256 465f89d1ee0ef5780330c7480a2e4387ba3fc27a55d88889dc853484ca080681
MD5 12df80760945b3ddcdfaef9d96905486
BLAKE2b-256 6f9a561ecf6770adf73f5c945fd49d5a2548139ce1aa556c035bffa3897fcbc4

See more details on using hashes here.

File details

Details for the file validus-0.3.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for validus-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 dd27b3ac928ed1f1aa3f3ee9ea3a9acd35c01be01821c1e6c0554dc34975dbd9
MD5 a8756ccd76db29ecd7dd665f4d412265
BLAKE2b-256 b6f04c16002db1bcbe0dab97a58bd36a57aa23a0d6e5384b0d34d9cd02d7a167

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page