Skip to main content

A simple JSON API framework based on Tornado

Project description

Tornado-JSON

Build Status PyPI version Coverage Status Stories in Ready

Overview

Tornado-JSON is a small extension of Tornado with the intent providing the tools necessary to get a JSON API up and running quickly. See demos/helloworld/ for a quick example and the accompanying walkthrough in the documentation.

Some of the key features the included modules provide:

  • Input and output JSON Schema validation by decorating RequestHandlers
  • Automated route generation with routes.get_routes(package)
  • Automated Public API documentation using schemas and provided descriptions
  • Standardized output using the JSend specification

Read the Docs for documentation!

Warning: Tornado-JSON is still very much a work in progress. No guarantees on backwards-compatibility made, however, I try not to do that since, as a user, I hate breaking it at least as much as you. That being said, use it at your own risk.

Dependencies

Python2.7 is the only supported version (as you might suspect).

These dependencies can be satisfied by running pip install -r requirements.txt

Required:

  • tornado
  • jsonschema

If you’re using tornado_json.db:

  • torndb
  • dataset

Project details


Release history Release notifications

History Node

1.3.2

History Node

1.3.1

History Node

1.3.0

History Node

1.2.2

History Node

1.2.1

History Node

1.2.0

History Node

1.1.0

History Node

1.0.1

History Node

1.0.0

History Node

0.41

History Node

0.40

History Node

0.31

History Node

0.30

History Node

0.20

History Node

0.14

History Node

0.13

History Node

0.12

History Node

0.11

This version
History Node

0.10

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
Tornado-JSON-0.10.tar.gz (9.0 kB) Copy SHA256 hash SHA256 Source None Feb 16, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page