Install & Compatibility
Where this runs
tested against v0.0.6 · 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
py 3.9
✕ build_error
✕ build_error
21MB installed
● package 21MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
passwords
✓ from pyavd_utils import passwords
✗ from pyavd_utils import str_to_md5
validation
✓ from pyavd_utils import validation
Demonstrates a basic import and usage of an internal utility function. Users are strongly advised against using this library directly due to its unstable API and lack of semantic versioning. The `str_to_md5` function typically expects bytes, hence the `.encode('utf-8')`.
from pyavd_utils import str_to_md5
# WARNING: This library is NOT intended for direct user consumption.
# Its API is unstable and may change without notice, and it does not
# follow semantic versioning. Use at your own risk.
data_string = "Hello, pyavd-utils!"
# Rust-bound functions often expect bytes, not str
md5_hash = str_to_md5(data_string.encode('utf-8'))
print(f"MD5 of '{data_string}': {md5_hash}")
Debug
Known issues
breakingThis library is NOT intended for direct user consumption. It does not follow semantic versioning, and its API is highly unstable, subject to breaking changes without notice or deprecation cycles. It is compiled against specific `pyavd` versions.fixAvoid direct usage. If you must use it, pin the exact version and be prepared for frequent breaking changes with `pyavd` updates. Consider using the `pyavd` library directly, which orchestrates these utilities internally.
affects: All versions (0.0.x)
gotchaInstallation requires a Rust toolchain (rustup, cargo) to be present on your system. If Rust is not installed, `pip install` will fail with compilation errors.fixInstall Rust and Cargo via `rustup` before attempting to install `pyavd-utils`. Refer to rustup.rs for platform-specific instructions or use the provided install command.
affects: All versions (0.0.x)
gotchaFunctions exposed from Rust often expect byte strings for input (e.g., `bytes` or `&[u8]`) and may return byte strings or Rust-specific types, requiring careful handling for Python compatibility.fixEnsure inputs are correctly typed (e.g., `my_string.encode('utf-8')` instead of `my_string`) and handle outputs appropriately (e.g., `.decode('utf-8')` if expecting a human-readable string). affects: All versions (0.0.x)
Upgrade
Version history
0.0.6latest on PyPI · released Jun 3, 2026
Audit
Dependencies
No dependency data recorded yet.