4 ms·
A simple REST api framework for Python is something I've been looking for, and this definitely fits the bill. Unfortunately, I need to use it with Postgres. For
by noelherrick 13y ago
A simple REST api framework for Python is something I've been looking for, and this definitely fits the bill. Unfortunately, I need to use it with Postgres. For those who also have this requirement, it looks like they have a SQLAlchemy development branch that enables support for relational databases. Looks promising!
- miesie 13y agoThis indeed looks promising and lightweight. For relational databases there is always Django Tastypie (although it depends on Django and is heavier than this Flask alternative) http://tastypieapi.org/ http://tastypieapi.org/
- jhh 13y agoUsing Flask, SQLAlchemy what is it that you are missing?
- kennywinker 13y agoWriting the glue takes a surprising amount of time/energy/learning for a newb. I've got a couple of hobby projects on the go where I am learning to create webapps / rest apis using flask + SQLAlchemy. None of these projects are anywhere near shippable. Not knocking the tools, they're great + fun. But writing the glue gets non-trivial fast once you step beyond a single table with no access control.
- Todd 13y agoHave you tried Bottle? It is very simple, defined in one file that you include with your project. It has attribute-based routing (including PUT!). It's great for smaller projects and prototyping. I'm not sure how well it scales to larger projects.
- plq 13y agoHave a look at Spyne: http://spyne.io http://spyne.io Specifically: http://spyne.io/#s=sql&ser=Json&show=Data http://spyne.io/#s=sql&ser=Json&show=Data
- johns 13y agoTry flask-restful
- shirkey 13y agoalso Flask-Restless (http://flask-restless.readthedocs.org http://flask-restless.readthedocs.org)