{"library":"pyavd-utils","title":"PyAVD Utilities (Internal)","description":"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`.","language":"python","status":"active","last_verified":"Fri Apr 17","install":{"commands":["pip install pyavd-utils"],"cli":null},"imports":["from pyavd_utils import str_to_md5"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from pyavd_utils import str_to_md5\n\n# WARNING: This library is NOT intended for direct user consumption.\n# Its API is unstable and may change without notice, and it does not\n# follow semantic versioning. Use at your own risk.\n\ndata_string = \"Hello, pyavd-utils!\"\n# Rust-bound functions often expect bytes, not str\nmd5_hash = str_to_md5(data_string.encode('utf-8'))\n\nprint(f\"MD5 of '{data_string}': {md5_hash}\")\n","lang":"python","description":"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')`.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}