Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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!')
        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.

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

Release History

Release History

This version
History Node

0.3.4

History Node

0.3.3

History Node

0.3.2

History Node

0.3.1

History Node

0.3.0

History Node

0.2.3

History Node

0.2.2

History Node

0.2.1

History Node

0.2.0

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
Poort-0.3.4-py2.py3-none-any.whl (17.8 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Jul 25, 2016
Poort-0.3.4.tar.gz (27.8 kB) Copy SHA256 Checksum SHA256 Source Jul 25, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting