Skip to main content

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

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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 2Python 3

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

Hashes for rfc3986_validator-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3d44bde7921b3b9ec3ae4e3adca370438eccebc676456449b145d533b240d055
MD5 47f7657b790aaf6011a1ab3d86c6be95
BLAKE2b-256 da88f270de456dd7d11dcc808abfa291ecdd3f45ff44e3b549ffa01b126464d0

See more details on using hashes here.

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

Hashes for rfc3986_validator-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2f235c432ef459970b4306369336b9d5dbdda31b510ca1e327636e01f528bfa9
MD5 41aef4395cd3d560c96a3992534dfd53
BLAKE2b-256 9e5117023c0f8f1869d8806b979a2bffa3f861f26a3f1a66b094288323fba52f

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page