yang.connector
YANG defined interface API protocol connector
Decision gist · record as of 2026-08-14
Yes, if you are working with Cisco pyATS or need to automate NETCONF/GNMI interactions with network devices. The package is actively maintained, has no known vulnerabilities, and integrates well with the pyATS ecosystem. Install it only if you have NETCONF or gRPC-capable devices to connect to; it is not useful as a standalone utility.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires network connectivity to a NETCONF-enabled device; paramiko and ncclient must be able to establish SSH connections.
- Low friction installation with a pure-Python wheel.
- Active maintenance with a release within the last week.
License · maintenance · safety
Apache 2.0 (permissive) — Apache 2.0 is permissive; you can use this package commercially and modify it freely, with the main obligation being to retain license and copyright notices.
last release 2026-08-07 (7 days) · last repo commit 2026-08-07 · 22 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 266,166 downloads/mo, #8,306 on PyPI
Alternatives
Verify before relying
pip install yang.connector
from yang.connector import NetconfClient
client = NetconfClient(host='device_ip', username='user', password='pass')
client.connect()- Whether the package supports Python versions beyond 3.4 (classifier lists 3.4, but requires_python is unspecified)
- Exact API surface and method signatures for NetconfClient and GNMI client classes
- Whether gRPC/GNMI support is fully implemented or still in development
What it is and what it does
yang.connector is a NETCONF and gRPC/GNMI client library for Cisco's pyATS test automation framework. It abstracts the complexity of connecting to network devices that expose YANG data models, allowing you to send configuration commands, retrieve operational state, and automate network testing workflows. The package wraps lower-level libraries like ncclient (for NETCONF) and grpcio (for gRPC) to provide a unified interface aligned with pyATS conventions.
The library is intended for network engineers and test automation developers who need to programmatically interact with Cisco devices or other NETCONF/GNMI-capable equipment. It handles the protocol-level details of SSH tunneling, XML parsing (via lxml), and gRPC serialization (via protobuf), so you focus on the test logic rather than connection management.
Use it for
- Automate NETCONF configuration changes on network devices as part of a pyATS test suite
- Retrieve operational state and configuration snapshots from YANG-modeled devices for validation
- Build gRPC/GNMI clients to interact with modern Cisco devices supporting telemetry
- Integrate network device connectivity into CI/CD pipelines for infrastructure testing
- Compare before-and-after configurations during network automation workflows
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are working with Cisco pyATS or need to automate NETCONF/GNMI interactions with network devices.
The package is actively maintained, has no known vulnerabilities, and integrates well with the pyATS ecosystem. Install it only if you have NETCONF or gRPC-capable devices to connect to; it is not useful as a standalone utility.
Install
yang-connector on PyPI
Before you install
Low friction installation with a pure-Python wheel. Active maintenance with a release within the last week. Five runtime dependencies (paramiko, lxml, ncclient, grpcio, protobuf) are all established libraries, though grpcio and protobuf add some weight to the dependency tree.
Requires network connectivity to a NETCONF-enabled device; paramiko and ncclient must be able to establish SSH connections.
License in practice
Apache 2.0 is permissive; you can use this package commercially and modify it freely, with the main obligation being to retain license and copyright notices.
Quickstart
pip install yang.connector
from yang.connector import NetconfClient
client = NetconfClient(host='device_ip', username='user', password='pass')
client.connect()
Verify before relying
- Whether the package supports Python versions beyond 3.4 (classifier lists 3.4, but requires_python is unspecified)
- Exact API surface and method signatures for NetconfClient and GNMI client classes
- Whether gRPC/GNMI support is fully implemented or still in development
Package facts
| License | Apache 2.0 permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagesparamikolxmlncclientgrpcioprotobuf |
| Maintenance | Actively maintained 7 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 266,166 / month, #8,306 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/StableEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: Telecommunications IndustryLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.4Topic :: Software Development :: Testing |
Evidence: yang_connector-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 › “cisco pyats integration”
- yang.connectorProvides NETCONF and gRPC/GNMI client implementations for connecting…
- unicon.pluginsUnicon Plugins extends the unicon package with platform-specific…
- pyatspyATS is Cisco's end-to-end testing framework for building…
Give your agent the search over MCP, or paste the wish link into any chat.
More Testing packages
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.
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.
virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.
Install it if you write tests for any asyncio-based code.
A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.
Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.
See also pygnmi · rest.connector · ncclient · genie · genie.libs.conf · pyats.topology · pyats.connections · netconf-client · pyats · pyang