Download Latest Version V2.0.1 source code.zip (997.5 kB)
Email in envelope

Get an email when there's a new version of ezsnmp

Home / v2.1.0a1
Name Modified Size InfoDownloads / Week
Parent folder
sphinx_documentation.zip 2025-07-18 408.7 kB
README.md 2025-07-17 3.1 kB
V2.1.0a1 source code.tar.gz 2025-07-17 856.9 kB
V2.1.0a1 source code.zip 2025-07-17 1.0 MB
Totals: 4 Items   2.3 MB 1

Summary

This release introduces two major improvements: a new data conversion feature for more intuitive results in Python, and a significant enhancement to our build process for better compatibility and reliability.

Key Features & Fixes

  • New result.converted_value Field: Results now include a converted_value field, which automatically converts the underlying C++ data types from SNMP into native Python data types. This simplifies data handling and makes results easier to work with.

  • Improved Build Process: The cibuildwheel configuration has been updated to build wheels against the native net-snmp libraries provided by the build environment. This replaces the previous method of forcing a single version, leading to more robust and compatible wheels across different platforms.

SNMP Data Type Conversion

The result.converted_value field maps the following SNMP types to their corresponding Python 3 data types:

SNMP Type C++ Intermediate Python 3 Result
INTEGER int int
Integer32 uint32_t int
Gauge32 uint32_t int
Counter32 uint32_t int
Counter64 uint64_t int
TimeTicks uint32_t int
HEX-STRING std::vector<unsigned char> bytes

Test this in your production/developer environments. If you find issues, please submit an issue, If you can fix the issue submitted, thanks in advance!

Documentation for V2.1.0 can be found here - https://carlkidcrypto.github.io/ezsnmp/html/index.html

Allow a few hours after this post for files to become available via pip.

Happy Testing/Using!

What's Changed

New Contributors

Full Changelog: https://github.com/carlkidcrypto/ezsnmp/compare/v2.1.0a0...v2.1.0a1

Download ezsnmp

https://pypi.org/project/ezsnmp/2.1.0a1

Source: README.md, updated 2025-07-17