Skip to main content

Pure python rfc3986 validator

Project description

rfc3986-validator

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rfc3986_validator-0.1.1.tar.gz (6.8 kB view hashes)

Uploaded Source

Built Distribution

rfc3986_validator-0.1.1-py2.py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page