safir
9.1.1
Safir is Rubin Observatory's library for building FastAPI services for the Rubin Science Platform (Phalanx) and Roundtable Kubernetes clusters. Safir is developed, maintained, and field tested by the SQuaRE team.
Safir is available from PyPI:
pip install safirThe best way to create a new FastAPI/Safir service is with the fastapi_safir_app template.
Read more about Safir at https://safir.lsst.io.
httpx.AsyncClient as part of the application start-up and shutdown lifecycle.X-Forwarded-* headers to determine the source IP and related information of the request.See https://safir.lsst.io/dev/development.html.