Python function repository

Is there a repository or library of functions for Blender python scripting anywhere on the net?

I am trying to write some scripts and can’t help thinking that someone’s already created bits of what I am trying to do.