pyquante2 by @rpmuller