<s>[INST] I have a laser cutting machine and I would like to generate G-code automatically using a Python script. 

I seem to have found a suitable library called "G-code-processor" but I was initially hoping to find a library that can emit G-code on its own, not just process it. 

Are there any libraries which would work well with my project goals?[/INST]