CadQuery should be better as it is using the OpenCASCADE cad kernel (same as FreeCAD) instead of a simplistic ad-hoc thingy.
Also, as it's natively Python, you have all sorts of library support, up to and including things like numpy.
The future dream mCAD for me is something where extrusions and fillets and other 3d stuff is code, but sketches are GUI edited.