Skip to content

leadermin/dp-tornado

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dp-tornado

MVC Web Application Framework with Tornado, Python 2 and 3

To install the package run:

pip install dp-tornado

Bootstrap Code

# -*- coding: utf-8 -*-
# __init__.py


import os

from dp_tornado import Bootstrap

kwargs = {
    'initialize': True,  # If this value specified True, create default directories and files.
    'application_path': os.path.join(os.path.dirname(os.path.realpath(__file__))),
    'scheduler': [
        ('* * * * *', 'scheduler.foo')
    ]
}

bootstrap = Bootstrap()
bootstrap.run(**kwargs)

Run

$ pip install dp-tornado
$ python __init__.py

Requisites

Dependencies

About

MVC Web Application Framework with Tornado, Python 2 and 3

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 98.7%
  • Other 1.3%