wsgy
is a microframework for wsgi, and it has many features such as
wsgy
has a small wsgi serverwsgy
has a top-to-bottom wsgi application designwsgy
is inspired by flask and awesome-python-webapp
from wsgy import Server, App
app = App(__name__)
@app.get('/index')
def index():
return '<h1>Hello World!</h1>'
if __name__ == '__main__':
httpd = Server('', 8888, app)
httpd.serve_forever()