How to read eeprom for Jetson AGX Xavier using Python

I want to read eeprom of Jetson AGX Xavier using python. I know how to read eeprom on linux using command:
$ sudo i2cdump -f -y 0 0x5

Because I want to secure my code on only single Jetson AGX Xavier H/W.

Please help …


hello akashzade.blackstraw,

there’s an addition package you may install for python to communicate with I2C,
i.e. $ apt-get install python-smbus

you may google some samples for reference.