pytoshop
JSON →A Python library to write Photoshop PSD files. It enables programmatic creation of layered PSD documents including support for layers, groups, blend modes, and adjustment layers. Version 1.2.1 is the latest; release cadence is low, with last release in 2021.