add Python module containing common definitions