一个无需任何外部依赖的适用于Python 3.3+的SNMP纯Python实现
一个无需任何外部依赖(无需MIBs或者libsnmp)的适用于Python 3.3+的SNMP纯Python实现
Python 网络编程
共46Star
详细介绍
TL;DR
Jump right in with the cookbook
Quick Info
- What
- A pure Python implementation for Python 3.3+ of SNMP without any external dependencies (neither MIBs or libsnmp).
- Why
-
SNMP in itself is simple and well defined. A bit convoluted, but simple. MIB parsing however complicates the code-base and is technically not required. They add typing information and variables and give names to OIDs. All existing libraries have a direct or indirect dependency on libsnmp. With all the advantages and disadvantages.
The aim of this project is to focus on SNMP in itself and provide a very simple API. Instead of implementing ASN.1 parsing, the SNMP related ASN.1 and X.690 information is hard-coded (keeping in mind that all that's hard-coded is well defined).
It is of course possible to wrap this package in another package adding MIB parsing and processing. This is, and will be however out of the scope of this project!
- When
- First commit: Sat Jul 23 12:01:05 2016 +0200
- Who
- Michel Albert
Installation
pip install puresnmp
Package Version Numbers
As an important side-note, you might want to know that this project follows Semantic Versioning.
Examples
See the cookbook.