rfc3986-validator 0.1.1

Creator: railscoderz

Last updated:

Add to Cart

Description:

rfc3986validator 0.1.1

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

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.