The pysnmp.proto.api.generic package implements a simple, protocol version neutral, high-level API to SNMP protocol objects as a set of mix-in classes complementary to their correspondent SNMP protocol objects.
To make use of the generic high-level API to SNMP protocol objects, user needs to "import" the pysnmp.proto.api.generic package into his application -- importing this package causes all its components to be mixed-into corresponding low-level SNMP protocol classes (such as rfc1157.Message, rfc1157.VarBindList etc).
Once mixed-in, the API classes define a few new methods implementing high-level operations on SNMP protocol objects. While this API is basically invariant over existing SNMP protocol version, there are still slight differences in protocol features so these high-level API methods are categorized on a protocol version basis.