py model, and csvz processing