Skip to main content

SNMP Library for Python

Become a Sponsor PyPI PyPI Downloads Python Versions GitHub license

This is a pure-Python, open source and free implementation of v1/v2c/v3 SNMP engine distributed under 2-clause BSD license.

Features

  • Complete SNMPv1/v2c and SNMPv3 support based on IETF RFC standards.
  • SMI framework for resolving MIB information and implementing SMI Managed Objects
  • Complete SNMP entity implementation
  • USM Extended Security Options support (3DES, 192/256-bit AES encryption) based on draft standards and vendor implementations.
  • Extensible network transports framework (UDP/IPv4, UDP/IPv6)
  • Asynchronous socket-based IO API support via asyncio integration
  • PySMI integration for dynamic MIB compilation
  • Built-in instrumentation exposing protocol engine operations
  • Python eggs and py2exe friendly
  • 100% Python, works with Python 3.11+ (tested on 3.11–3.15)
  • MT-safe (if SnmpEngine is thread-local)

Features, specific to SNMPv3 model include:

  • USM authentication (MD5/SHA-1/SHA-2) and privacy (DES/AES) protocols (RFC3414, RFC7860)
  • View-based access control to use with any SNMP model (RFC3415)
  • Built-in SNMP proxy PDU converter for building multi-lingual SNMP entities (RFC2576)
  • Remote SNMP engine configuration
  • Optional SNMP engine discovery
  • Shipped with standard SNMP applications (RFC3413)

Download & Install

The PySNMP package is freely available for download from PyPI and GitHub.

Just run:

pip install pysnmp

To download and install PySNMP along with its dependencies:

  • pyasn1 package from PyASN1
  • If pysmi package (2.0.0 and above) from PySMI presents, MIB services are enabled.
  • If cryptography package (50.0.x and above) presents, strong SNMPv3 encryption is enabled.

Make sure you check out other sibling projects of PySNMP from the home page.

Documentation

PySNMP documentation is hosted at the docs site.

All rights reserved.

Metadata

Release files for pysnmp 7.1.34

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pysnmp 7.1.34
File Size Uploaded Provenance Actions
pysnmp-7.1.34.tar.gz 270.8 kB Without provenance Details for pysnmp-7.1.34.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pysnmp 7.1.34
File Interpreter ABI Platform Actions
pysnmp-7.1.34-py3-none-any.whl Python 3 none any Details for pysnmp-7.1.34-py3-none-any.whl

Total release size: 628.4 kB

Release files / pysnmp-7.1.34.tar.gz

Download URL pysnmp-7.1.34.tar.gz
Size 270.8 kB
Tags Source
SHA-256 checksum
How to use checksums
611396f52c4f38aa13597da57195078a6a09dfd1d86ca776d1fa0ef65c1475a5
BLAKE2b-256 checksum
How to use checksums
4203d9ae0f66fb66080557cd3e49319000c09740c4933bc793f70eed93b4d082
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.5

Release files / pysnmp-7.1.34-py3-none-any.whl

Download URL pysnmp-7.1.34-py3-none-any.whl
Size 357.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9097abff09312cffc83b8cb2e36b72e3e9a8f986dc4e7d1218745d2fca94390b
BLAKE2b-256 checksum
How to use checksums
b462631b695c7bc742fce6a7b5aa619004cae04f3ddbbd4db012695d7b3981db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.5

Security for pysnmp 7.1.34

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

7.1.34 This release

2 release files No provenance

4.1.7a

3.x

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page