Update inventory.py and README.mkd
add get_background method