python3-gpiod icon indicating copy to clipboard operation
python3-gpiod copied to clipboard

Question: is this the same as `python3-libgpiod` package in Debian

Open BrendanSimon opened this issue 4 years ago • 4 comments

Hi,

Is this the same as python3-libgpiod package in Debian?

If not, then what is the advantage in using this python module (python3-gpiod)?

Is there a more appropriate forum to discuss questions (instead of github issues?)

Thanks, Brendan.

BrendanSimon avatar Sep 28 '20 05:09 BrendanSimon

No advantage.

Until libgpiod v1.4.0 was released, except for the raspberry pi, there were not many boards where the python3-libgpiod package was provided through the package manager. So, I have created this package on PyPI based on the libgpiodcxx package which is familiar to me.

hhk7734 avatar Sep 28 '20 06:09 hhk7734

Ok. Thanks for the update. I have the official python3-libgpiod working on my board so I'll stick with that. If I have any issues I will come back and check if your python module.

BrendanSimon avatar Sep 28 '20 12:09 BrendanSimon

I started using python3-libgpiod from raspbian (1.2-3+rpi1) and it seems like the classes and methods has changed a lot since then. So wouldn't there be an advantage in using the latest version from pip in that you won't have to rewrite your code when the deb is updated?

JohanAR avatar Mar 17 '21 09:03 JohanAR

Hello, also curious on what version should I use? It seems that this one is more up to date than the deb one?

geonnave avatar Aug 17 '22 13:08 geonnave

If not, then what is the advantage in using this python module (python3-gpiod)?

From my perspective the advantage of this project is that as a Python developer I can see more information in the stack trace.

I'm also more optimistic about getting updates as I can potentially patch it myself ;-)

clach04 avatar Feb 26 '23 23:02 clach04

Sounds like some reasonable arguments, especially since Debian packages are generally so far behind when there is a new release, and that only critical updates are available. So using python packages from PyPi makes it easier to get new features and bug fixes for my python apps and still use a stable operating system. Cheers !!

BrendanSimon avatar Feb 28 '23 10:02 BrendanSimon