naimetti · GitHub

A pure python RFC3986 validator

image Build Status

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

About

Pure python RFC3986 validator

Resources

Readme

MIT license

Contributing

Contributing

Activity

Stars

4 stars

Watchers

1 watching

Forks

2 forks

Releases

Packages

Used by

Contributors

Languages

Read the original on github.com ↗