Installation¶
FastAPI Shield is a Python library that can be installed using various package managers.
Requirements¶
- Python 3.9 or higher
- FastAPI 0.68.0 or higher
Using pip¶
The simplest way to install FastAPI Shield is using pip:
Using uv¶
uv is a much faster alternative to pip:
Using Poetry¶
For projects using Poetry for dependency management:
Installing Development Version¶
To install the latest development version directly from GitHub:
Verifying Installation¶
You can verify that FastAPI Shield is correctly installed by importing it in a Python shell: