Python implementation of the migration estimate project