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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size rfc3986_validator-0.1.1-py2.py3-none-any.whl (4.2 kB) | File type Wheel | Python version py2.py3 | Upload date | Hashes View |
Filename, size rfc3986_validator-0.1.1.tar.gz (6.8 kB) | File type Source | Python version None | Upload date | Hashes View |
Close
Hashes for rfc3986_validator-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f235c432ef459970b4306369336b9d5dbdda31b510ca1e327636e01f528bfa9 |
|
MD5 | 41aef4395cd3d560c96a3992534dfd53 |
|
BLAKE2-256 | 9e5117023c0f8f1869d8806b979a2bffa3f861f26a3f1a66b094288323fba52f |