python library for getting metadata