For my current project at Tonic Labs, I needed to make a JSON REST API, and I needed to make one fast. After some thought, I decided to go with Python as the language to write the API in. Now I needed to choose a framework. I immediately ruled out Django for the simple fact that it would be overkill for what I needed to do. I needed something lightweight. So I turned to Flask . Flask is a web microframework based on Werkzeug and Jinja2. It is extremely easy to use and provides the right tools to do the job without getting in the way. Below is a sample of what a minimal REST API in Flask would look like.