Litestar Builder
Litestar Builder creates Litestar projects and adds domain modules to projects using
the bundled template in src/lst_builder/assets.
Create a project
lst-build project my-project
cd my-project
uv sync
The command creates ./my-project by default. To use an existing or custom
directory as the project root, pass it as the second argument; files are created
directly in that directory:
lst-build project my-project ./workspace
The generated project uses a src/<package> layout. The package name defaults to
the snake_case project name and can be set explicitly:
lst-build project my-project --package my_app
Add a domain
Run the command from inside a generated project:
lst-build domain inventory
The command creates a domain module under <package>/domain/inventory and a
matching database model under <package>/db/models. Controllers are discovered
by the generated project's domain plugin; the model is registered in
db/models/__init__.py for migration discovery.
Metadata
Release files for lst-builder 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lst_builder-0.0.2.tar.gz | 193.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lst_builder-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 412.8 kB
Release files / lst_builder-0.0.2.tar.gz
| Download URL | lst_builder-0.0.2.tar.gz |
|---|---|
| Size | 193.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f9eeac6433e06818d8532c3ed9bab16ced16f7de6f871215c2a7d6b87c3b7bbf
|
|
BLAKE2b-256 checksum How to use checksums |
14e045715239acb1ea5b2c11d800d026a2c25a523670de9a9dd9d04332bb1639
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / lst_builder-0.0.2-py3-none-any.whl
| Download URL | lst_builder-0.0.2-py3-none-any.whl |
|---|---|
| Size | 219.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b30241301c7d541503ab3468f1296abf46e15b04192971a0f94f5bc42f45260a
|
|
BLAKE2b-256 checksum How to use checksums |
c40497bd0be0c82b415097b3b59f90c65ad22d35a0e7d35bcd191975cd051326
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|