fastapi-slim
FastAPI framework, high performance, easy to learn, fast to code, ready for production
What it is and what it does
fastapi-slim is a deprecated shim package that does nothing except depend on fastapi. It was created as a migration path for projects that historically depended on fastapi-slim when that was a separate distribution, but all functionality has since been integrated into fastapi itself. The package is no longer maintained and will receive no updates.
The package's own documentation explicitly warns against installing it and directs users to install fastapi directly instead. It exists solely as a compatibility layer for legacy projects that have not yet updated their dependency declarations.
Use it for:
- Updating legacy projects that declared fastapi-slim as a dependency to migrate them to the current fastapi package
- Temporary compatibility bridge during a codebase migration from fastapi-slim to fastapi
- Understanding why fastapi-slim exists and why it should be removed from your project
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
This package is a deprecated migration shim that depends solely on fastapi; it exists only to redirect old projects and should not be installed.
No. Do not install this package. The package's own documentation explicitly states 'You should not install this package' and directs you to install fastapi instead. It is deprecated, will receive no updates, and serves no purpose except as a migration aid for projects that have not yet updated their dependencies.
Install
fastapi-slim on PyPI
pip
pip install fastapi-slimuv
uv add fastapi-slimpoetry
poetry add fastapi-slimInstalling fastapi-slim
Before you install
Low install friction, but maintenance status is moot: the package is explicitly deprecated and will receive no further updates. Its only purpose is to redirect old projects to fastapi itself.
License in practice
MIT license permits free use and modification, but this is irrelevant since the package is deprecated and should not be installed.
Quickstart
# Do not use this package.
# Install fastapi instead:
# pip install fastapi
# If you currently have fastapi-slim in your requirements,
# replace it with:
# pip install fastapi
This package is deprecated and should not be installed; use fastapi directly instead.
Verify before relying
- Whether any real projects still depend on fastapi-slim and would break if it were removed from PyPI
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — fastapi |
| Maintenance | actively maintained — 174 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 83,410/month — #14,077 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: fastapi_slim-0.129.1-py3-none-any.whl
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
cadwynCadwyn generates older API versions…
permissive · top 5,000 on PyPI
lia-weblia-web is a deprecated shim package that…
permissive · top 15,000 on PyPI
modal-clientThis package is a deprecated compatibility shim…
unclear · top 15,000 on PyPI
sail-sdksail-sdk is a deprecated compatibility shim…
unclear · top 15,000 on PyPI
typer-cliThis package is a deprecated migration shim…
permissive · top 15,000 on PyPI
typer-slimtyper-slim is a deprecated migration shim that…
permissive · top 5,000 on PyPI
logfire-apilogfire-api provides a no-op shim of the…
permissive · top 1,000 on PyPI
packaging-legacyProvides access to deprecated Python packaging…
permissive · top 15,000 on PyPI
reductoThis package is an alias that installs the…
permissive · top 15,000 on PyPI