A SNMP Libray based in Rust SNMP
Project description
A Python SNMP library developed in Rust with PyO3.
About
SNMP-RP is intended to be an interface between SNMP Rust libray and Python. Bringing compiled language performance and optimization to Python.
Installation
pip install snmp-rp
Examples
GET
import snmp_rp
snmp_oid = '1.3.6.1.4.1.367.3.2.1.2.1.4.0'
snmp_host = '172.16.0.53'
snmp_community = 'public'
snmp_port = '161'
sys_descr = snmp_rp.get(snmp_oid, snmp_host, snmp_port, snmp_community)
print(sys_descr)
Roadmap
Add support for GETNEXT
Add support for GETBULK
Add support for SET
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
snmp_rp-0.3.1.tar.gz
(4.5 kB
view hashes)
Built Distribution
snmp_rp-0.3.1-cp39-none-win_amd64.whl
(122.2 kB
view hashes)
Close
Hashes for snmp_rp-0.3.1-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48e0b6773cb201e55141e96f2e2907ab89d64fb0b9dc22162cb1ee1800c8ac1f |
|
MD5 | 4ba68255eb775f010545bd21ee1a0a49 |
|
BLAKE2b-256 | 16fb116c6d46bf63063bc56d860314ae6e51d533097818b579579617e131165b |