Metadata-Version: 2.4
Name: slimurl
Version: 0.7.8
Summary: SlimURL - Fast library for parsing and building URL addresses
Home-page: https://github.com/mosquito/slimurl/
Author: Dmitry Orlov <me@mosquito.su>
Author-email: me@mosquito.su
License: MIT
Platform: all
Classifier: Environment :: Console
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.1
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: home-page
Dynamic: license
Dynamic: platform
Dynamic: summary

Slim URL [DEPRICATED]
=====================

.. image:: https://travis-ci.org/mosquito/slimurl.svg
    :target: https://travis-ci.org/mosquito/slimurl

.. image:: https://img.shields.io/pypi/v/slimurl.svg
    :target: https://pypi.python.org/pypi/slimurl/
    :alt: Latest Version

.. image:: https://img.shields.io/pypi/wheel/slimurl.svg
    :target: https://pypi.python.org/pypi/slimurl/

.. image:: https://img.shields.io/pypi/pyversions/slimurl.svg
    :target: https://pypi.python.org/pypi/slimurl/

.. image:: https://img.shields.io/pypi/l/slimurl.svg
    :target: https://pypi.python.org/pypi/slimurl/


This module is deprecated. Please use the `YARL`_ instead.

.. _YARL: https://pypi.python.org/pypi/yarl


Slim URL - is fast wrapper for construction or/and parse URL components. Parsing based on regular expressions.

Example::

    from slimurl import URL

    url = URL('http://example.net')
    print("%r" % url)
    # <URL "http://example.net/">

    print((url.host, url.port, url.scheme))
    # ('example.net', 80, 'http')

    URL('http://example.net') == URL('http://example.net/')
    # True

    URL('http://example.net:80') == URL('http://example.net/')
    # True

    URL('http://example.net') == URL('http://example.net/?foo=bar')
    # False

