Pure python rfc3986 validator
Project description
rfc3986-validator
A pure python RFC3986 validator
Install
pip install rfc3986-validator
Usage
>>> from rfc3986_validator import validate_rfc3986
>>> validate_rfc3986('http://foo.bar?q=Spaces should be encoded')
False
>>> validate_rfc3986('http://foo.com/blah_blah_(wikipedia)')
True
It also support validate URI-reference rule
>>> validate_rfc3986('//foo.com/blah_blah', rule='URI_reference')
True
- Free software: MIT license
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rfc3986_validator-0.1.1.tar.gz.
File metadata
- Download URL: rfc3986_validator-0.1.1.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d44bde7921b3b9ec3ae4e3adca370438eccebc676456449b145d533b240d055
|
|
| MD5 |
47f7657b790aaf6011a1ab3d86c6be95
|
|
| BLAKE2b-256 |
da88f270de456dd7d11dcc808abfa291ecdd3f45ff44e3b549ffa01b126464d0
|
File details
Details for the file rfc3986_validator-0.1.1-py2.py3-none-any.whl.
File metadata
- Download URL: rfc3986_validator-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f235c432ef459970b4306369336b9d5dbdda31b510ca1e327636e01f528bfa9
|
|
| MD5 |
41aef4395cd3d560c96a3992534dfd53
|
|
| BLAKE2b-256 |
9e5117023c0f8f1869d8806b979a2bffa3f861f26a3f1a66b094288323fba52f
|