Sony Imageworks releases 5 projects as open source. Includes pystring.
opensource.imageworks.com