Author: I (iroiso at live dot com)
License: Apache License 2.0
© 2011, June inc.
Minimal, fast and intuitive REST HTTP services in python.
+ 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]
Hello world through the Gates,
from gates.core import run, Application, Resource, Path, Route, GET
'''The simplest resource you can conceive'''
def hello(self, name):
self.response.write("Hello %s !" % name)
#Deploying and running.
root = Application(base="/", resources=[HelloResource,])
Now visit http://localhost:8080/hello/iroiso in your browser.
Another opensource project made with love in the Junery; pragmatic, simple,
beautiful and pleasurable to use.
TODO: Brief introduction on what you do with files - including link to relevant help section.