Adobe has opened an open source site at http://opensource.adobe.com. The first three projects on the site are Python plug-ins for Adobe Photoshop, Illustrator, and After Effects (Windows only at this point). The Adobe Open Source license is reasonably liberal.