--- id: genie-libs-parser version: "26.7" license: Apache 2.0 license_treatment: permissive maintenance: active --- # genie.libs.parser — Genie libs Parser: Genie Parser Libraries License: permissive · Maintenance: active · Downloads: 270.2K/mo ## What it is and what it does Genie Parser is a sub-component of the Genie test automation framework that transforms raw device command output into structured Python data structures. It is designed to work within the pyATS ecosystem, which Cisco built for data-driven, reusable network testing. The parser converts unstructured CLI responses into objects that test code can query and validate programmatically, eliminating the need for regex parsing or manual text processing in test scripts. The package is part of a larger testing framework optimized for network device automation, particularly in Cisco environments. It depends only on xmltodict for XML handling and installs as a pure Python wheel, making it lightweight to add to existing test suites. The framework is actively maintained and classified as production/mature, with support for modern Python versions on Linux and Mac systems. Use it for: - Parse network device CLI output (show commands) into structured dictionaries for validation in automated tests - Build reusable test cases that work across multiple device types by normalizing their output formats - Extract specific fields from device responses (e.g., version, interface status) without writing custom regex - Integrate device output parsing into CI/CD pipelines for continuous network validation - Develop data-driven test suites that compare parsed device state against expected configurations ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Parses device output into structured data for network test automation, converting raw command responses into Python objects for use in the Genie/pyATS testing framework. Yes, if you are building test automation for network devices within the pyATS/Genie ecosystem. The package is actively maintained, has no known vulnerabilities, and low install friction. However, verify first whether it can be used standalone or requires the full Genie framework—the description suggests it is a sub-component designed to work within that larger system. ## Install pip install genie-libs-parser uv add genie-libs-parser poetry add genie-libs-parser ## Installing genie.libs.parser Before you install: Active maintenance with a release 7 days ago. Single runtime dependency (xmltodict) and a pure-Python wheel keep installation friction low. License in practice: Apache 2.0 permissive license allows use in commercial and open-source projects with minimal restrictions. Quickstart: pip install genie.libs.parser from genie.libs.parser.iosxe.show_version import ShowVersion parser = ShowVersion(device) output = parser.parse() print(output['version']['os']) Requires Linux or Mac; Windows is not supported. Python 3.6+ required. Verify before relying: - Whether this package can be installed standalone or requires the full Genie framework to function - Specific device types and command outputs supported by the parser library - Performance characteristics when parsing large or complex device outputs ## Package facts - License: Apache 2.0 (permissive) - Python support: unspecified - Install friction: low - Maintenance: active - Downloads: 270.2K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags network device output parser, structured data from CLI output, genie parser library, pyats test automation, network command parsing, device response parsing, test automation framework, network-testing, device-automation, cisco [View on SkillFed](https://skillfed.io/packages/genie-libs-parser) · [View on PyPI](https://pypi.org/project/genie-libs-parser/)