[BangPypers] export methods from a python class as RESTful webservice calls
Umar Shah
umar43 at gmail.com
Thu Jun 23 13:08:19 CEST 2011
Hello group,
I have used Django, Pylons for different projects before but i want
something minimal without overheads of MVC frameworks.
say I have something like
class X(object):
...
def A(p1, p2,...):
....
return {'state':x}
def B(p1, p2,..):
....
return {'state':y}
I want to expose calls to A and B over HTTP.
Assuming I do not want any more features, I was wondering is what would be
best/ efficient way to export methods A, B as RESTfull webservice calls.
thanks,
umar
More information about the BangPypers
mailing list