MVC Web Application Framework with Tornado, Python 2 and 3
To install the package run:
pip install dp-tornado
# -*- 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)
$ pip install dp-tornado
$ python __init__.py
- Python 3.x
- Python 2.7
- Minifier Minify CSS, Javascript