Plain is headed towards 1.0! Subscribe for development updates →
1import plain.runtime 2from plain.internal.handlers.wsgi import WSGIHandler 3 4 5def _get_wsgi_application(): 6 plain.runtime.setup() 7 return WSGIHandler() 8 9 10# The default `plain.wsgi:app` WSGI application 11app = _get_wsgi_application()