Simplified port of GVM for python