Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

python RESTful webservice framework: roll my own or is there a recommended library?

I need to write a python webservice, but I would rather use a LIGHT WEIGHT framework (no one mention Django please), so that I can cater for more complicated scenarios in the future.

Is there a (peer) recommended library that I can use or at least can provide a good starting point?

[Edit]

To clarify, I am talking about a RESTful web service here - nothing to do with SOAP and/or WSDL

like image 501
oompahloompah Avatar asked Mar 28 '11 13:03

oompahloompah


3 Answers

Try Pyramid, which is the result of a merger between the Pylons and repoze.bfg frameworks. It's relatively lightweight, yet robust and well-documented.

For RESTful services in Pyramid, you might find this blog post interesting.

like image 196
asthasr Avatar answered Nov 17 '22 16:11

asthasr


I suggest you look at Cherry Py. http://cherrypy.org/

like image 33
Darrel Miller Avatar answered Nov 17 '22 15:11

Darrel Miller


I was in a similar situation looking for lightweight, and tired of Django. I came across web.py, which seems to be as lightweight as it can get.

web.py main site: http://webpy.org/ web.py github: https://github.com/webpy/webpy

like image 2
Greg Flynn Avatar answered Nov 17 '22 16:11

Greg Flynn