Skip to main content

Poort: The quick gateway.

Project description

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

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!')
            response = Response('Whoops, not found.', status=404)

        return response(request, start_response)


  • 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.


Poort is written and maintained by Nils Corver.

A full list of contributors can be found in GitHub’s overview.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for Poort, version 0.3.4
Filename, size File type Python version Upload date Hashes
Filename, size Poort-0.3.4-py2.py3-none-any.whl (17.8 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size Poort-0.3.4.tar.gz (27.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page