genie.libs.ops
Genie libs Ops: Libraries to retrieve operational state of the topology
Decision gist · record as of 2026-08-14
Yes, if you are already using Genie or pyATS for network test automation. The package is actively maintained, has no external dependencies, and carries a permissive Apache 2.0 license. It is a foundational component of Genie's ops abstraction layer. Install it as part of your Genie ecosystem setup; standalone use is less common.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3 on Linux or Mac; Windows is not supported.
- Active maintenance with a release within the last week.
- No runtime dependencies, making installation straightforward.
License · maintenance · safety
Apache 2.0 (permissive) — Apache 2.0 permissive license allows use in commercial and open-source projects with minimal restrictions.
last release 2026-08-07 (7 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 268,403 downloads/mo, #8,276 on PyPI
Alternatives
Verify before relying
pip install genie.libs.ops
from genie.libs.ops import ops
# Access operational state through Genie's ops module- Whether this package is typically installed standalone or as part of the broader genie package installation
- What specific network devices or platforms the ops component supports
- Performance characteristics when querying operational state on large topologies
What it is and what it does
Genie Libs Ops is a library component of the Genie test automation framework that abstracts network device operational state into Python objects. It works within the pyATS ecosystem—Cisco's end-to-end testing platform designed for data-driven, reusable test automation. The ops module lets you model and access the operational state of network features (like interfaces, routing, or protocols) as object attributes rather than raw CLI output, making test code more readable and maintainable.
The package has no external runtime dependencies and is designed to integrate with Genie's broader test harness. It supports Python 3 on Linux and Mac systems. The library encourages object-oriented test automation by providing a structured way to represent network state, which aligns with Genie's philosophy of simplifying test development through reusable, modular components.
Use it for
- Write network device tests that verify operational state (e.g., interface status, routing table entries) using object attributes instead of parsing CLI output
- Build reusable test libraries that model network topology state consistently across different device types and vendors
- Develop data-driven test suites that validate network behavior in Agile development cycles using Genie's test framework
- Automate operational state validation in CI/CD pipelines for network infrastructure changes
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are already using Genie or pyATS for network test automation.
The package is actively maintained, has no external dependencies, and carries a permissive Apache 2.0 license. It is a foundational component of Genie's ops abstraction layer. Install it as part of your Genie ecosystem setup; standalone use is less common.
Install
genie-libs-ops on PyPI
Before you install
Active maintenance with a release within the last week. No runtime dependencies, making installation straightforward. Part of the established Genie/pyATS ecosystem from Cisco.
Requires Python 3 on Linux or Mac; Windows is not supported.
License in practice
Apache 2.0 permissive license allows use in commercial and open-source projects with minimal restrictions.
Quickstart
pip install genie.libs.ops
from genie.libs.ops import ops
# Access operational state through Genie's ops module
Verify before relying
- Whether this package is typically installed standalone or as part of the broader genie package installation
- What specific network devices or platforms the ops component supports
- Performance characteristics when querying operational state on large topologies
Package facts
| License | Apache 2.0 permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 7 days since the last release |
| First released | |
| Downloads | 268,403 / month, #8,276 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableDevelopment Status :: 6 - MatureEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsIntended Audience :: Telecommunications IndustryLicense :: OSI Approved :: Apache Software LicenseOperating System :: MacOSOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: Implementation :: CPythonTopic :: Software Development :: Build ToolsTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: Testing |
Evidence: genie_libs_ops-26.7-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “network operational state modeling”
- genie.libs.opsGenie Libs Ops provides a library component for the Genie test…
- genieGenie is a test automation library and harness built on the pyATS…
- power-grid-modelPower Grid Model is a Python/C++ library for steady-state…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also genie · genie.libs.conf · genie.libs.sdk · genie.libs.parser · genie.libs.health · genie.libs.robot · genie.trafficgen · genie.libs.clean · genie.libs.filetransferutils · genie.telemetry