A python library for interfacing Inspired Energy Smart Batteries