litestar-org/litestar · Architecture
A static read of how litestar-org/litestar is wired together — module coupling, layering, and circular dependencies — derived from its import graph.
C
Architecture grade
score 65/100
8
Import cycles
lower is better
400
Modules parsed
1629 edges
89%
Layeredness
clean-layer ratio
Most-depended-on modules
These are the highest-fan-in files — change them and the blast radius is largest. Read them first.
- litestar/__init__.py122 importers · radius 205
- litestar/types/__init__.py117 importers · radius 207
- litestar/exceptions/__init__.py95 importers · radius 266
- litestar/enums.py56 importers · radius 207
- litestar/dto/__init__.py50 importers · radius 212
- litestar/connection/__init__.py49 importers · radius 200
- litestar/params.py40 importers · radius 211
- litestar/datastructures/__init__.py36 importers · radius 201
Modules (24)
Source directories grouped from the import graph. Each links to a per-module page with its files and how it couples to the rest.
- litestar17 files · 372 in-degree · in cycle
- litestar/types10 files · 208 in-degree · in cycle
- litestar/utils13 files · 120 in-degree · in cycle
- litestar/exceptions4 files · 105 in-degree · in cycle
- litestar/dto11 files · 80 in-degree
- litestar/datastructures9 files · 80 in-degree
- litestar/connection4 files · 61 in-degree
- litestar/config6 files · 46 in-degree
- litestar/openapi/spec5 files · 45 in-degree
- litestar/response7 files · 42 in-degree
- litestar/middleware8 files · 39 in-degree
- litestar/plugins3 files · 26 in-degree · in cycle
- litestar/handlers3 files · 24 in-degree
- litestar/routes2 files · 21 in-degree
- litestar/_openapi/schema_generation4 files · 18 in-degree · in cycle
- litestar/utils/scope2 files · 17 in-degree
- litestar/handlers/http_handlers4 files · 14 in-degree
- litestar/openapi4 files · 14 in-degree
- litestar/stores2 files · 14 in-degree
- litestar/_openapi7 files · 13 in-degree
- litestar/_kwargs6 files · 13 in-degree
- litestar/testing6 files · 12 in-degree
- litestar/handlers/websocket_handlers5 files · 12 in-degree
- litestar/template3 files · 11 in-degree
Circular dependencies (8)
- litestar/app.py to litestar/_asgi/__init__.py to litestar/_asgi/asgi_router.py to litestar/_asgi/routing_trie/__init__.py to litestar/_asgi/routing_trie/mapping.py to litestar/_asgi/routing_trie/types.py to litestar/types/__init__.py to litestar/types/asgi_types.py to litestar/app.py
- litestar/exceptions/__init__.py to litestar/exceptions/dto_exceptions.py to litestar/exceptions/__init__.py
- litestar/plugins/__init__.py to litestar/plugins/base.py to litestar/_openapi/schema_generation/__init__.py to litestar/_openapi/schema_generation/plugins/__init__.py to litestar/_openapi/schema_generation/plugins/dataclass.py to litestar/plugins/__init__.py
- litestar/types/__init__.py to litestar/types/asgi_types.py to litestar/types/internal_types.py to litestar/controller.py to litestar/_layers/utils.py to litestar/types/composite_types.py to litestar/di.py to litestar/plugins/__init__.py to litestar/plugins/base.py to litestar/_openapi/schema_generation/__init__.py to litestar/_openapi/schema_generation/plugins/__init__.py to litestar/_openapi/schema_generation/plugins/dataclass.py to litestar/types/__init__.py
- litestar/types/__init__.py to litestar/types/asgi_types.py to litestar/types/internal_types.py to litestar/controller.py to litestar/_layers/utils.py to litestar/types/composite_types.py to litestar/di.py to litestar/plugins/__init__.py to litestar/plugins/base.py to litestar/_openapi/schema_generation/__init__.py to litestar/_openapi/schema_generation/plugins/__init__.py to litestar/_openapi/schema_generation/plugins/dataclass.py to litestar/typing.py to litestar/utils/errors.py to litestar/params.py to litestar/types/__init__.py
- litestar/types/__init__.py to litestar/types/asgi_types.py to litestar/types/internal_types.py to litestar/controller.py to litestar/_layers/utils.py to litestar/types/composite_types.py to litestar/di.py to litestar/plugins/__init__.py to litestar/plugins/base.py to litestar/_openapi/schema_generation/__init__.py to litestar/_openapi/schema_generation/plugins/__init__.py to litestar/_openapi/schema_generation/plugins/dataclass.py to litestar/typing.py to litestar/types/__init__.py
Ask AI about litestar-org/litestar
Grounded in the actual source code. Pick a starter question or write your own.
What does this repo do, in one paragraph?How would I get started using it?What are the main alternatives?Show me the entry point.
Or write your own questionInformational only. RepoPilot summarises public signals at the time of analysis; they can be incomplete or stale. Not professional, security, or legal advice.