PyBase is a common Python module that I used to contain generic code which might be useful across tools and applications.
It currently has code for Mocking out Tests and some very basic Maya (2014) functionality
Its completely open source, and can be found at:
https://bitbucket.org/geoffsamuel/pybase/src/master