U-Boot Python Library
This is a Python library used by various U-Boot tools, including patman, binman and buildman. It provides:
command and cros_subprocess: running commands and pipelines, capturing their output
tools: running tools and handling files and temporary directories
gitutil: working with git repositories
terminal: coloured output and capturing output in tests
tout: logging at different verbosity levels
test_util: running test suites, in parallel if possible, and checking their coverage
claude: running Claude agents
Install it with pip:
pip install u-boot-pylib
To run the tests:
python3 -m u_boot_pylib test
The library was split out of the U-Boot source tree, where it lived in tools/u_boot_pylib, so that tools maintained outside U-Boot can share it.
Metadata
Release files for u-boot-pylib 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| u_boot_pylib-0.1.0.tar.gz | 52.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| u_boot_pylib-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 110.2 kB
Release files / u_boot_pylib-0.1.0.tar.gz
| Download URL | u_boot_pylib-0.1.0.tar.gz |
|---|---|
| Size | 52.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a7f00a9be374214561de4944ddbdac8add6b9baff3131551fdc634c6e0c74f4d
|
|
BLAKE2b-256 checksum How to use checksums |
5c70e1fd7a47b01466960ef81845c81b9f089e47a736a4ace2911b38d13d0afd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 10, 2026.
Transparency logRelease files / u_boot_pylib-0.1.0-py3-none-any.whl
| Download URL | u_boot_pylib-0.1.0-py3-none-any.whl |
|---|---|
| Size | 58.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
27c30a36536a27bafe306d09afb27fadb2025a846923df4b35ee6d8e8163cc27
|
|
BLAKE2b-256 checksum How to use checksums |
d65e5722d6f8956fdb3755e978f1948e62eae85ab0694ace64244563bce928da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 10, 2026.
Transparency log