How to use python in Editor to build lighting and package project?

I’m looking for an answer to this as well. We need to build multiple lighting scenarios per map, having the option to automate that via Python would be very helpful.