/july

July Tornado is a better way to organize your Tornado project

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

July

https://secure.travis-ci.org/lepture/july.png

July is the best season for Tornado , it’s all about how to organize a tornado project. It is inspired by Django and Flask.

This is a project by Hsiaoming Yang. All projects are listed at project page.

Feature

  • Organize tornado as App
  • Built-in SQLAlchemy
  • Flash message design
  • Built-in Mail App

and more.

Overview

A minimal July Application:

from july.web import JulyHandler
from july.app import JulyApplication


class HelloHandler(JulyHandler):
    def get(self):
        self.write('Hello July')

handlers = [('/', HelloHandler)]
application = JulyApplication(handlers=handlers)

if __name__ == '__main__':
    from july import run_server
    run_server(application)

Get more information on Documentation.

Installation

This project is UNDER DEVELOPMENT, it is not robust.

  • Install with pip:

    $ pip install july
    
  • Install with easy_install:

    $ easy_install july
    

Bug report

If you have any trouble, report bug at GitHub Issue.