Requirements¶
Before installing FastGear, ensure you have the following prerequisites:
- Python: Version 3.11 or newer.
- FastAPI: FastGear is built to work with FastAPI, so having FastAPI in your project is essential.
- SQLAlchemy: FastGear uses SQLAlchemy 2.0 for database operations, so you need SQLAlchemy 2.0 or newer.
- Pydantic V2: FastGear leverages Pydantic models for data validation and serialization, so you need Pydantic 2.0 or newer.
- Redis: If you plan to use Redis with FastGear, you need to have Redis installed and running in a version 5.0 or newer.
Installing¶
To install the fastgear package, follow these steps:
Using pip¶
Run the following command:
Using Poetry¶
Run the following command:
Using uv¶
Run the following command: