Extensions#
SQLSpec extensions integrate the registry with frameworks, event systems, and services such as Litestar, FastAPI, Flask, Sanic, Starlette, and Google ADK.
Plugin-based integration with dependency injection, CLI, and lifecycle management.
Dependency injection helpers for FastAPI's Depends() system.
Request-scoped session management with portal pattern for async adapters.
Middleware-based session management and connection pooling lifecycle.
App/request context integration with lifecycle listeners and middleware.
Session, event, and memory storage for Google Agent Development Kit.
Pub/sub event channels with database-backed queues.
Distributed tracing spans for database statements and operations.
Execution metrics, query counters, and latency histograms.