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 with schema.validate

  • 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 and Python3.3 are supported.

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

  • tornado

  • jsonschema

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

Tornado-JSON-0.20.tar.gz (9.3 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