Python extension for tandem genome analysis