Skip to main content

A framework to simplify tornado daemon development.

Project description

https://travis-ci.org/cfhamlet/os-tornado.svg?branch=master https://codecov.io/gh/cfhamlet/os-tornado/branch/master/graph/badge.svg

A framework to simplify tornado daemon development and project orgnization.

Requirements

  • Python2.7

  • Works on Linux

Install

python setup.py install

Usage

  • Create project

    os-tornado startproject new_project

    Will create a project structure:

     new_project/
    ├── app
    │   ├── extensions
    │   │   ├── example_extension.py
    │   │   ├── __init__.py
    │   ├── request_handlers
    │   │   ├── example_handler.py
    │   │   ├── __init__.py
    │   ├── __init__.py
    │   ├── settings.py
    └── manager.py
  • Write your extensions and request handlers

  • Configure settings (app/settings.py)

  • Run server

    python manager runserver

Unit Tests

$ tox

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

os-tornado-0.1.0.tar.gz (15.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page