Registry / web-framework / litestar-granian

litestar-granian

JSON →
library0.15.0pypypi✓ verified 80d ago

Granian plugin for Litestar, providing a CLI command to run Litestar apps with the Granian ASGI/RSGI server. Version 0.15.0 exposes Granian commands directly through the Litestar CLI. Release cadence is irregular.

pip install litestar-granian
INSTALL
IMPORT
SIG · LITESTAR-GRANIAN
L
litestar-granian
web-frameworkpythonv0.15.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

GranianPlugin
from litestar_granian import GranianPlugin
from litestar_granian import LitestarGranian

Create a Litestar app and serve it with the Granian plugin.

from litestar import Litestar from litestar_granian import LitestarGranian app = Litestar() if __name__ == "__main__": # Run using the plugin's CLI or directly via Granian LitestarGranian(app).run()
litestar --version
Debug
Known issues
breakingVersion 0.13.0 removed the process manager. If you relied on `ProcessManager`, upgrade with caution.
fix
Migrate to using direct CLI commands instead of `ProcessManager`.
affects: >=0.13.0
gotchaThe CLI parameter for websockets changed from `--websockets` to `--ws` in v0.14.1. Old scripts using `--websockets` will break.
fix
Update all CLI invocations to use `--ws` instead of `--websockets`.
affects: >=0.14.1
Upgrade
Version history
0.15.0latest on PyPI · released Apr 18, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
14
Resources
litestar-granian — pip install litestar-granian · libregistry