The Ohloh Source Control Management library is an abstraction layer for source control management systems, allowing an application to interoperate with various SCMs using a single interface.
It was originally developed at Ohloh, and is used to generate the reports at www.ohloh.net.