$npx skillfedfor your agent

pysmi

A pure-Python implementation of SNMP/SMI MIB parsing and conversion library.

Worth itPyPI Python ModulesReleased Apr 20262.0M downloads / moBSD-2-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pysmi-2.0.0-py3-none-any.whl
v2.0.0 · released 2026-04-26 · Python >=3.10 · 3 runtime deps: Jinja2, lark, requests

Yes. PySMI is actively maintained, has no known vulnerabilities, installs with low friction, and carries a permissive license. It fills a specific and necessary role in SNMP tooling—there is no standard library alternative for MIB parsing. Install it if you need to work with SNMP MIBs in Python.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; MIB source files must be accessible locally, in ZIP archives, or via HTTP.
  • Low friction installation with three lightweight runtime dependencies (Jinja2, lark, requests).
  • Actively maintained with a recent release 110 days ago and ongoing repository activity.

License · maintenance · safety

BSD-2-Clause (permissive) — BSD-2-Clause permissive license allows commercial and private use with minimal restrictions; you must retain copyright notices and license text.

last release 2026-04-26 (110 days) · last repo commit 2026-04-26 · 10 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,972,727 downloads/mo, #3,394 on PyPI

Verify before relying

pip install pysmi

from pysmi.parser import Parser
from pysmi.codegen import PySnmpWriter

parser = Parser()
writer = PySnmpWriter()
# Parse a MIB file and generate PySNMP module
  • Whether the package handles all real-world MIB dialects beyond the documented SMIv1, SMIv2, and de-facto variants
  • Performance characteristics when processing large MIB hierarchies or many interdependent modules
Same gist for agents: .md · .json

What it is and what it does

PySMI is a pure-Python tool that reads SNMP MIB files written in ASN.1 and translates them into usable Python code or structured data. It understands multiple SNMP MIB dialects (SMIv1, SMIv2, and non-standard variants) and can generate either PySNMP-compatible Python modules or JSON representations. The tool handles MIB dependencies automatically, pulling source files from local directories, ZIP archives, or HTTP servers as needed.

You would use PySMI when you need to work with SNMP network management data in Python—typically to generate Python classes from vendor or standard MIBs so you can query network devices, or to convert MIB definitions into JSON for documentation or downstream processing. It depends on Jinja2 for templating, lark for parsing, and requests for fetching remote MIB files.

Use it for

  • Generate PySNMP classes from vendor MIBs to query network devices programmatically
  • Convert SNMP MIB definitions to JSON for API documentation or configuration management
  • Build a searchable index of MIB objects across multiple MIB modules for network inventory tools
  • Automate MIB compilation in CI/CD pipelines when deploying network monitoring solutions
  • Parse custom or proprietary SNMP MIBs to integrate legacy network equipment into modern Python applications

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

PySMI is actively maintained, has no known vulnerabilities, installs with low friction, and carries a permissive license. It fills a specific and necessary role in SNMP tooling—there is no standard library alternative for MIB parsing. Install it if you need to work with SNMP MIBs in Python.

Install

pysmi on PyPI

Before you install

Low friction installation with three lightweight runtime dependencies (Jinja2, lark, requests). Actively maintained with a recent release 110 days ago and ongoing repository activity.

Requires Python 3.10 or later; MIB source files must be accessible locally, in ZIP archives, or via HTTP.

License in practice

BSD-2-Clause permissive license allows commercial and private use with minimal restrictions; you must retain copyright notices and license text.

Quickstart

pip install pysmi

from pysmi.parser import Parser
from pysmi.codegen import PySnmpWriter

parser = Parser()
writer = PySnmpWriter()
# Parse a MIB file and generate PySNMP module

Verify before relying

  • Whether the package handles all real-world MIB dialects beyond the documented SMIv1, SMIv2, and de-facto variants
  • Performance characteristics when processing large MIB hierarchies or many interdependent modules

Package facts

LicenseBSD-2-Clause permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
Jinja2larkrequests
MaintenanceActively maintained 110 days since the last release
Last repo commit
First released
Downloads1,972,727 / month, #3,394 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsIntended Audience :: Telecommunications IndustryNatural Language :: EnglishOperating System :: OS IndependentTopic :: CommunicationsTopic :: Software Development :: Libraries :: Python Modules

Evidence: pysmi-2.0.0-py3-none-any.whl

Tags

Capabilities
SNMP MIB parserASN.1 MIB compilerMIB to JSON conversionSNMP management information baseMIB to PySNMP classesnetwork management MIB parsingSNMP SMI compiler
Topics
snmpnetwork-managementasn1-parsing

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 › “network management MIB parsing”

  • pysmiPySMI parses SNMP MIB files in ASN.1 format and converts them to…
  • pysmi-lextudioParses ASN.1 SNMP MIB files and converts them into JSON or…
  • pysnmp-mibsProvides pre-compiled IETF and IANA MIBs as PySNMP classes for use in…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also pysmi-lextudio · pysnmp-mibs · pysnmp-lextudio · snmpsim · pyasn1-modules · pyasn1 · pysnmpcrypto · asn1 · asn1tools