The company of Mathematica have provided a free engine to be recalled by other language like Python . One can use Mathematica code to help dynamo . The step is as the following .
- download and install wolfram engine (https://www.wolfram.com/engine/)
- install the Mathematica extension for python through pip (https://reference.wolfram.com/language/WolframClientForPython/)
- import Mathematica extension before you launch python code