Inactive

Project Summary

  Analyzed 7 days ago based on code collected 7 days ago.

resttoolsresttools builds on top of restish and attempts to simplify the RESTful publishing of Python objects.

Note: resttools is still very much in an alpha state, and the api and interfaces will very likely change.

Hello World(from /examples/hello.py)

from restish import app
from wsgiref.simple_server import make_server
from resttools.publisher.basics import Publish

data = {
'message' : 'Hello World!',
}

print 'Serving on http://localhost:8000'
make_server('', 8000,
app.RestishApp(Publish(data))
).serve_forever()More examples can be found under /examples.

PhilosophyThe primary goal of resttools is to provide a set of libraries and tools that make the creation of consistent RESTful interfaces to python objects simple.

The preferred machine representation is JSON. Other renderings can be added, and an XML renderer is planned.

HTML, while machine readable, is the preferred representation for human consumption. Extra information is added to this representation to make it easier for humans to discover and use.

Share

In a Nutshell, resttools...

 

Activity

30 Day Summary Apr 14 2013 — May 14 2013

12 Month Summary May 14 2012 — May 14 2013

Community

Ratings

Be the first to rate this project
 
Click to add your rating
 
Review this Project!
 
 
 

Creative Commons License Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.