A pure-Python SNMP library implementing SNMPv1/v2c/v3 protocols for network management and monitoring.
PySNMP is a pure-Python library that implements the SNMP (Simple Network Management Protocol) for building network management applications. It supports SNMPv1, v2c, and v3 protocols, allowing developers to query network devices, send traps, and manage MIBs. The library solves the problem of integrating SNMP functionality into Python applications without relying on external C libraries or tools.
Network engineers, DevOps professionals, and developers building network monitoring tools, SNMP agents, or management systems in Python. It's also suitable for those needing to automate SNMP-based device interactions in scripts or applications.
Developers choose PySNMP because it's a 100% Python implementation with no external dependencies, offering full SNMP protocol support, thread safety, and seamless integration with async frameworks. Its layered design provides both simplicity for common tasks and flexibility for advanced use cases.
Python SNMP library
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Supports SNMPv1, v2c, and v3 with authentication and encryption, as explicitly listed in the README's Features, making it versatile for diverse network environments.
100% Python implementation ensures cross-platform compatibility without external C dependencies, highlighted in the README for easy deployment on any system.
Seamlessly works with Twisted, Asyncio, and Trollius, as noted in the README, enabling efficient asynchronous SNMP operations in modern Python apps.
Integrates with PySMI for on-the-fly MIB compilation, simplifying MIB handling without manual preprocessing, per the README's Features section.
Pure Python implementation can introduce higher latency and lower throughput compared to C-based alternatives like Net-SNMP, potentially affecting high-demand scenarios.
Strong SNMPv3 encryption requires installing the optional pysnmpcrypto package, adding extra steps and dependencies beyond the base install, as mentioned in the README.
Documentation and examples are hosted externally on pysnmp project sites, which can be less convenient and harder to navigate than integrated repo resources.