https://github.com/hbmartin/pyldraw3/
https://github.com/hbmartin/legolization/
I'm actively trying to get good instructions out of the legolization project now
https://github.com/hbmartin/pyldraw3-tui