Safir
  • Forum
  • Docs
  • LSST.org →

Navigation

  • next »
  • Safir »

Safir¶

Safir is the SQuaRE Framework for Roundtable¶

Roundtable is the SQuaRE application and bot deployment platform, hosted on Kubernetes with Argo CD. Safir is a Python package that lets you develop Roundtable bots, based on the FastAPI asyncio web framework.

Safir is developed on GitHub at https://github.com/lsst-sqre/safir.

Getting started¶

  • Change log

Tutorials¶

  • Creating an app from the template

Guides¶

  • Using the httpx client
    • Setting up the httpx.AsyncClient
    • Using the httpx.AsyncClient
    • Testing considerations
  • Logging in Safir applications
    • How to set up logging for Safir-based applications
    • Logging in request handlers
    • Logging elsewhere in your application
  • Handling X-Forwarded-* headers
    • Setting up XForwardedMiddleware
    • Using XForwardedMiddleware
    • Forwarded header

API¶

  • API reference
    • safir Package
    • safir.dependencies.http_client Module
    • safir.dependencies.logger Module
    • safir.logging Module
    • safir.metadata Module
    • safir.models Module
    • safir.middleware.x_forwarded Module

Development guide¶

  • Development guide
  • Release procedure

Indices¶

  • Index

  • Module Index

  • Search Page

On this page

  • Safir
    • Safir is the SQuaRE Framework for Roundtable
    • Getting started
    • Tutorials
    • Guides
    • API
    • Development guide
    • Indices

  Back to Top

Created using Sphinx 4.1.2. Page design is based on Astropy's bootstrap-astropy theme in astropy-helpers.
LSST documentation is proudly served through the Fastly CDN.

© Copyright 2020-2021 Association of Universities for Research in Astronomy, Inc. (AURA).

Financial support for LSST comes from the National Science Foundation (NSF) through Cooperative Agreement No. 1258333, the Department of Energy (DOE) Office of Science under Contract No. DE-AC02-76SF00515, and private funding raised by the LSST Corporation. The NSF-funded LSST Project Office for construction was established as an operating center under management of the Association of Universities for Research in Astronomy (AURA). The DOE-funded effort to build the LSST camera is managed by the SLAC National Accelerator Laboratory (SLAC).