lbuild: generic, modular code generation in Python 3
The Library Builder (pronounced lbuild) is a BSD licensed Python 3 tool for describing repositories containing modules which can copy or generate a set of files based on the user provided data and options.
lbuild allows splitting up complex code generation projects into smaller modules with configurable options, and provides for their transparent discovery, documentation and dependency management. Each module is written in Python 3 and declares its options and how to generate its content via the Jinja2 templating engine or a file/folder copy.
You can install lbuild via PyPi: pip install lbuild
The documentation is available at lbuild.modm.dev.
Projects using lbuild:
- modm generates a HAL for thousands of embedded devices using lbuild and a data-driven code generation pipeline.
- Taproot: a friendly control library and framework for RoboMaster robots uses lbuild.
- OUTPOST - Open modUlar sofTware PlatfOrm for SpacecrafT uses lbuild to assemble an execution platform targeted at embedded systems running mission critical software.
The dedicated maintainer of lbuild is @salkinium.
Metadata
Release files for lbuild 1.24.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 | Provenance | Actions |
|---|---|---|---|---|
| lbuild-1.24.2.tar.gz | 51.9 kB | With provenance | Details for lbuild-1.24.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lbuild-1.24.2-py3-none-any.whl | Python 3 | none | any | Details for lbuild-1.24.2-py3-none-any.whl |
Total release size: 114.9 kB
Release files / lbuild-1.24.2.tar.gz
| Download URL | lbuild-1.24.2.tar.gz |
|---|---|
| Size | 51.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
02c20ab18d0020e4b9141753f1910290bb170ff1c94322ddb7baf3b4b73d39fe
|
|
BLAKE2b-256 checksum How to use checksums |
13f22f35e89ccedb499dcdbdb8b0453344f00d503beb3805509a5f4c773244f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logRelease files / lbuild-1.24.2-py3-none-any.whl
| Download URL | lbuild-1.24.2-py3-none-any.whl |
|---|---|
| Size | 62.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
df759c02bc64e469520e1da792d23ec9849d3ff72763592b4722f38b741a6d8a
|
|
BLAKE2b-256 checksum How to use checksums |
ecf0801cf27eea2b05f5ebe7521dda3369038bd5f1d1eed5bb1a8f3c5a1ccf35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logSecurity for lbuild 1.24.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for lbuild-1.24.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.