This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Help us improve Python packaging - Donate today!
Project Description
Express Extension for Tornado

**A RESTful extension for tornado.**

*Note: It's under very basic development now, every thing can be changed in the next commit.*

1. XXX

Quick Start

# -*- coding: utf-8 -*-
from torexpress.application import ExpressApplication
from torexpress.handler import ExpressHandler
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy import Column, Integer, String, Sequence, MetaData, ForeignKey
from sqlalchemy.orm import relationship, backref
from sqlalchemy.orm.query import Query

Base = declarative_base()

class User(Base):
__tablename__ = 'users'
id = Column(Integer, Sequence('user_id_seq'), primary_key=True)
name = Column(String(50), nullable=False, unique=True)
fullname = Column(String(50), nullable=True)
password = Column(String(40), nullable=True)

class UserHandler(ExpressHandler):
"""UserHandler to process User table."""

class Meta:
table = User

def password_encoder(self, passwd, inst=None):
import hashlib
return'md5', passwd).hexdigest()

if __name__ == "__main__":
import tornado.ioloop
application = ExpressApplication([UserHandler.route_to('/users'), ],
dburi='sqlite:///:memory:', loglevel='DEBUG', debug=True)


- Tornado >= 3.1.1
- SQLAlchemy >= 0.8
- Simplejson
Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
tornado-torexpress-0.1.5.tar.gz (19.8 kB) Copy SHA256 Checksum SHA256 Source Mar 18, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting