# litestar-org/litestar

Light, flexible and extensible ASGI framework | Built to scale

Repository: https://github.com/litestar-org/litestar
Canonical: https://ross.abutalabs.com/products/litestar
Homepage: https://docs.litestar.dev/
Language: Python
License: MIT
License Family: permissive
Topics: python, api, rest, pydantic, asgi, openapi, redoc, starlite, swagger, litestar, litestar-framework, litestar-api, asyncio, msgspec, rapidoc
Last push: 2026-08-24T20:22:09+00:00

## Health v2 (maintenance only)
Score: 91/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 76, longevity 100
- inputs: {"age_days": 1731, "days_push": 9, "days_rel": 83, "gap_med": 42.5, "n_releases_24m": 17}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 8419, forks 617 (observed 2026-08-28T04:10:21.077511+00:00)

## What it is
Litestar is a production-ready, highly performant, extensible ASGI API framework for Python, formerly known as Starlite. It provides REST API building with OpenAPI generation, dependency injection, and support for Pydantic and msgspec serialization.

## Use cases
- build rest apis in python
- async asgi web framework
- generate openapi docs automatically
- high performance python api server
- build scalable backend services
- replace flask or fastapi with a faster framework

## When to choose
- you need a high-performance async Python API framework
- you want built-in OpenAPI/Swagger documentation
- you need dependency injection and layered architecture out of the box
- you want flexibility between Pydantic and msgspec for validation

## When to avoid
- you need a minimal WSGI framework like Flask for simple sync apps
- your team relies on a framework with a much larger plugin ecosystem
- you need Django's full-stack features like ORM admin and templating

## Facets
- artifact type: framework
- maturity: active
- function: web-framework, api-framework, http-server, routing, middleware, serialization, api-documentation
- domain: web-development, backend, apis, developer-tools
- platform: python, cross-platform
- tags: asgi, rest-api, openapi, pydantic, msgspec, asyncio, swagger, starlite, web-server

## Member repositories
- litestar-org/litestar (main) score 91

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:21.077511+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:27:17.296725+00:00, confidence not recorded.
  - readme: https://github.com/litestar-org/litestar (fetched 2026-08-28T04:10:21.077511+00:00, sha 0efa580ac746)
  - homepage: https://docs.litestar.dev/ (fetched 2026-08-29T08:27:09.196997+00:00, sha 7425e5cf2b07)
  - registry_pypi: https://pypi.org/pypi/litestar/json (fetched 2026-08-29T08:27:09.206376+00:00, sha 4340d9ce312a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
