Metadata-Version: 2.0
Name: Poort
Version: 0.2.3
Summary: Poort: The quick gateway.
Home-page: https://github.com/corverdevelopment/Poort/
Author: Nils Corver
Author-email: nils@corverdevelopment.nl
License: MIT
Keywords: about,this,package
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
Requires-Dist: Jinja2 (>=2.8)
Requires-Dist: Pandora (>=0.2.2)
Requires-Dist: Werkzeug (>=0.11.4)
Requires-Dist: click (>=6.3)
Requires-Dist: gunicorn (>=19.4.5)
Requires-Dist: psutil (>=4.2.0)
Requires-Dist: requests (>=2.9.1)

=========================
Poort: The quick gateway.
=========================

.. image:: https://coveralls.io/repos/github/CorverDevelopment/Poort/badge.svg?branch=master
   :target: https://coveralls.io/github/CorverDevelopment/Poort?branch=master
   :alt: Coverage

.. begin

Poort is a bundle of best-practices to quickly build web gateways.

* Free software: MIT license
* Documentation: http://pythonhosted.org/poort

A quick example::

    # -*- coding: utf-8 -*-
    from __future__ import absolute_import, division, print_function

    from poort import Gate, Request, Response

    gate = Gate()

    def application(environ, start_response):
        with gate(environ):
            request = gate.request

            if request.path == '/':
                response = Response('Hallo world!')
            else:
                response = Response('Whoops, not found.', status=404)

            return response(request, start_response)

Features
--------

- Gate, which provides a simple getter/setter interface for local variables.
- Request, a very simple object containing all the information about the request.
- Response, a versatile but simple object that can respond to the requester.

Authors
-------

``Poort`` is written and maintained by
`Nils Corver <nils@corverdevelopment.nl>`_.

A full list of contributors can be found in
`GitHub's overview <https://github.com/corverdevelopment/poort/graphs/contributors>`_.


