RFC: Python bindings to Linux i2c-dev

Mark M. Hoffman mhoffman at lightlink.com
Sat Jan 22 17:58:05 EST 2005

Hi everyone:

I've created a Python extension in C for the Linux i2c-dev interface.
As this is my first attempt at extending Python, I would appreciate any
comments or suggestions.  I'm especially interested to know if (and
where) I got any of the ref-counting wrong.  But I'm also interested
in comments about the style, the interface, or whatever else.  You can
find my source code here [1].

If you actually want to build/install/use this thing, you better read
the caveats here [2].

And in case you're interested, here is a page full of links to info on
I2C/SMBus [3].

[1] http://members.dca.net/mhoffman/sensors/python/20050122/

[2] http://archives.andrew.net.au/lm-sensors/msg28792.html

[3] http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/doc/useful_addresses.html

Thanks and regards,

Mark M. Hoffman
mhoffman at lightlink.com

More information about the Python-list mailing list