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

Release files for rfc3986-validator 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rfc3986-validator 0.1.1
File Size Uploaded
rfc3986_validator-0.1.1.tar.gz 6.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rfc3986-validator 0.1.1
File Interpreter ABI Platform
rfc3986_validator-0.1.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 11.0 kB

Release files / rfc3986_validator-0.1.1.tar.gz

Download URL rfc3986_validator-0.1.1.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3d44bde7921b3b9ec3ae4e3adca370438eccebc676456449b145d533b240d055
BLAKE2b-256 checksum
How to use checksums
da88f270de456dd7d11dcc808abfa291ecdd3f45ff44e3b549ffa01b126464d0
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / rfc3986_validator-0.1.1-py2.py3-none-any.whl

Download URL rfc3986_validator-0.1.1-py2.py3-none-any.whl
Size 4.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
2f235c432ef459970b4306369336b9d5dbdda31b510ca1e327636e01f528bfa9
BLAKE2b-256 checksum
How to use checksums
9e5117023c0f8f1869d8806b979a2bffa3f861f26a3f1a66b094288323fba52f
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page