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 py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page