You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

fresco

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fresco

A Web/WSGI micro-framework

3.7.0
PyPI
Maintainers
1

Fresco, a web micro-framework for Python

The fresco web framework is:

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

A minimal fresco web framework application:

.. code-block:: python

from fresco import FrescoApp, GET, Response

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

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

Read the fresco web framework documentation <https://ollycope.com/software/fresco/latest/>_ for more about the framework, or visit the source repo <https://sr.ht/~olly/fresco/>_.

Keywords

wsgi

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts