July Tornado: a better way to organize your tornado project
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.
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.
This project is UNDER DEVELOPMENT, it is not robust.
Install with pip:
$ pip install july
Install with easy_install:
$ easy_install july
If you have any trouble, report bug at GitHub Issue.