A curated list of awesome things related to Litestar.
Effortlessly build performant APIs with Litestar - The powerful, lightweight and flexible ASGI framework
repositories are marked with * to indicate they extend functionality through the plugin system.
Table of Contents
- Documentation includes comprehensive API reference docs as well as usage guides.
- Tutorial on Litestar, for people that are new to Litestar.
- Source Code is hosted on GitHub.
- Connect with the Litestar community on Discord, Twitter, and Reddit.
- Litestar Blog - The official Litestar blog.
litestar-asyncpg- A plugin for the AsyncPG database driver.*litestar-vite- A Vite adapter for Litestar.*litestar-piccolo- A Piccolo ORM adapter for Litestar.*litestar-htmx- A plugin for HTMX integration.*litestar-email- Email integration with pluggable backends (SMTP, Resend, SendGrid, Mailgun).*litestar-oracledb- An Oracle Database plugin for Litestar.*litestar-django- Django model support for Litestar.*litestar-skills- First-party agent skills, plugins, subagents, and slash commands for Litestar and its ecosystem; installs across Claude Code, Codex CLI, Cursor, Gemini CLI, and OpenCode.advanced-alchemy- A carefully crafted, thoroughly tested, optimized companion library for SQLAlchemy with first-party Litestar integration.sqlspec- A query mapper for Python with first-party adapters for Litestar, FastAPI, Flask, and Starlette.polyfactory- Simple and powerful factories for mock data generation.pytest-databases- Reusable database fixtures for any and all databases.fast-query-parsers- Ultra-fast query string and url-encoded form-data parsers.type-lens- Runtime type introspection utilities.
This section is highlighting built-in extensions that are part of the Litestar standard library that you would normally find as third-party extensions in other frameworks.
dishka- Cute DI framework with agreeable API and everything you need, including Litestar integration.modern-di- Dependency injection framework with IoC container and scopes, including Litestar integration.litestar-faststream- Integrates FastStream deeply into Litestar applications, bringing HTTP routes and message handlers together in the same controllers.*litestar-MQTT- A plugin for the MQTT protocol.litestar-saq- A plugin for the SAQ job queuing framework.*litestar-taskiq- Taskiq integration for Litestar.litestar-psycopg- A plugin for the Psycopg database driver.litestar-aiosql- A plugin for the aiosql database query builder.*litestar-granian- A plugin for the Granian HTTP server, written in Rust.*litestar-svcs- A plugin for the SVCS service locater/dependency injection library.*litestar-saq-htmx- Proof of concept using SAQ, Litestar, HTMX, and Server-Sent events for a simple SAQ job monitor.litestar-mcp- A plugin exposing route handlers as Model Context Protocol (MCP) tools and resources for AI agents.*litestar-socketify- A plugin for the Socketify HTTP server.*litestar-httpx-oauth- HTTPX OAuth integration for Litestar.*
- adminsite - Admin panel for SQLAlchemy 2.0, mounted straight into Litestar.
- Piccolo Admin - A powerful and modern admin GUI, using the Piccolo ORM.
- SQLAdminPlugin - Integrates SQLAdmin with a Litestar application.
- StarletteAdminPlugin - Integrates Starlette Admin with a Litestar application.
litestar-users- Authentication and user management for the Litestar framework.*litestar-auth- Production-ready authentication and authorization library for Litestar with JWT, password hashing, SQLAlchemy/Advanced Alchemy integration, optional Redis session storage, OAuth, and TOTP support.
- Piccolo - An async ORM and query builder, supporting Postgres and SQLite,
with batteries (migrations, security, etc).
- Litestar Docs - Piccolo - Documentation on using Piccolo with Litestar.
- Litestar Example - Using Litestar withPiccolo.
[!NOTE] TODO
apitally- An OpenTelemetry-based plugin for API monitoring with Apitally, including metrics, request logs, traces and alerts.*
interlock-cb- A modern circuit breaker for Python with sync and async support and a Litestar integration.
pytest-queryguard- A pytest plugin that fails tests sending N+1 queries through SQLAlchemy 2 and enforces per-test query budgets, with a Litestar recipe.
strawberry-graphql- A Strawberry integration for Litestar to use GraphQL in your applications.
imgproxykit- A typed Python toolkit for building imgproxy URLs with a Litestar plugin for client injection.*
- Create a Websocket Chat App - A quick post on creating a websocket chat app with Litestar in 30 lines of code.
- Creating a universal template (Russian) - An article about template built on the principles of clean architecture using Litestar, SqlAlchemy, Pydantic, dishka, FastStream.
(Platforms-as-a-Service)
- Railway - Search for
Litestar. - Heroku - Deploy using Heroku.
- AWS Elastic Beanstalk - Deploy using AWS.
- Google App Engine - Deploy using GCP.
- Microsoft Azure App Service - Deploy using Azure.
(Infrastructure-as-a-Service)
- AWS EC2 - Deploy using AWS.
- Google Compute Engine - Deploy using GCP.
- Digital Ocean - Deploy using Digital Ocean.
- Chalice - Python Serverless Microframework for AWS.
- Mangum - Adapter for running ASGI applications with AWS Lambda and API Gateway.
- Vercel - Serverless Functions and Hosting.
- AWS Lambda - Serverless compute.
- Google Cloud Functions - Serverless compute.
- Azure Functions - Serverless compute.
- Google Cloud Run - Serverless compute.
- Litestar Fullstack with Vite, VueJS, Redis, PostgreSQL, and more - Made by @cofin.
- Example Litestar Service - Production-ready Litestar service template with clean architecture, dishka DI, JWT auth with RBAC, NATS via FastStream, and observability.
- Litestar + SQLAlchemy 2 + PostgreSQL Template - Dockerized starter with dependency injection and Alembic. Made by @modern-python.
- Litestar Fullstack with Inertia.js - A fully-functional reference application using Litestar, Inertia.js, and Advanced Alchemy.
- Litestar Hello World - A minimal implementation of a Litestar application.
- Litestar Ping CRM - Ping CRM (Inertia.js) reference implementation for Litestar.
- Basic Litestar App - Basic Litestar app with TailwindCSS.
- Clean Architecture Litestar Project Template
- Hexagonal Architecture Litestar Project Example
[!NOTE] Coming Soon :)
- Network Information API - Toy app with TailwindCSS and HTMX.
- Litestar with OAuth2 Example - Example of using Litestar with OAuth2.
- Oracle DB + Vertex AI Demo - Reference application using Google ADK and Oracle Database.
- Cloud in a Bottle - Self-hosted platform for deploying Git-sourced apps on your own server, with a Litestar control plane and dashboard.