Kanso package for the duality framework