[Twisted-Python] SNMP in Twisted

Moshe Zadka m at moshez.org
Wed May 28 05:40:45 EDT 2003

On Wed, 28 May 2003, Wari Wahab <wari at home.wari.org> wrote:

> 2. Use the PySNMP library as is, no matter how blocking that can be?

It's often possible to use a library *partially*, if it's structured
correctly. E.g., have the network code in Twisted pass in data to some
semi-internal PySNMP function. As an example, this is how the XML-RPC
and SOAP support work -- they use the parsing code from xmlrpclib
and SOAPpy, but use Twisted's network code.

If this isn't possible, see if you can modify PySNMP a little to decouple
the network code from the protocol parsing code, and send back the PySNMP
guys the patch. Often, authors will take this kind of patches, especially
if accompnied by "Twisted support" :). Just don't make it *depend* on Twisted.

Moshe Zadka -- http://moshez.org/
Buffy: I don't like you hanging out with someone that... short.
Riley: Yeah, a lot of young people nowadays are experimenting with shortness.
Agile Programming Language -- http://www.python.org/

More information about the Twisted-Python mailing list