Asynchronous: trolliusΒΆ

Trollius framework offers infrastructure that allows you writing single-threaded, concurrent code using Python coroutines.

Trollius is a backport of asyncio to Python versions older than 3.3. Trollius supports nearly the same API as asyncio. Full support of both asyncio and trollius modules is built into pysnmp.

All SNMP-related functionality of Native PySNMP API to Standard SNMP Applications (RFC3413) remains available to asyncio-backed applications.

We do not provide Command Generator and Notification Originator examples, as it is much easier to use high-level interfaces instead. As for Command Responder and Notification Receiver, those could be use in the same way as with asyncio.

For more details on PySNMP programming model and interfaces, please refer to the documentation