If you like OpenSCAD, but want to use Python, then PythonSCAD, which just updated to version 1.2 is what you are looking for:
https://pythonscad.org/