Falcon is a minimalist web framework designed for building HTTP APIs, microservices and application backends. It emphasises predictable request handling, performance and direct control over the behaviour of web services.
The framework follows a resource-oriented programming model. Developers define resources that respond to HTTP methods and associate them with URL patterns. Falcon handles the surrounding HTTP processing while allowing application code to determine how data is represented and manipulated.
Falcon supports both synchronous WSGI applications and asynchronous ASGI applications. Its small core makes it suitable for systems that need to integrate their own data access, validation and authentication components rather than adopting a prescribed application stack.
This is free and open source software.
Key Features
- Resource-oriented routing using URI templates and HTTP method responders.
- Support for both WSGI and ASGI application interfaces.
- Native asynchronous request handling and WebSocket support.
- Request and response objects for accessing headers, parameters, bodies and HTTP metadata.
- Middleware components for processing requests and responses.
- Hooks for applying reusable logic to resources and individual responders.
- Media handlers for parsing and serializing structured request and response bodies.
- Streaming request bodies and HTTP responses.
- Custom HTTP error handling and exception processing.
- Centralised route management without requiring global application state.
- Support for RESTful APIs, smart proxies and backend services.
- Extensible application architecture with third-party components and integrations.
- Testing helpers for WSGI and ASGI applications, including simulated HTTP requests.
- Optional Cython compilation for optimising selected framework components.
Website: falconframework.org
Support:
Developer: Rackspace Hosting, Inc. and other contributors
License: Apache License 2.0
Falcon is written in Python. Learn Python with our recommended free books and free tutorials.
Related Software
| Best Python Micro Frameworks | |
|---|---|
| Flask | Hugely popular microframework based on Werkzeug and Jinja2 |
| FastAPI | Web framework for building APIs |
| Starlette | Lightweight ASGI framework/toolkit |
| aiohttp | Asynchronous HTTP client/server for asyncio and Python |
| Sanic | Web server and web framework |
| Falcon | Build cloud APIs, smart proxies, and app backends |
| Quart | Web microframework based on Asyncio |
| Pyramid | Start small, finish big, stay finished framework |
| Bottle | Fast, simple and lightweight WSGI micro web framework |
| Chalice | Python Serverless Microframework for AWS |
| CherryPy | Mature, minimalist, Python object-oriented web framework |
| TurboGears | Hybrid framework acting as a Full Stack framework or Microframework |
| Quixote | Aimed at sites where complex programming is required |
| Klein | Micro-framework for developing production-ready web services with Python |
| circuits | Lightweight event driven application framework |
| Clastic | Functional web framework |
| Hug | Make developing Python driven APIs as simple as possible |
| MicroPie | Ultra-micro ASGI Python web framework |
| Litestar | Powerful, lightweight, and flexible ASGI framework |
| BlackSheep | Asynchronous Python web framework |
| Robyn | Python web framework designed for high performance |
| Microdot | Small web framework for Python and MicroPython |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.