/usr/lib/python2.7/dist-packages/uritools-1.0.2.egg-info/PKG-INFO is in python-uritools 1.0.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | Metadata-Version: 1.1
Name: uritools
Version: 1.0.2
Summary: RFC 3986 compliant, Unicode-aware, scheme-agnostic replacement for urlparse
Home-page: https://github.com/tkem/uritools/
Author: Thomas Kemmer
Author-email: tkemmer@computer.org
License: MIT
Description: uritools
========================================================================
This module defines RFC 3986 compliant replacements for the most
commonly used functions of the Python 2.7 Standard Library
``urlparse`` and Python 3 ``urllib.parse`` modules.
.. code-block:: pycon
>>> from uritools import urisplit, uriunsplit, urijoin, uridefrag
>>> parts = urisplit('foo://user@example.com:8042/over/there?name=ferret#nose')
>>> parts
SplitResult(scheme='foo', authority='user@example.com:8042', path='/over/there', query='name=ferret', fragment='nose')
>>> parts.scheme
'foo'
>>> parts.authority
'user@example.com:8042'
>>> parts.userinfo
'user'
>>> parts.host
'example.com'
>>> parts.port
'8042'
>>> uriunsplit(parts[:3] + ('name=swallow&type=African', 'beak'))
'foo://user@example.com:8042/over/there?name=swallow&type=African#beak'
>>> urijoin('http://www.cwi.nl/~guido/Python.html', 'FAQ.html')
'http://www.cwi.nl/~guido/FAQ.html'
>>> uridefrag('http://pythonhosted.org/uritools/index.html#constants')
DefragResult(uri='http://pythonhosted.org/uritools/index.html', fragment='constants')
For various reasons, the Python 2 ``urlparse`` module is not compliant
with current Internet standards, does not include Unicode support, and
is generally unusable with proprietary URI schemes. Python 3's
``urllib.parse`` improves on Unicode support, but the other issues still
remain. As stated in `Lib/urllib/parse.py
<https://hg.python.org/cpython/file/3.5/Lib/urllib/parse.py>`_::
RFC 3986 is considered the current standard and any future changes
to urlparse module should conform with it. The urlparse module is
currently not entirely compliant with this RFC due to defacto
scenarios for parsing, and for backward compatibility purposes,
some parsing quirks from older RFCs are retained.
This module aims to provide fully RFC 3986 compliant replacements for
some commonly used functions found in ``urlparse`` and
``urllib.parse``, plus additional functions for conveniently composing
URIs from their individual components.
Installation
------------------------------------------------------------------------
Install uritools using pip::
pip install uritools
Project Resources
------------------------------------------------------------------------
.. image:: http://img.shields.io/pypi/v/uritools.svg?style=flat
:target: https://pypi.python.org/pypi/uritools/
:alt: Latest PyPI version
.. image:: http://img.shields.io/pypi/dm/uritools.svg?style=flat
:target: https://pypi.python.org/pypi/uritools/
:alt: Number of PyPI downloads
.. image:: http://img.shields.io/travis/tkem/uritools/master.svg?style=flat
:target: https://travis-ci.org/tkem/uritools/
:alt: Travis CI build status
.. image:: http://img.shields.io/coveralls/tkem/uritools/master.svg?style=flat
:target: https://coveralls.io/r/tkem/uritools
:alt: Test coverage
- `Documentation`_
- `Issue Tracker`_
- `Source Code`_
- `Change Log`_
License
------------------------------------------------------------------------
Copyright (c) 2014-2016 Thomas Kemmer.
Licensed under the `MIT License`_.
.. _Documentation: http://pythonhosted.org/uritools/
.. _Issue Tracker: https://github.com/tkem/uritools/issues/
.. _Source Code: https://github.com/tkem/uritools/
.. _Change Log: https://github.com/tkem/uritools/blob/master/CHANGES.rst
.. _MIT License: http://raw.github.com/tkem/uritools/master/LICENSE
Keywords: uri url urlparse urlsplit urljoin urldefrag
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Other Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Topic :: Internet
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|