July Tornado is a better way to organize your Tornado project
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is even with lepture:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
example
july
scripts
test
.gitignore
.gitmodules
.travis.yml
LICENSE
MANIFEST.in
Makefile
README.rst
setup.py

README.rst

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.