Skip to main content

An extension to easysnmp providing table handling and other features.

Project description

PyPI Build Status codecov Code Health Requirements Status

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


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)

Uploaded Source

Built Distribution

easysnmptable-0.1.1-py2.py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page