Metadata-Version: 2.0
Name: Avenue
Version: 0.1.3
Summary: Avenue: Highway routing.
Home-page: https://avenue.readthedocs.org/
Author: Nils Corver
Author-email: nils@corverdevelopment.nl
License: MIT
Keywords: routing
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
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.5
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Software Development :: Libraries :: Python Modules

Avenue: Highway routing.
=============================================

.. teaser-begin

``Avenue`` is an `MIT <http://choosealicense.com/licenses/mit/>`_-licensed Python package with a very extensible,
but light weight, routing system.

A quick example::

    from avenue import Avenue

    router = Avenue()

    @router.attach(path='/', method='GET')
    def hello_world():
        return 'Hallo world!'

    route = {
      'path': '/',
      'method': 'GET,
    }

    path, match = router.match(**route)
    assert path.func(**match) == 'Hallo world!'



