diophantine (3*x**2+4*y**2-5*z**2+4*x*y-7*y*z+7*z*x)

Want to compute something more complicated? Try a full Python/SymPy console at SymPy Live.