twork is a server-app framework based on tornado
Project description
# twork
**twork** is a server-app framework based on **tornado**
## Features
### Web Framework
Control/Model separation, users simply writing Application Model
### Unified Infrastructure
access logging, status statistics, overload protection, IP checking and so on
### Open Design
Not only for web framework, can be directly embedded other control model
## Install
pip install twork
## TworkApp Builder
Create your own project based on twork, **virtualenv** is recommend.
+ twork-admin -app=$APP -prefix=~/workspace
+ write your web request handler in $APP/$APP/web/action, and should be Inherited
from twork.web.action.BaseHandler
### Environment
+ [virtualenv](http://www.virtualenv.org/en/latest/) is a tool to create
isolated Python environments
## Usage
+ tworkd --app_module=$APP.twork_injection
Case
------------
+ http://localhost:8000/v1.0/twork/stat
## Requirements
The following libraries are required
+ tornado==2.4.1
+ setproctitle==1.1.8
+ nose==1.3.3
## Issues
Please report any issues via [github issues](https://github.com/bufferx/twork/issues)
**twork** is a server-app framework based on **tornado**
## Features
### Web Framework
Control/Model separation, users simply writing Application Model
### Unified Infrastructure
access logging, status statistics, overload protection, IP checking and so on
### Open Design
Not only for web framework, can be directly embedded other control model
## Install
pip install twork
## TworkApp Builder
Create your own project based on twork, **virtualenv** is recommend.
+ twork-admin -app=$APP -prefix=~/workspace
+ write your web request handler in $APP/$APP/web/action, and should be Inherited
from twork.web.action.BaseHandler
### Environment
+ [virtualenv](http://www.virtualenv.org/en/latest/) is a tool to create
isolated Python environments
## Usage
+ tworkd --app_module=$APP.twork_injection
Case
------------
+ http://localhost:8000/v1.0/twork/stat
## Requirements
The following libraries are required
+ tornado==2.4.1
+ setproctitle==1.1.8
+ nose==1.3.3
## Issues
Please report any issues via [github issues](https://github.com/bufferx/twork/issues)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
twork-2.0.0.3-py2.7.egg
(47.1 kB
view hashes)