Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What Python framework for a REST/JSON web service with no front end?

I need to create a Python REST/JSON web service for an iOS app to interact with. There will be no front end on the web.

What will be the fastest, most lightweight framework to use for this? Learning curve to implement also considered?

From the research I've done Django-Tastypie or Djanjo-Piston look like the best options, with Tastypie winning because the codebase is being maintained actively?

like image 504
Rick Avatar asked Oct 30 '11 04:10

Rick


People also ask

Which framework is used for building rest APIs In Python?

Flask Restful is an extension of the Flask framework used by developers to build rest APIs quickly. It is known for making micro web services because it has a very lightweight module. It is swift and requires only a few code lines to initialize the Flask and start using it to make an API.

Can Python be used for REST API?

By using Python and REST APIs, you can retrieve, parse, update, and manipulate the data provided by any web service you're interested in.

Which is your preferred Python API framework and why?

Flask. Flask is a massively popular web framework for Python. With over 50k stars on GitHub, it is the most widely used and well-adapted framework for building web applications using Python. Over the years, Flask has added a lot of feature updates, which makes it almost as good as a full stack framework.


1 Answers

At Pycon Australia, Richard Jones compared the most popular lightweight web frameworks. Bottle came out on top. Here is the full presentation.

like image 51
Raymond Hettinger Avatar answered Oct 08 '22 04:10

Raymond Hettinger