Coding

Falcon – high-performance API and web microframework

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
FlaskHugely popular microframework based on Werkzeug and Jinja2
FastAPIWeb framework for building APIs
StarletteLightweight ASGI framework/toolkit
aiohttpAsynchronous HTTP client/server for asyncio and Python
SanicWeb server and web framework
FalconBuild cloud APIs, smart proxies, and app backends
QuartWeb microframework based on Asyncio
PyramidStart small, finish big, stay finished framework
BottleFast, simple and lightweight WSGI micro web framework
ChalicePython Serverless Microframework for AWS
CherryPyMature, minimalist, Python object-oriented web framework
TurboGearsHybrid framework acting as a Full Stack framework or Microframework
QuixoteAimed at sites where complex programming is required
KleinMicro-framework for developing production-ready web services with Python
circuitsLightweight event driven application framework
ClasticFunctional web framework
HugMake developing Python driven APIs as simple as possible
MicroPieUltra-micro ASGI Python web framework
LitestarPowerful, lightweight, and flexible ASGI framework
BlackSheepAsynchronous Python web framework
RobynPython web framework designed for high performance
MicrodotSmall web framework for Python and MicroPython

Read our verdict in the software roundup.


Best Free and Open Source Software 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.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted