Python credit library prototype.