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

Minimal, fast and intuitive REST HTTP services in python

Project Description
Author: I (iroiso at live dot com)
License: Apache License 2.0
© 2011, June inc.

Gates
=====
Minimal, fast and intuitive REST HTTP services in python.
features:

+ Plain, JAX-RS like http verb mapping and routing.
+ WSGI 1.0 compatibility.
+ Plain simple form handling.
+ No inbuilt templating, Use your favorite.
+ No built in session management.
+ Database agnostic. [Check out "http://github.com/junery/homer" for persistence]


Sample Code:
------------
Hello world through the Gates,

```python
from gates.core import run, Application, Resource, Path, Route, GET

@Path("/hello")
class HelloResource(Resource):
'''The simplest resource you can conceive'''

@GET
@Route("/{name}")
def hello(self, name):
self.response.write("Hello %s !" % name)

#Deploying and running.
root = Application(base="/", resources=[HelloResource,])
run(root)

```
Now visit http://localhost:8080/hello/iroiso in your browser.

Notes:
------
Another opensource project made with love in the Junery; pragmatic, simple,
beautiful and pleasurable to use.
Release History

Release History

This version
History Node

v1.0.0.beta

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
Gates-v1.0.0.beta.tar.gz (10.6 kB) Copy SHA256 Checksum SHA256 Source Jun 9, 2012

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