Get Started¶
This page gives you a production-safe quick start with Lilya Converter.
1. Install¶
2. Choose a source key¶
| Framework | Source key |
|---|---|
| FastAPI | fastapi (default) |
| Flask | flask |
| Django | django |
| Litestar | litestar |
| Starlette | starlette |
3. Inspect your project¶
FastAPI shorthand (default source):
4. Preview conversion (no writes)¶
lilya-converter convert ./source_project ./lilya_project \
--source SOURCE_KEY \
--dry-run \
--diff \
--report ./reports/convert.json
5. Run conversion¶
lilya-converter convert ./source_project ./lilya_project --source SOURCE_KEY --report ./reports/convert.json
6. Verify target output¶
7. Example source selections¶
lilya-converter convert ./fastapi_project ./lilya_project
lilya-converter convert ./flask_project ./lilya_project --source flask
lilya-converter convert ./django_project ./lilya_project --source django
lilya-converter convert ./litestar_project ./lilya_project --source litestar
lilya-converter convert ./starlette_project ./lilya_project --source starlette
Typical workflow¶
- Run
analyzeto inspect patterns detected by the selected adapter. - Run
convert --dry-run --diffto preview impact. - Run
convertwithout dry-run. - Run
verifyand resolve diagnostics. - Commit converted output once checks pass.
For concrete stdout and report examples, see Examples and Outputs.