What python framework can be used to build a REST api?
1–10 of 10 posts
Re: What python framework can be used to build a REST api?
#2Re: What python framework can be used to build a REST api?
#3You don't necessarily even need a framework. You could use some libraries. You only need: routing, HTTP request processing, and HTTP response preparation.
Re: What python framework can be used to build a REST api?
#4Just because a framework offers views doesn't mean that it's too heavy for you. If no views are being processed, they're adding a negligible amount of overhead just from loading the code. You don't necessarily even need a framework. You could use some libraries. You only need: routing, HTTP request processing, and HTTP response preparation.
Re: What python framework can be used to build a REST api?
#5have you looked into Tornado?
Re: What python framework can be used to build a REST api?
#6Flask just gives you the routing part maybe you can even strip flask out of it and just use wsgi.
You can try http://python-eve.org/ too
Re: What python framework can be used to build a REST api?
#7Just because a framework offers views doesn't mean that it's too heavy for you. If no views are being processed, they're adding a negligible amount of overhead just from loading the code. You don't necessarily even need a framework. You could use some libraries. You only need: routing, HTTP request processing, and HTTP response preparation.
links please ?
In general, I strongly support the idea of tying together tiny libraries, rather than using a framework. It takes months to learn every line of code in an end-to-end framework, but if you're pulling in just the 2-3 libraries you need, you can understand every line of your code. That's really important for efficiency/bugfixing/maintenance.
You might want to check out Bobo: http://bobo.digicool.com/en/latest/index.html
Re: What python framework can be used to build a REST api?
#8Re: What python framework can be used to build a REST api?
#9Just because a framework offers views doesn't mean that it's too heavy for you. If no views are being processed, they're adding a negligible amount of overhead just from loading the code. You don't necessarily even need a framework. You could use some libraries. You only need: routing, HTTP request processing, and HTTP response preparation.
links please ?
Note: Flask is basically just a combination of werkzeug and jinja for templating.