Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#961021: ITP: python-easysnmp -- A blazingly fast and Pythonic SNMP library based on the official Net-SNMP bindings

91 views
Skip to first unread message

Bernhard Schmidt

unread,
May 19, 2020, 8:40:03 AM5/19/20
to
Package: wnpp
Severity: wishlist
Owner: Bernhard Schmidt <be...@debian.org>

* Package name : python-easysnmp
Version : 0.2.5
Upstream Author : Kent Coble <cobl...@gmail.com>
* URL : https://github.com/kamakazikamikaze/easysnmp
* License : BSD
Programming Lang: Python with a C library
Description : A blazingly fast and Pythonic SNMP library based on the official Net-SNMP bindings

Easy SNMP is a fork of Net-SNMP Python Bindings that attempts to bring a more
Pythonic interface to the library.

The old python-netsnmp bindings from src:net-snmp were Python2-only
and are now dropped from Bullseye/Sid. python3-pysnmp4 is a pure-python
implementation that is said to be very slow and even the high-level API
is not easy to use (see the examples at

http://snmplabs.com/pysnmp/examples/hlapi/asyncore/sync/manager/cmdgen/walking-operations.html)

python3-snimpy appears to aim at another goal and refers to Easy SNMP in
the docs for certain use cases (see https://snimpy.readthedocs.io/en/latest/).

Note that the upstream project is looking for a new maintainer and
appears to be quite dormant. There are issues with Python 3.7+, but a pull
request is available and has been verified to work. I don't intend to
upload to Debian until these issues have been resolved.

This ITP is also meant to facilitate feedback whether this library could
be of some use for SNMP with Python. I failed to find something better.

I'm open to maintaining it in the Python team, in the Debian group on
salsa, LowNMU, etc.

Bernhard

Craig Small

unread,
May 21, 2020, 6:20:02 PM5/21/20
to
Hi Bernhard,
I'm the net-snmp Debian package maintainer.

On Tue, 19 May 2020 at 22:36, Bernhard Schmidt <be...@debian.org> wrote:
> The old python-netsnmp bindings from src:net-snmp were Python2-only
> and are now dropped from Bullseye/Sid.
You could have also said the net-snmp python bindings were terrible
and deserved to be deleted, but that's a kinder way of putting it.
Really they suffered from bit-rot and had a lot of important features
missing, python 3 being the most obvious one.

> python3-pysnmp4 is a pure-python
> implementation that is said to be very slow and even the high-level API
> is not easy to use (see the examples at
I actually liked the API he used, but nothing is simple about SNMP.

> Note that the upstream project is looking for a new maintainer and
> appears to be quite dormant. There are issues with Python 3.7+, but a pull
> request is available and has been verified to work. I don't intend to
> upload to Debian until these issues have been resolved.
SNMP projects seem to be hard to maintain. It's a fiddly protocol for sure.

Anyway, if you need any help with the net-snmp library or just someone
to bounce ideas off, I'm here. I don't want to maintain easysnmp but
willing to help when it's needed.

Hopefully, the upstream issues get sorted! Until we have more snmp
libraries than IRC clients I say more the merrier!

- Craig

Bernhard Schmidt

unread,
May 27, 2022, 12:30:03 PM5/27/22
to
Control: tags -1 pending

Hi,

>> Note that the upstream project is looking for a new maintainer and
>> appears to be quite dormant. There are issues with Python 3.7+, but a pull
>> request is available and has been verified to work. I don't intend to
>> upload to Debian until these issues have been resolved.
> SNMP projects seem to be hard to maintain. It's a fiddly protocol for sure.
>
> Anyway, if you need any help with the net-snmp library or just someone
> to bounce ideas off, I'm here. I don't want to maintain easysnmp but
> willing to help when it's needed.
>
> Hopefully, the upstream issues get sorted! Until we have more snmp
> libraries than IRC clients I say more the merrier!

Pretty exactly two years later upstream has resumed
development/maintainership and merged a couple of fixes, among others it
is not necessary anymore to carry a 10+ patches patchset to support
Python 3.7+

Also two years later I still haven't found a better pythonic SNMP module
than this, so I'm going to polish it and upload it within the next weeks.

Bernhard
0 new messages