How to Create a REST API with Falcon, The no-nonsense, minimalist web framework for Python developers

Esther Vaati
5 min readMar 16, 2022

An Introduction to the Falcon Framework

Photo by Viktor Jakovlev on Unsplash

Falcon is a light-weight Python web API framework for building high-performance microservices, app backends, and higher-level frameworks. This tutorial will give an introduction to Falcon, its major features, and how to install Falcon. We’ll also build a simple RESTful API with Falcon.

Advantages of Falcon Compared to Other Frameworks

According to the documentation, some of the features of Falcon that make it superior to other Python frameworks include:

Speed — Falcon requests work several times faster than most other Python frameworks. Additionally, Falcon works well when combined with Cython, giving it an extra speed boost; it also works well with PyPy.

Flexibility — Falcon leaves a lot of the implementation details to you, the developer; hence there’s freedom to customize your implementation.

Ease of debugging — In Falcon, logic paths are understandable and straightforward, which makes it easier to reason with the code and perform code debugging.

Features

  • Highly-optimized code base

--

--

Esther Vaati
Esther Vaati

Written by Esther Vaati

Get practical JavaScript tips and code snippets delivered to your inbox. Join 1000 + developers who write better code. https://practicaljavascript.substack.com/