Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Starter application and handlers for tornado web apps.

Project description

A base application and boilerplate for the Tornado web server.


To include tornadobase in your application install using pip:

pip install tornadobase

Run the tests

pip install nose



tornadobase provides basic Application and Handler classes that wrap up some of the boilerplate you’ll typically need when using the Tornado web server. To get a simple site running, create a file called

from tornadobase.handlers import BaseHandler
from tornadobase.application import Application

class IndexHandler(BaseHandler):

    def get(self):
        self.write('Hello, World!')

class MyApp(Application):

    def init_handlers(self):

        self.handlers = [
            (r'/', IndexHandler)

Then start the web server:


Project details

Download files

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

Files for tornadobase, version 0.1.7
Filename, size File type Python version Upload date Hashes
Filename, size tornadobase-0.1.7-py2.py3-none-any.whl (5.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size tornadobase-0.1.7.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View

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