Manipulate Finder .DS_Store files from Python
What is this?
ds_store lets you examine and modify .DS_Store files from Python code; since it is written in pure Python, it is portable and will run on any platform, not just Mac OS X.
Credit is due to Wim Lewis, Mark Mentovai and Yvan Barthélemy for reverse-engineering the .DS_Store file format. See Wim Lewis’ excellent documentation on CPAN for more information.