Graybyt3 Was Here
Linux host1.absolutelystunningcenterpieces.com 3.10.0-957.21.3.el7.x86_64 #1 SMP Tue Jun 18 16:35:19 UTC 2019 x86_64
Apache
69.167.136.200
/
lib
/
python2.7
/
site-packages
/
pip
/
_vendor
/
urllib3
/
packages
/
rfc3986
[ HOME ]
Exec
Submit
api.pyc
� }�\]c @ sv d Z d d l m Z d d l m Z d d l m Z d d � Z d d � Z d d � Z d d � Z d d � Z d S( s� Module containing the simple and functional API for rfc3986. This module defines functions and provides access to the public attributes and classes of rfc3986. i ( t IRIReference( t ParseResult( t URIReferences utf-8c C s t j | | � S( sb Parse a URI string into a URIReference. This is a convenience function. You could achieve the same end by using ``URIReference.from_string(uri)``. :param str uri: The URI which needs to be parsed into a reference. :param str encoding: The encoding of the string provided :returns: A parsed URI :rtype: :class:`URIReference` ( R t from_string( t urit encoding( ( sG /tmp/pip-install-ewDPok/pip/pip/_vendor/urllib3/packages/rfc3986/api.pyt uri_reference s c C s t j | | � S( sc Parse a IRI string into an IRIReference. This is a convenience function. You could achieve the same end by using ``IRIReference.from_string(iri)``. :param str iri: The IRI which needs to be parsed into a reference. :param str encoding: The encoding of the string provided :returns: A parsed IRI :rtype: :class:`IRIReference` ( R R ( t iriR ( ( sG /tmp/pip-install-ewDPok/pip/pip/_vendor/urllib3/packages/rfc3986/api.pyt iri_reference) s c K s t j | | � j | � S( s� Determine if the URI given is valid. This is a convenience function. You could use either ``uri_reference(uri).is_valid()`` or ``URIReference.from_string(uri).is_valid()`` to achieve the same result. :param str uri: The URI to be validated. :param str encoding: The encoding of the string provided :param bool require_scheme: Set to ``True`` if you wish to require the presence of the scheme component. :param bool require_authority: Set to ``True`` if you wish to require the presence of the authority component. :param bool require_path: Set to ``True`` if you wish to require the presence of the path component. :param bool require_query: Set to ``True`` if you wish to require the presence of the query component. :param bool require_fragment: Set to ``True`` if you wish to require the presence of the fragment component. :returns: ``True`` if the URI is valid, ``False`` otherwise. :rtype: bool ( R R t is_valid( R R t kwargs( ( sG /tmp/pip-install-ewDPok/pip/pip/_vendor/urllib3/packages/rfc3986/api.pyt is_valid_uri7 s c C s"