Python microstructure for RESTful applications?

I used to use web2py , which is nice, but a bit heavy for my purposes.

I am mainly looking for a Python microframe with:

  • Automatic no-arg function -> controller conversion (endpoint) (or simple syntax @app.route())
  • The ability to expose (send / receive) these endpoints as JSON; and restrict their access using the HTTP verb (for example: only GET); at the level of [controller]
  • Automatic assembly of errors / exceptions (with tracking)
  • Deployment Capability for Hero and OpenShift

Thinking wheezy.web , the Flask , bottle or pyramid ...

From an MVC point of view, all I need is models (db + schema) and controllers (managing HTTP verbs + endpoints + connecting to / from models).

+5
source share
1 answer

Take a look at the python framework . Try using Grok or TurboGears.

0
source

All Articles