Fresco, a Python web micro-framework

  • Get started quickly, then scale up without restricting your choice of templating, database or other libraries.
  • Simple, powerful URL routing, request and response objects.
  • Zero dependencies and Python 3 ready.
from fresco import FrescoApp, GET, Response

def helloworld():
    return Response("<h1>Hello World!</h1>")

app = FrescoApp()
app.route('/', GET, helloworld)

Fresco is easy to install and run. Save the example code above as, then run it with any WSGI web server:

$ pip install fresco gunicorn
$ gunicorn hello:app

Documentation contents

Indices and tables