Python Implementation of CVS