It sounds to me that you want Subversion. There is a Python binding if you have anything you'd need to do beyond what already comes with the system (there are a variety of web interfaces already out there, for instance, so I don't know that you'd need to do anything extra). Just google "subversion".
Jim -- http://mail.python.org/mailman/listinfo/python-list