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.
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.
Metadata
Release files for validus 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| validus-0.3.0.tar.gz | 27.2 kB | Without provenance | Details for validus-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| validus-0.3.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for validus-0.3.0-py2.py3-none-any.whl |
Total release size: 40.6 kB
Release files / validus-0.3.0.tar.gz
| Download URL | validus-0.3.0.tar.gz |
|---|---|
| Size | 27.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
465f89d1ee0ef5780330c7480a2e4387ba3fc27a55d88889dc853484ca080681
|
|
BLAKE2b-256 checksum How to use checksums |
6f9a561ecf6770adf73f5c945fd49d5a2548139ce1aa556c035bffa3897fcbc4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / validus-0.3.0-py2.py3-none-any.whl
| Download URL | validus-0.3.0-py2.py3-none-any.whl |
|---|---|
| Size | 13.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
dd27b3ac928ed1f1aa3f3ee9ea3a9acd35c01be01821c1e6c0554dc34975dbd9
|
|
BLAKE2b-256 checksum How to use checksums |
b6f04c16002db1bcbe0dab97a58bd36a57aa23a0d6e5384b0d34d9cd02d7a167
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for validus 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.