Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Micro web framework around asyncio (ex tulip)

Project Description


To start off, rainfall is a micro web framework around asyncio (ex tulip), similiar to the cyclone or tornado. Since it is asyncio based, rainfall is fully asyncronous.

The performance tests have shown that rainfall is not slower then twisted+cyclone and sometimes even faster (benchmark results will be posted later or you can test it by yourself).


As simple as:

pip install rainfall


sometimes pip for python 3 is called pip3, but you may have it with other name

Hello world

Let’s create a simple hello world app in file like this:

import asyncio
from rainfall.web import Application, HTTPHandler

class HelloHandler(HTTPHandler):
    def handle(self, request):
        return 'Hello!'

app = Application(
        r'^/$': HelloHandler(),

if __name__ == '__main__':

Now you can run it by:


And go to in browser, you should see “Hello!”


Author: Anton Kasyanov (

Contributors: mksh (

Release History

This version
History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(6.7 kB) Copy SHA256 Hash SHA256
Source None Jan 8, 2014

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting