get_exif

Get EXIF data from a directory of photos

photostats.get_exif.get_exif(photo_list: list)list

Obtain exif data for each photo from the list.

Parameters

photo_list – A list of photos from a directory

Returns

A list of exif dictionaries from photos

photostats.get_exif.get_photos(this_directory: str)list

Get photos from a directory.

Parameters

this_directory – a directory containing photos

Returns

A list containing photo files with complete path

photostats.get_exif.scan_tree(directory: str)

Recursively yield DirEntry objects for given directory.

Parameters

directory – A string with the directory to scan for photos.

Returns

A list of files in the directory.