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 details)
Built Distribution
File details
Details for the file easysnmptable-0.1.1.tar.gz
.
File metadata
- Download URL: easysnmptable-0.1.1.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6c842281389beb881e0be1ef25b16e02d5e30cbd9410fa0d06624399f37f91e |
|
MD5 | d607e81ff72ad78a59b69a820c2a3b0e |
|
BLAKE2b-256 | b92c05a2d2b09add22d9788a4f1ba979e413683b15f931ecafc6d96bfce8eb43 |
File details
Details for the file easysnmptable-0.1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: easysnmptable-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b4a3f7f05311a65213130c54d74b0adeb60e00097eaeb508eca13b7470c6dbe |
|
MD5 | 9e1fe41a5e9f3f313751f184a37c75e4 |
|
BLAKE2b-256 | 5227b1186a0839d406228a5e5e72fe207eb3c790c7925d533d8eb2999fcbde76 |