Metadata-Version: 2.4
Name: u-boot-pylib
Version: 0.1.0
Summary: Python library used by U-Boot tools such as patman, binman and buildman
Author-email: Simon Glass <sjg@chromium.org>
License-Expression: GPL-2.0-or-later
Project-URL: Homepage, https://github.com/nxtboot/u-boot-pylib
Project-URL: Documentation, https://u-boot-pylib.readthedocs.io/
Project-URL: Repository, https://github.com/nxtboot/u-boot-pylib
Project-URL: Bug Tracker, https://github.com/nxtboot/u-boot-pylib/issues
Keywords: u-boot,subprocess,git,testing
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: POSIX
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Embedded Systems
Classifier: Intended Audience :: Developers
Requires-Python: >=3.9
Description-Content-Type: text/x-rst
License-File: LICENSE
Provides-Extra: test
Requires-Dist: concurrencytest; extra == "test"
Requires-Dist: coverage; extra == "test"
Provides-Extra: claude
Requires-Dist: claude-agent-sdk; extra == "claude"
Dynamic: license-file

.. SPDX-License-Identifier: GPL-2.0+

U-Boot Python Library
=====================

This is a Python library used by various U-Boot tools, including
`patman <https://github.com/nxtboot/patman>`_,
`binman <https://github.com/nxtboot/binman>`_ and
`buildman <https://github.com/nxtboot/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.
