sfpdom Python code to read SFP DOM via smbus on Linux None of the code created by me, just quickly fixed up to run in Python 3. All credit to the original authors.