How to control ORTUR laser 2 using python program?

LightBurn has a fairly minimal command line interface through UDP commands to do things like launch the program and launch the program + load a file, but that is about it. You can read about it here:

We do not support the level of scripting you requested at this time.