Skip to content

PoorHttp/PoorWSGI

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
doc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Latest version Supported Python versions Development Status Build Status License

Poor WSGI for Python

Poor WSGI for Python is light WGI connector with uri routing between WSGI server and your application. The simplest way to run and test it looks like that:

from wsgiref.simple_server import make_server
from poorwsgi import Application

app = Application('test')

@app.route('/test')
def root_uri(req):
    return 'Hello world'

if __name__ == '__main__':
    httpd = make_server('127.0.0.1', 8080, app)
    httpd.serve_forever()

You can use python wsgiref.simple_server for test it:

~$ python simple.py

For more information see Project homepage

About

Light WSGI connector with uri routing support.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages