Skip to content

PoorHttp/PoorWSGI

Repository files navigation

Latest version Supported Python versions Development Status GitHub Build Workflow Status GitHub CodeQL Workflow Status License

Poor WSGI for Python

Poor WSGI for Python is a lightweight WSGI connector with URI routing between the WSGI server and your application. The simplest way to run and test it looks like this:

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's wsgiref.simple_server to test it:

~$ python simple.py

For more information see Project homepage

About

Light WSGI connector with uri routing support.

Resources

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

 
 
 

Contributors

Languages