Registry / devops / pyavd-utils

pyavd-utils

JSON →
library0.0.6pypypi✓ verified 85d ago

PyAVD-Utils is a Python library providing Rust-based utilities primarily used by the `pyavd` library for Arista Network Automation. It is explicitly not intended for direct user consumption and therefore does not follow standard semantic versioning. Releases are ad-hoc and tied to the development of `pyavd`.

pip install pyavd-utils
INSTALL
IMPORT
SIG · PYAVD-UTILS
P
pyavd-utils
devopspythonv0.0.6
Install
1.8s avg
Import
Disk
21MB
Pass rate
8/ 10
Env Coverage8 / 10
glibc
3.93.13
musl
3.93.13
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
musl
glibc
py 3.10
✓ —
✓ 2s
py 3.11
✓ —
✓ 1.8s
py 3.12
✓ —
✓ 1.6s
py 3.13
✓ —
✓ 1.6s
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.
fix
Avoid 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.
fix
Install 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.
fix
Ensure 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.

Agent activity
8 hits · last 30 days
node
6
Amazon
1
Resources
pyavd-utils — pip install pyavd-utils · libregistry