Skip to content

lextudio/pysmi

 
 

Repository files navigation

SNMP MIB Compiler

Become a Sponsor PyPI PyPI Downloads Python Versions GitHub license

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.

Packages

No packages published

Languages

  • Python 93.4%
  • Jinja 6.6%