public

rfc3986-validator (0.1.1)

Published 2025-07-02 08:58:52 +00:00 by publish

Installation

pip install --index-url  rfc3986-validator

About this package

Pure python rfc3986 validator

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

Requirements

Requires Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*
Details
PyPI
2025-07-02 08:58:52 +00:00
9
Nicolas Aimetti
MIT license
4.1 KiB
Assets (1)
Versions (1) View all
0.1.1 2025-07-02