I have a python workflow for my laser cutter, I can make a drawing with drawsvg and then cut it with lightburn.
I have used build123d to make 3d models in python but not yet found a way to generate toolpaths for my milling machine.
Give the code a try!
https://github.com/WillAdams/gcodepreview
If you can describe a simple part I can work it up for you and add it to the examples.
EDIT: Alternately, try pyCAM, or Kiri:Moto w/ an STL?