FastAPI is a modern, fast (high-performance), web framework for building APIs
with Python based on standard Python type hints.
The key features are:
• Fast: Very high performance, on par with NodeJS and Go (thanks to Starlette
and Pydantic). One of the fastest Python frameworks available.
• Fast to code: Increase the speed to develop features by about 200% to
300%. *
• Fewer bugs: Reduce about 40% of human (developer) induced errors. *
• Intuitive: Great editor support. Completion everywhere. Less time
debugging.
• Easy: Designed to be easy to use and learn. Less time reading docs.
• Short: Minimize code duplication. Multiple features from each parameter
declaration. Fewer bugs.
• Robust: Get production-ready code. With automatic interactive
documentation.
• Standards-based: Based on (and fully compatible with) the open standards
for APIs: OpenAPI (previously known as Swagger) and JSON Schema.
* estimation based on tests on an internal development team, building
production applications.
Provides
Requires
License
MIT
Changelog
* Sat Oct 11 2025 Packit <hello@packit.dev> - 0.119.0-1
- Update to 0.119.0 upstream release
- Resolves: rhbz#2403294
* Fri Oct 10 2025 Packit <hello@packit.dev> - 0.118.3-1
- Update to 0.118.3 upstream release
- Resolves: rhbz#2403079
* Wed Oct 08 2025 Packit <hello@packit.dev> - 0.118.2-1
- Update to 0.118.2 upstream release
- Resolves: rhbz#2402517
* Wed Oct 08 2025 Packit <hello@packit.dev> - 0.118.1-1
- Update to 0.118.1 upstream release
- Resolves: rhbz#2402479
* Mon Sep 29 2025 Packit <hello@packit.dev> - 0.118.0-1
- Update to 0.118.0 upstream release
- Resolves: rhbz#2400050
* Sat Sep 20 2025 Packit <hello@packit.dev> - 0.117.1-1
- Update to 0.117.1 upstream release
- Resolves: rhbz#2397100
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 0.116.2-2
- Rebuilt for Python 3.14.0rc3 bytecode
* Wed Sep 17 2025 Packit <hello@packit.dev> - 0.116.2-1
- Update to 0.116.2 upstream release
- Resolves: rhbz#2395910
* Tue Sep 16 2025 Benjamin A. Beasley <code@musicinmybrain.net> - 0.116.1-13
- Updated patch for Starlette 0.48 from upstream PR (again)
* Mon Sep 15 2025 Benjamin A. Beasley <code@musicinmybrain.net> - 0.116.1-12
- Updated patch for Starlette 0.48 from upstream PR
* Sun Sep 14 2025 Benjamin A. Beasley <code@musicinmybrain.net> - 0.116.1-11
- Patch for Starlette 0.48
* Mon Sep 08 2025 Benjamin A. Beasley <code@musicinmybrain.net> - 0.116.1-10
- No longer patch out fastapi-cloud-cli dependencies
* Sun Aug 31 2025 Benjamin A. Beasley <code@musicinmybrain.net> - 0.116.1-9
- Install the fastapi command with python3-fastapi-slim
- It was removed from fastapi-cli as of 0.0.9, so we should provide it
here.
- Include completions and man pages.
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 0.116.1-7
- Rebuilt for Python 3.14.0rc2 bytecode
* Thu Jul 31 2025 Benjamin A. Beasley <code@musicinmybrain.net> - 0.116.1-6
- Restore uvicorn dependencies
* Tue Jul 29 2025 Benjamin A. Beasley <code@musicinmybrain.net> - 0.116.1-3
- Skip a test and ignore a warning for Pydantic 3.12.0a1
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.116.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Sun Jul 13 2025 Packit <hello@packit.dev> - 0.116.1-1
- Update to 0.116.1 upstream release
- Resolves: rhbz#2376868
* Sun Jul 06 2025 Benjamin A. Beasley <code@musicinmybrain.net> - 0.115.14-3
- Non-bootstrap build
* Fri Jun 27 2025 Benjamin A. Beasley <code@musicinmybrain.net> - 0.115.14-2
- Fix inline_snapshot build conditional for 0.115.4
* Fri Jun 27 2025 Packit <hello@packit.dev> - 0.115.14-1
- Update to 0.115.14 upstream release
- Resolves: rhbz#2374981
* Sun Jun 22 2025 Benjamin A. Beasley <code@musicinmybrain.net> - 0.115.12-6
- Bootstrap for Python 3.14; Fixes RHBZ#2371713
* Sun Jun 22 2025 Benjamin A. Beasley <code@musicinmybrain.net> - 0.115.12-5
- Temporarily disable uvicorn dep., sqlmodel integ. tests
* Thu May 29 2025 Benjamin A. Beasley <code@musicinmybrain.net> - 0.115.12-4
- Bump Starlette to allow up to 0.47.0
* Thu May 22 2025 Benjamin A. Beasley <code@musicinmybrain.net> - 0.115.12-3
- EPEL10 now has orjson
* Thu May 22 2025 Benjamin A. Beasley <code@musicinmybrain.net> - 0.115.12-2
- Fix the inline_snapshot build conditional
* Thu Apr 10 2025 Packit <hello@packit.dev> - 0.115.12-1
- Update to 0.115.12 upstream release
- Resolves: rhbz#2354373
* Sun Apr 06 2025 Benjamin A. Beasley <code@musicinmybrain.net> - 0.115.11-2
- Update EPEL10 conditionals, etc.
* Sun Mar 02 2025 Packit <hello@packit.dev> - 0.115.11-1
- Update to 0.115.11 upstream release
- Resolves: rhbz#2349215
* Sun Mar 02 2025 Benjamin A. Beasley <code@musicinmybrain.net> - 0.115.10-4
- Improve conditionalized build dependencies
- Make sure they work as advertised, together or separately
- Add conditionals for some things that are missing in EPEL10 so we can
more easily see what would be required to branch there; however, nobody
has yet requested this package in EPEL10, we have no concrete plans to
branch it there, and we still lack some hard dependencies
* Sun Mar 02 2025 Benjamin A. Beasley <code@musicinmybrain.net> - 0.115.10-3
- Fix boostrapping
- Break the circular dep. with python-sqlmodel
- Don’t run test_fastapi_cli when bootstrapping
* Sat Mar 01 2025 Benjamin A. Beasley <code@musicinmybrain.net> - 0.115.10-2
- Patch for httpx 0.28.x
* Sat Mar 01 2025 Packit <hello@packit.dev> - 0.115.10-1
- Update to 0.115.10 upstream release
- Resolves: rhbz#2349054
* Thu Feb 27 2025 Packit <hello@packit.dev> - 0.115.9-1
- Update to 0.115.9 upstream release
- Resolves: rhbz#2348844
* Thu Feb 27 2025 Benjamin A. Beasley <code@musicinmybrain.net> - 0.115.8-3
- Patch to allow Starlette 0.46
* Tue Feb 11 2025 Benjamin A. Beasley <code@musicinmybrain.net> - 0.115.8-2
- No longer need to ignore TrioDeprecationWarning
* Thu Jan 30 2025 Packit <hello@packit.dev> - 0.115.8-1
- Update to 0.115.8 upstream release
- Resolves: rhbz#2342993
* Sat Jan 25 2025 Packit <hello@packit.dev> - 0.115.7-1
- Update to 0.115.7 upstream release
- Resolves: rhbz#2341641
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.115.6-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Sun Dec 29 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0.115.6-7
- Allow Starlette up to 0.45.0
* Sun Dec 29 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0.115.6-6
- Preemptively patch to allow httpx 0.28.x
* Tue Dec 17 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0.115.6-4
- Allow Starlette 0.42.x
* Tue Dec 10 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0.115.6-3
- Fix test_fastapi_cli for fastapi-cli 0.0.6
* Wed Dec 04 2024 Packit <hello@packit.dev> - 0.115.6-1
- Update to 0.115.6 upstream release
- Resolves: rhbz#2330268
* Sun Nov 24 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0.115.5-3
- Update tests and internals for compatibility with Pydantic >=2.10
* Tue Nov 19 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0.115.5-2
- Enable tests that rely on python-sqlmodel, now packaged
* Tue Nov 12 2024 Packit <hello@packit.dev> - 0.115.5-1
- Update to 0.115.5 upstream release
- Resolves: rhbz#2325585
* Sun Oct 27 2024 Packit <hello@packit.dev> - 0.115.4-1
- Update to 0.115.4 upstream release
- Resolves: rhbz#2322049
* Tue Oct 22 2024 Packit <hello@packit.dev> - 0.115.3-1
- Update to 0.115.3 upstream release
- Resolves: rhbz#2321038
* Sat Oct 12 2024 Packit <hello@packit.dev> - 0.115.2-1
- Update to 0.115.2 upstream release
- Resolves: rhbz#2318327
* Tue Sep 24 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0.115.0-2
- Allow Starlette 0.39.x
* Sat Sep 21 2024 Packit <hello@packit.dev> - 0.115.0-1
- Update to 0.115.0 upstream release
- Resolves: rhbz#2312934
* Fri Sep 13 2024 Packit <hello@packit.dev> - 0.114.2-1
- Update to 0.114.2 upstream release
- Resolves: rhbz#231231