OSXPhotos by Rhet Turnbull

...provides both the ability to interact with and query Apple’s Photos.app library on macOS directly from your python code as well as a very flexible command line interface (CLI) app for exporting photos.

[dalestrumpell]