Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Toran API server package

Project Description

# The Toran WSGI module This is an API gateway built on top of python’s native wsgiref module. It aims to be as simplistic and configurable as possible without recompiling the source.

## Config Driven Development The gateway was built with one thing in mind: ‘’Write less code, Write more config files’‘. Why? Because you would prefer to have modular, understandable elements in a key element of the architecture.

### actions.ini In here you can create/update/delete different actions to take on any resource. For example a list is a GET on a resource without ID specified while a delete is a DELETE method with id specified.

### rules.ini In here you provide the rules for each resource, what actions they can perform (list, create, etc).

## The Server Script ** is a python script that loads the config files once and starts serving requests using wsgi. Please check out the handlers package and its utils.

## Reloading There is a script called that changes a byte in a file which then is kept in memory by the server, the server then checks it and reloads the configs without missing requests (This happens on the single next request).

Release History

Release History

This version
History Node


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
toran-0.0.1.tar.gz (19.3 kB) Copy SHA256 Checksum SHA256 Source May 6, 2016

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