Installation
FastOpenAPI ist auf PyPI verfügbar und unterstützt Python 3.10+. Du kannst entweder nur die Kernbibliothek oder optionale Abhängigkeiten für bestimmte Webframeworks installieren.
Voraussetzungen
- Python 3.10 oder höher – erforderlich wegen moderner Typisierung und Unterstützung für Pydantic v2.
- (Optional) Ein bestehendes Webframework (wie Flask, Starlette usw.), falls du eines integrieren möchtest. Falls noch nicht installiert, kannst du es über die entsprechenden Extras automatisch mitinstallieren.
Installation via pip
Nur FastOpenAPI installieren
Standardinstallation
pip install fastopenapi
FastOpenAPI mit spezifischem Framework installieren
Nützlich für neue Projekte ohne vorinstalliertes Framework
pip install fastopenapi[aiohttp]
pip install fastopenapi[falcon]
pip install fastopenapi[flask]
pip install fastopenapi[quart]
pip install fastopenapi[sanic]
pip install fastopenapi[starlette]
pip install fastopenapi[tornado]