fastapi
FastAPI framework, high performance, easy to learn, fast to code, ready for production
Install
fastapi on PyPI
pip
pip install fastapiuv
uv add fastapipoetry
poetry add fastapiPackage facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 5 — starlette, pydantic, typing-extensions, typing-inspection, annotated-doc |
| Maintenance | actively maintained — 15 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the 100 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: fastapi-0.141.1-py3-none-any.whl
About fastapi
from the package's own PyPI description — quoted content, verbatim
<p align="center"> <a href="https://fastapi.tiangolo.com"><img src="https://fastapi.tiangolo.com/img/logo-margin/logo-teal.png" alt="FastAPI"></a> </p> <p align="center"> <em>FastAPI framework, high performance, easy to learn, fast to code, ready for production</em> </p> <p align="center"> <a href="https://github.com/fastapi/fastapi/actions?query=workflow%3ATest+event%3Apush+branch%3Amaster"> <img src="https://github.com/fastapi/fastapi/actions/workflows/test.yml/badge.svg?event=push&branch=master" alt="Test"> </a> <a href="https://coverage-badge.samuelcolvin.workers.dev/redirect/fastapi/fastapi"> <img src="https://coverage-badge.samuelcolvin.workers.dev/fastapi/fastapi.svg" alt="Coverage"> </a> <a href="https://pypi.org/project/fastapi"> <img src="https://img.shields.io/pypi/v/fastapi?color=%2334D058&label=pypi%20package" alt="Package version"> </a> <a href="https://pypi.org/project/fastapi"> <img src="https://img.shields.io/pypi/pyversions/fastapi.svg?color=%2334D058" alt="Supported Python versions"> </a> </p>
Documentation: https://fastapi.tiangolo.com
Source Code:...
Read as markdown · JSON record · Source repository · Homepage · Docs
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
FastAPI is a modern Python web framework for building high-performance APIs using standard type hints, with automatic interactive documentation and built-in validation via Pydantic.
Low install friction with a pure-Python wheel distribution. Active maintenance with a recent release 15 days ago and strong repository activity. Requires Python 3.10 or later.
MIT license permits broad use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
Usage
pip install fastapi
from fastapi import FastAPI
app = FastAPI()
@app.get("/")
def read_root():
return {"message": "Hello World"}
Requires Python 3.10 or later; an ASGI server is needed to run the application in production.
Verdict: FastAPI is actively maintained with zero known vulnerabilities and permissive MIT licensing. Its integration with Pydantic and Starlette provides runtime validation and async support with low install friction, making it production-ready for building modern Python APIs.
Needs verification
- Whether all five runtime dependencies (starlette, pydantic, typing-extensions, typing-inspection, annotated-doc) are strictly required or if some are optional.
- Performance characteristics relative to other async Python frameworks in real-world deployments.
- Community adoption rate and ecosystem maturity beyond repository metrics.
Similar packages
permissive · top 100 on PyPI
griffepermissive · top 1,000 on PyPI
typerpermissive · top 1,000 on PyPI
fastapi-cloud-clipermissive · top 1,000 on PyPI
openapi-pydanticpermissive · top 1,000 on PyPI
sentry-sdkpermissive · top 1,000 on PyPI
fastapi-clipermissive · top 1,000 on PyPI
cycloptspermissive · top 1,000 on PyPI
gunicornpermissive · top 1,000 on PyPI
xgboostpermissive · top 1,000 on PyPI