Registry / devops / libuuu

libuuu

JSON →
library1.5.243pypypi✓ verified 83d ago

libuuu is a Python wrapper for the native NXP libuuu library, a universal update utility primarily used for flashing and interacting with NXP i.MX series embedded devices. It provides Python bindings to the C library's functionalities, allowing programmatic control over device flashing and communication. The library generally follows the versioning of the underlying C library, with releases occurring periodically to match new `libuuu` versions.

pip install libuuu
INSTALL
IMPORT
SIG · LIBUUU
L
libuuu
devopspythonv1.5.243
Install
1.8s avg
Import
Disk
71MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.5.243 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.920 runs
installs and imports cleanly · install 0.0s · import 0.000s · 100MB
glibc
py 3.103.920 runs
installs and imports cleanly · install 1.8s · import 0.000s · 46MB
71MB installed
● package 71MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

LibUUU
from libuuu import LibUUU
from uuu import Uuu
UUUState
from libuuu import UUUState
version
from libuuu import version

This quickstart demonstrates how to import the `Uuu` class and execute a simple command using its `cmd` method. It highlights the importance of passing command arguments as a list of strings and provides a common pattern for handling the underlying native library dependency.

from uuu import Uuu import os # Optionally set the path to the native libuuu library if not in standard locations # os.environ['UUU_LIB_PATH'] = '/path/to/your/libuuu.so' try: # Initialize the Uuu wrapper lib_uuu = Uuu() # Run a uuu command, e.g., get help # Arguments must be passed as a list of strings print("Running uuu -h...") return_code = lib_uuu.cmd(['-h']) print(f"Command exited with code: {return_code}") # Example of a command that might not apply without hardware # print("Running uuu --version...") # return_code = lib_uuu.cmd(['--version']) # print(f"Command exited with code: {return_code}") except Exception as e: print(f"An error occurred: {e}") print("Ensure the native libuuu shared library is installed and accessible.")
Debug
Known issues
gotchaThe `libuuu` Python package is a wrapper. It requires the native `libuuu` shared library (e.g., `libuuu.so` on Linux, `uuu.dll` on Windows) to be installed on your system. This dependency is not handled by `pip` and must be resolved manually.
fix
Install the appropriate native `libuuu` library for your operating system. For NXP i.MX devices, this usually means installing the `mfgtools` package from NXP or compiling `uuu` from source. Ensure the library is in a standard system path or set the `UUU_LIB_PATH` environment variable to its location.
affects: All versions
gotchaThe `Uuu.cmd()` method expects its arguments as a list of strings, mimicking command-line arguments. Passing a single string will result in a `TypeError`.
fix
Always provide command-line arguments as a list of strings, e.g., `lib_uuu.cmd(['-h'])` instead of `lib_uuu.cmd('-h')`.
affects: All versions
gotchaThe `libuuu` library is primarily designed for NXP i.MX series processors. While the Python wrapper can be installed anywhere, its practical utility is limited without access to compatible hardware or specific flashing images.
fix
Ensure you have the necessary NXP i.MX hardware and firmware images if you intend to perform actual device flashing or interaction.
affects: All versions
Upgrade
Version history
1.5.243latest on PyPI · released Dec 16, 2025
Audit
Dependencies
libuuu (native library)requiredThis Python package is a wrapper; the underlying C/C++ `libuuu` shared library (libuuu.so on Linux, uuu.dll on Windows) must be installed on the system for it to function. It is not automatically installed by pip.
Agent activity
19 hits · last 30 days
node
16
Resources
libuuu — pip install libuuu · libregistry