Possible Duplicate:PESTON REST Infrastructure Recommendations (Web Services)
I am looking for RESTful Python web framework (preferably Python 3). It should have the following things:
PUT
POST
GET
What would you recommend?
pyramid 1.3 python 3.2
http://www.pylonsproject.org/projects/pyramid/about
docs: http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/
: http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/narr/webob.html#request
view config decorator: http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/narr/viewconfig.html
, .
@view_config(route_name='wiki', renderer='base.pt', request_method='POST') def view(request): return {'a': None} @view_config(route_name='wiki', renderer='base.pt', request_method='PUT') def view(request): return {'a': None}
, Python REST (-)? @martin -api. - RESTful framework, , .
Flask Bottle. , - WSGI Python...
, HTTP. CherryPy, HTTP, -. HTTP , . CherryPy , : , , Allow, auth negotiation. 3.2 cgi temp , .
The non-blocking web server and Tornado infrastructure looks promising. This is a bit like web.py with an event-driven model, such as the JavaScript node.js framework (but with a more convenient language). But I have not tested it yet.