$npx skillfedfor your agent

pygnmi

Pure Python gNMI client to manage network functions and collect telemetry.

With conditionsPyPI NetworkingReleased Mar 2025169.6K downloads / mobsd-3-clausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pygnmi-0.8.15-py3-none-any.whl
v0.8.15 · released 2025-03-10 · 4 runtime deps: grpcio, protobuf, cryptography, dictdiffer

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

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.
Same gist for agents: .md · .json

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.

With conditions

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

Licensebsd-3-clause permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
grpcioprotobufcryptographydictdiffer
MaintenanceAging 522 days since the last release
Last repo commit
First released
Downloads169,620 / month, #10,413 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone 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

Capabilities
gnmi client pythonnetwork device management grpcopenconfig telemetry collectionnetwork automation gnmigrpc network configurationtelemetry subscription networknetwork device query python
Topics
network-automationgrpc-clienttelemetry
PyPI keywords
gnmiautomationgrpcnetwork

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 With conditions
PyPI · WWW/HTTP · released Apr 2025

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.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
psutil Worth it
PyPI · Libraries · released Jan 2026

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.

permissive licensecompiled wheel · 3.6+
387.6Mdownloads / mo
pyOpenSSL With conditions
PyPI · Python Modules · released Aug 2026

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.

Apache-2.0pure Python · 3.9+
294.2Mdownloads / mo
uvloop With conditions
PyPI · Networking · released Oct 2025

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.

Apache-2.0compiled wheel · 3.8.1+
257.9Mdownloads / mo
execnet With conditions
PyPI · Libraries · released Nov 2025

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…

MITpure Python · 3.8+aging
172.1Mdownloads / mo
pyzmq Worth it
PyPI · Networking · released Sep 2025

PyZMQ provides Python bindings for ZeroMQ (ØMQ), a lightweight messaging library that enables fast, asynchronous communication between distributed processes and applications.

BSD-3-Clausecompiled wheel · 3.8+
109.5Mdownloads / mo

See also yang.connector · ncclient · nacos-sdk-python · grpcio · grpcio-observability · grpclib · grpcio-channelz · pyeapi · grpcio-admin · netconf-console2