1. ollyc
  2. fresco

Overview

HTTPS SSH

Fresco, a web micro-framework for Python

The fresco web framework is:

  • Lightweight and open to integration: you pick the templating and database libraries you want.
  • Fast and flexible
  • Simple, powerful URL routing, request and response objects.
  • WSGI compliant: easy integration with your choice of web server, apps and middleware.

A minimal fresco framework application:

from fresco import FrescoApp, GET, Response

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

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

Read the fresco documentation to find out more about the framework, or visit the bitbucket repo.