Telecom Tools · Library
Trishul SMI
Modern SNMP MIB compiler: SMIv1/v2 to portable JSON with full import resolution, linting, watch mode and pluggable output formats.
Capabilities
What it does
- Compiles SMIv1 and SMIv2 definitions into portable JSON with resolved numeric OIDs.
- Resolves transitive imports automatically from local MIB directories or optional online sources.
- Provides lint checks, supported auto-fixes, directory compilation and change-aware watch mode.
- Supports reproducible output, optional bundle sidecars and custom formatter plugins.
Compatibility
Platforms and requirements
Python 3.10+ · CLI: tsmi
- Python 3.10 or newer
- No external SNMP toolchain required
Setup
Install and run
The package includes both the tsmi command line tool and a Python API. Online MIB fetching is opt-in.
Installshell
pip install trishul-smiFirst steps
Compile your first MIB
Exampleshell
tsmi compile IF-MIB -f json --online -o ./out