Skip to main content

Sample Twisted Klein Application

Project description

Build Status Code Coverage Requirements Status

A sample application in Python, using the Klein web framework.

Klein is a lightweight web framework, similar to Flask or Bottle. The primary differentiator for Klein is that it is built on the Twisted framework, which enables one to write asynchronous applications.

This sample application attempts to demonstrate a few things:

  • Basic usage of Klein. See
  • Using URL path components as arguments. See
  • Use of handle_errors to catch exceptions and respond with an appropriate error. See
  • Composition of Klein applications. See
  • Using Twisted to write asynchronous code using async/await. See

Project details

Release history Release notifications

This version


Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page