# rfc3986-validator
A pure python RFC3986 validator
[![image](https://img.shields.io/pypi/v/rfc3986_validator.svg)](https://pypi.python.org/pypi/rfc3986_validator)
[![Build Status](https://travis-ci.org/naimetti/rfc3986-validator.svg?branch=master)](https://travis-ci.org/naimetti/rfc3986-validator)
# Install
```shell script
pip install rfc3986-validator
```
# Usage
```pycon
>>> 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](https://tools.ietf.org/html/rfc3986#page-49) rule
```pycon
>>> validate_rfc3986('//foo.com/blah_blah', rule='URI_reference')
True
```
- Free software: MIT license
Raw data
{
"_id": null,
"home_page": "https://github.com/naimetti/rfc3986-validator",
"name": "rfc3986-validator",
"maintainer": "",
"docs_url": null,
"requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
"maintainer_email": "",
"keywords": "rfc3986 validator",
"author": "Nicolas Aimetti",
"author_email": "naimetti@yahoo.com.ar",
"download_url": "https://files.pythonhosted.org/packages/da/88/f270de456dd7d11dcc808abfa291ecdd3f45ff44e3b549ffa01b126464d0/rfc3986_validator-0.1.1.tar.gz",
"platform": "",
"description": "# rfc3986-validator\n\nA pure python RFC3986 validator\n\n\n[![image](https://img.shields.io/pypi/v/rfc3986_validator.svg)](https://pypi.python.org/pypi/rfc3986_validator)\n[![Build Status](https://travis-ci.org/naimetti/rfc3986-validator.svg?branch=master)](https://travis-ci.org/naimetti/rfc3986-validator)\n\n# Install\n\n```shell script\npip install rfc3986-validator\n```\n\n# Usage\n\n```pycon\n>>> from rfc3986_validator import validate_rfc3986\n>>> validate_rfc3986('http://foo.bar?q=Spaces should be encoded')\nFalse\n\n>>> validate_rfc3986('http://foo.com/blah_blah_(wikipedia)')\nTrue\n```\n\nIt also support validate [URI-reference](https://tools.ietf.org/html/rfc3986#page-49) rule \n\n```pycon\n>>> validate_rfc3986('//foo.com/blah_blah', rule='URI_reference')\nTrue\n```\n\n - Free software: MIT license\n\n\n\n",
"bugtrack_url": null,
"license": "MIT license",
"summary": "Pure python rfc3986 validator",
"version": "0.1.1",
"split_keywords": [
"rfc3986",
"validator"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "41aef4395cd3d560c96a3992534dfd53",
"sha256": "2f235c432ef459970b4306369336b9d5dbdda31b510ca1e327636e01f528bfa9"
},
"downloads": -1,
"filename": "rfc3986_validator-0.1.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "41aef4395cd3d560c96a3992534dfd53",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
"size": 4242,
"upload_time": "2019-10-28T16:00:13",
"upload_time_iso_8601": "2019-10-28T16:00:13.976195Z",
"url": "https://files.pythonhosted.org/packages/9e/51/17023c0f8f1869d8806b979a2bffa3f861f26a3f1a66b094288323fba52f/rfc3986_validator-0.1.1-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "47f7657b790aaf6011a1ab3d86c6be95",
"sha256": "3d44bde7921b3b9ec3ae4e3adca370438eccebc676456449b145d533b240d055"
},
"downloads": -1,
"filename": "rfc3986_validator-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "47f7657b790aaf6011a1ab3d86c6be95",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
"size": 6760,
"upload_time": "2019-10-28T16:00:19",
"upload_time_iso_8601": "2019-10-28T16:00:19.144483Z",
"url": "https://files.pythonhosted.org/packages/da/88/f270de456dd7d11dcc808abfa291ecdd3f45ff44e3b549ffa01b126464d0/rfc3986_validator-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2019-10-28 16:00:19",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "naimetti",
"github_project": "rfc3986-validator",
"travis_ci": true,
"coveralls": false,
"github_actions": false,
"tox": true,
"lcname": "rfc3986-validator"
}