Pockets is full of highly tested, well maintained Python helper functions.