A pure-Python implementation of SNMP/SMI MIB parsing and conversion library.
Project description
SNMP MIB Compiler
PySMI is a pure-Python implementation of SNMP SMI MIB parser. This tool is designed to turn ASN.1 MIBs into various formats. As of this moment, JSON and PySNMP modules can be generated from ASN.1 MIBs.
Features
- Understands SMIv1, SMIv2 and de-facto SMI dialects
- Turns MIBs into PySNMP classes and JSON documents
- Maintains an index of MIB objects over many MIB modules
- Automatically pulls ASN.1 MIBs from local directories, ZIP archives, and HTTP servers
- 100% Python, works with Python 3.9+
PySMI documentation can be found at PySMI site.
How to get PySMI
The pysmi package is distributed under terms and conditions of 2-clause BSD license. Source code is freely available as a GitHub repo.
You could pip install pysmi
or download it from PyPI.
If something does not work as expected, open an issue at GitHub.
Copyright (c) 2015-2020, Ilya Etingof. Copyright (c) 2022-2024, LeXtudio Inc.. All rights reserved.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.