Skip to main content

Pure python rfc3986 validator

Project description

rfc3339-validator

A pure python RFC3339 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.0.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

rfc3986_validator-0.1.0-py2.py3-none-any.whl (2.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file rfc3986_validator-0.1.0.tar.gz.

File metadata

  • Download URL: rfc3986_validator-0.1.0.tar.gz
  • Upload date:
  • Size: 5.6 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.0.tar.gz
Algorithm Hash digest
SHA256 20026cd9d65df2b98990e1cf56fd451f68e9604fd71ffd20a383c7c49dd0b40a
MD5 993877e8fa9cfd54c907f83061957ae0
BLAKE2b-256 eee1ee731a3fcf5197bec98b0fee7ede2548014c0ea1f6df90170b071dc4f979

See more details on using hashes here.

File details

Details for the file rfc3986_validator-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: rfc3986_validator-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 2.8 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.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1da777a3c277d4710430846b540bf1f75c14a50f1f182abf1b427dac7aeae26f
MD5 c60c8ba566601a21a43ffdfd358598b5
BLAKE2b-256 b15a1c10d1aaf2499977f5f795550e17d3df41cfd809bef1e496fa5a0c958e99

See more details on using hashes here.

Supported by

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