Name | Modified | Size | Downloads / 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 aconverted_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 nativenet-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
- Update auto_change_log.yml by @carlkidcrypto in https://github.com/carlkidcrypto/ezsnmp/pull/394
- Update auto_change_log.yml by @carlkidcrypto in https://github.com/carlkidcrypto/ezsnmp/pull/395
- Update auto_change_log.yml by @carlkidcrypto in https://github.com/carlkidcrypto/ezsnmp/pull/396
- Update auto_change_log.yml by @carlkidcrypto in https://github.com/carlkidcrypto/ezsnmp/pull/397
- 📝 Update Changelog by @github-actions[bot] in https://github.com/carlkidcrypto/ezsnmp/pull/398
- Bump setuptools from 80.3.1 to 80.9.0 by @dependabot[bot] in https://github.com/carlkidcrypto/ezsnmp/pull/382
- Feature/Update Pyproject File For Linux Builds by @carlkidcrypto in https://github.com/carlkidcrypto/ezsnmp/pull/399
- Update README.rst by @carlkidcrypto in https://github.com/carlkidcrypto/ezsnmp/pull/400
- 401 feature add convertvalue to datatypes by @carlkidcrypto in https://github.com/carlkidcrypto/ezsnmp/pull/403
New Contributors
- @github-actions[bot] made their first contribution in https://github.com/carlkidcrypto/ezsnmp/pull/398
Full Changelog: https://github.com/carlkidcrypto/ezsnmp/compare/v2.1.0a0...v2.1.0a1