Read and write image metadata, including EXIF, IPTC, XMP, ICC Profile.
pip install pyexiv2
There are some test cases in folder pyexiv2/tests.
Similar projects:
Books: