pygnmi
Pure Python gNMI client to manage network functions and collect telemetry.
Decision gist · record as of 2026-08-14
Yes, if you need to automate or query gNMI-capable network devices. The package is production-stable with a permissive license and low install friction. However, the 522-day release gap suggests it is no longer actively maintained—suitable for stable deployments but not for projects requiring active bug fixes or new feature development.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Target device must expose a gNMI service on the specified host and port; requires valid credentials or certificate-based authentication.
- Low install friction with pure Python wheels.
- Maintenance is aging—no release for 522 days despite an active repository with recent commits, suggesting the package is stable but not actively developed.
License · maintenance · safety
bsd-3-clause (permissive) — BSD 3-Clause permissive license allows commercial and private use with minimal restrictions, making it suitable for most deployment contexts.
last release 2025-03-10 (522 days) · last repo commit 2025-03-10 · 154 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 169,620 downloads/mo, #10,413 on PyPI
Alternatives
Verify before relying
from pygnmi.client import gNMIclient
with gNMIclient(target=('169.254.255.64', '57400'), username='admin', password='admin', insecure=True) as gc:
result = gc.get(path=['openconfig-interfaces:interfaces'])
print(result)- Whether the 522-day gap since last release indicates the package is feature-complete or gradually abandoned.
- Support status for Python versions beyond 3.11 listed in classifiers.
- Whether Nornir integration mentioned in description is maintained and documented.
What it is and what it does
pyGNMI is a pure Python implementation of the gNMI (gRPC Network Management Interface) client protocol, used to interact with network devices that expose a gNMI service. It abstracts the gRPC and Protocol Buffer complexity, allowing developers to query device state, push configuration changes, and stream telemetry subscriptions using Python code. The package handles both insecure and secure gRPC channels, automatic encoding detection, and supports all standard gNMI RPCs: Capabilities, Get, Set, and Subscribe.
The package targets network engineers and automation developers working with devices from Arista, Nokia, Cisco, Juniper, and others that implement the gNMI standard. It depends on grpcio, protobuf, cryptography, and dictdiffer to manage gRPC transport, message serialization, TLS encryption, and change tracking. The library includes a command-line tool for ad-hoc device queries and integrates with Nornir for multi-device orchestration workflows.
Use it for
- Query operational state and configuration from network devices using OpenConfig YANG paths in a Python script.
- Push configuration changes to multiple network devices with atomic Set operations and change tracking.
- Build telemetry collectors that subscribe to device metrics and stream them to monitoring systems.
- Automate network device management tasks via Nornir inventory without writing raw gRPC code.
- Verify device capabilities and automatically select the correct encoding for cross-platform compatibility.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to automate or query gNMI-capable network devices.
The package is production-stable with a permissive license and low install friction. However, the 522-day release gap suggests it is no longer actively maintained—suitable for stable deployments but not for projects requiring active bug fixes or new feature development.
Install
pygnmi on PyPI
Before you install
Low install friction with pure Python wheels. Maintenance is aging—no release for 522 days despite an active repository with recent commits, suggesting the package is stable but not actively developed.
Target device must expose a gNMI service on the specified host and port; requires valid credentials or certificate-based authentication.
License in practice
BSD 3-Clause permissive license allows commercial and private use with minimal restrictions, making it suitable for most deployment contexts.
Quickstart
from pygnmi.client import gNMIclient
with gNMIclient(target=('169.254.255.64', '57400'), username='admin', password='admin', insecure=True) as gc:
result = gc.get(path=['openconfig-interfaces:interfaces'])
print(result)
Verify before relying
- Whether the 522-day gap since last release indicates the package is feature-complete or gradually abandoned.
- Support status for Python versions beyond 3.11 listed in classifiers.
- Whether Nornir integration mentioned in description is maintained and documented.
Package facts
| License | bsd-3-clause permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesgrpcioprotobufcryptographydictdiffer |
| Maintenance | Aging 522 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 169,620 / month, #10,413 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/StableIntended Audience :: DevelopersIntended Audience :: System AdministratorsIntended Audience :: Telecommunications IndustryLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: System :: Networking |
Evidence: pygnmi-0.8.15-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 › “gnmi client python”
- pygnmiPure Python gNMI client for querying and configuring network devices…
- yang.connectorProvides NETCONF and gRPC/GNMI client implementations for connecting…
- codewords-clientA Python client library for the Codewords API with built-in FastAPI…
Give your agent the search over MCP, or paste the wish link into any chat.
More Networking packages
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
psutil retrieves real-time information about running processes and system resources (CPU, memory, disks, network, sensors) across multiple operating systems, enabling system monitoring, process profiling, and resource management.
pyOpenSSL wraps OpenSSL's SSL/TLS functionality for Python, providing high-level connection objects and certificate handling through a Python-friendly interface around OpenSSL's cryptographic operations.
uvloop is a drop-in replacement for Python's built-in asyncio event loop, implemented in Cython and using libuv, that accelerates async I/O operations.
execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.
However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…
PyZMQ provides Python bindings for ZeroMQ (ØMQ), a lightweight messaging library that enables fast, asynchronous communication between distributed processes and applications.
See also yang.connector · ncclient · nacos-sdk-python · grpcio · grpcio-observability · grpclib · grpcio-channelz · pyeapi · grpcio-admin · netconf-console2