skillfed

falcon

The ultra-reliable, fast ASGI+WSGI framework for building data plane APIs at scale.

falcon v4.3.1 1.8M downloads/30d#3,507 on PyPI9,796
Permissive license Apache-2.0 Active released

What it is and what it does

Falcon is a web framework built from the ground up for REST APIs and microservices. It strips away unnecessary abstractions and dependencies, giving you direct control over HTTP semantics and request routing. The framework supports both ASGI (async) and WSGI (sync) protocols, works with standard Python servers, and compiles with Cython for extra performance when available.

You use Falcon when you need a fast, reliable, debuggable API backend without the overhead of heavier frameworks. It enforces no magic globals, requires explicit middleware and hooks, and keeps error handling straightforward. The zero-dependency design minimizes your app's attack surface and avoids transitive breakage. It's particularly suited for large-scale microservices, cloud deployments, and scenarios where performance and code clarity matter more than built-in conveniences.

Use it for:

  • Build a high-throughput REST API backend for a microservices architecture where performance and minimal dependencies are critical.
  • Create a lightweight HTTP service that needs to run on constrained infrastructure or inside containers with minimal footprint.
  • Develop an async API using native asyncio support for I/O-bound operations like database queries or external API calls.
  • Migrate from a heavier framework to reduce code size and response latency while maintaining HTTP correctness and RFC adherence.
  • Build a data plane API at scale where you need explicit control over routing, middleware, and error handling without framework magic.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Falcon is a minimalist ASGI/WSGI framework for building REST APIs and microservices, designed for high performance and reliability at scale with no external dependencies.

Yes. Falcon is production-ready, actively maintained, has no external dependencies, and is well-suited for REST APIs and microservices where performance and code clarity are priorities. Install it if you want a fast, reliable, minimalist framework; skip it if you need built-in ORM, templating, or admin interfaces that heavier frameworks provide out of the box.

Install

falcon on PyPI

pip

pip install falcon

uv

uv add falcon

poetry

poetry add falcon

Installing falcon

Before you install

Installation is straightforward with low friction—Falcon has zero runtime dependencies outside the standard library, reducing attack surface and transitive breakage risk. The project is actively maintained with recent releases and strong community engagement.

License in practice

Falcon is licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions—you may use, modify, and distribute it freely provided you include a copy of the license and state significant changes.

Quickstart

pip install falcon

import falcon

class HelloResource:
    def on_get(self, req, resp):
        resp.text = 'Hello, World!'

app = falcon.App()
app.add_route('/hello', HelloResource())

Requires Python 3.9 or later (CPython 3.9+ or PyPy 3.9+); a WSGI or ASGI server (e.g., gunicorn, uvicorn) is needed to run the app in production.

Verify before relying

  • Specific performance benchmarks against other frameworks (description mentions 'three times faster' but context is unclear)
  • Whether Cython compilation is automatic or requires additional setup on all platforms

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance actively maintained — 59 days since the last release
Last repo commit
First released
Downloads 1,833,126/month — #3,507 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: falcon-4.3.1-py3-none-any.whl

Keywords: asgi, wsgi, web, api, framework, rest, http, cloud

Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentIntended Audience :: DevelopersIntended Audience :: System AdministratorsNatural Language :: EnglishOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIXProgramming Language :: CythonProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Programming Language :: Python :: Free ThreadingProgramming Language :: Python :: Free Threading :: 3 - StableProgramming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Internet :: WWW/HTTP :: WSGITopic :: Software Development :: Libraries :: Application FrameworksTyping :: Typed

Tags

asgi wsgi web frameworkrest api framework pythonhigh performance microserviceslightweight http frameworkfast api frameworkminimalist web frameworkmission-critical rest apis
rest-apiasync-readyzero-dependencies

More Application Frameworks packages