An extension to easysnmp providing table handling and other features.
Project description
easysnmptable
An extension to easysnmp providing: - SNMP Table handling - Context manager support
Installation
$ pip install easysnmptable
Usage
from easysnmptable import Session
with Session(hostname='localhost', community='public', version=2) as session:
iftable = session.gettable('ifTable')
for index, row in table.rows.items():
print("index: {}".format(index))
for key, value in row.items():
print("{}: {}".format(key, value))
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
easysnmptable-0.1.1.tar.gz
(6.9 kB
view hashes)
Built Distribution
Close
Hashes for easysnmptable-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b4a3f7f05311a65213130c54d74b0adeb60e00097eaeb508eca13b7470c6dbe |
|
MD5 | 9e1fe41a5e9f3f313751f184a37c75e4 |
|
BLAKE2b-256 | 5227b1186a0839d406228a5e5e72fe207eb3c790c7925d533d8eb2999fcbde76 |