Metadata-Version: 2.0
Name: easysnmptable
Version: 0.1.1
Summary: An extension to easysnmp providing table handling and other features.
Home-page: https://github.com/wolcomm/easysnmptable
Author: Workonline Communications
Author-email: communications@workonkonline.co.za
License: Apache-2.0
Download-URL: https://github.com/easysnmptable/0.1.1
Description-Content-Type: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Internet
Requires-Dist: easysnmp (<0.3,>=0.2.5)

|PyPI| |Build Status| |codecov| |Code Health| |Requirements Status|

easysnmptable
=============

An extension to
`easysnmp <https://github.com/kamakazikamikaze/easysnmp>`__ providing: -
SNMP Table handling - Context manager support

Installation
------------

.. code:: bash

    $ pip install easysnmptable

Usage
-----

.. code:: python

    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))

.. |PyPI| image:: https://img.shields.io/pypi/v/easysnmptable.svg
   :target: https://pypi.python.org/pypi/easysnmptable
.. |Build Status| image:: https://travis-ci.org/wolcomm/easysnmptable.svg?branch=master
   :target: https://travis-ci.org/wolcomm/easysnmptable
.. |codecov| image:: https://codecov.io/gh/wolcomm/easysnmptable/branch/master/graph/badge.svg
   :target: https://codecov.io/gh/wolcomm/easysnmptable
.. |Code Health| image:: https://landscape.io/github/wolcomm/easysnmptable/master/landscape.svg?style=flat
   :target: https://landscape.io/github/wolcomm/easysnmptable/master
.. |Requirements Status| image:: https://requires.io/github/wolcomm/easysnmptable/requirements.svg?branch=master
   :target: https://requires.io/github/wolcomm/easysnmptable/requirements/?branch=master


