Dirty model for python