PySNMP: Compatibility interfaces: Introduction

### Compatibility interfaces

There are a few compatibility APIs to third-party SNMP toolkits and previous, non API-level compatible, PySNMP versions.

To make use of a compatibility API, an application should either:

- refer to a PySNMP compatibility module by setting $PYTHONPATH shell variable to something like .../pysnmp/compat/{package}/
- explicitly import appropriate module from pysnmp.compat sub-package.

For example, an application initially written for version 2.x of PySNMP would do:

    >>> from pysnmp.compat.pysnmp2x import v2c, role, error
    >>>

What follows is the documentation on various compatibility modules or references to original packages documentation:

- The snmpy compatibility module
- PySNMP 2.x programmer's manual
- PySNMP 1.x programmer's manual