A simple to use smbus based library for INA219 high side power monitoring chip. It does not depend on any other library so it should work on virtually any single board computer having I2C. Just put in the same directory where you are running your program. That should do the trick.
Some of the functions and definitions are courtesy of https://github.com/chrisb2/pi_ina219 and https://github.com/adafruit/Adafruit_INA219 .