exif_explorer

try parsing some exif data from Google Photo takeout
# get a list of all *.jpg's in our sample dir
import glob
path = 'sample-data/*.jpg'
images = glob.glob(path)

We will want to have a list of images to query the exif data

len(images)
2

See about reading/writing exif data to images


extract_exif

 extract_exif (images)

open_image

 open_image (image_path)
images_and_data = extract_exif(images)
assert open_image(images_and_data[0].image_path).make == "Google"
test_image = open_image(images_and_data[0].image_path)
images_and_data = extract_exif(images)
assert len(images_and_data) == 2
images_and_data[0].exif.get('datetime_original')
'2018:11:30 07:57:21'