There are several ways to interact with Omniverse using Python.
From the script editor to building your own Kit application, here's an overview to help you pick the right tool for the job.
github.com/NVIDIA-Omniverse/kit-app-template
github.com/NVIDIA-Omniverse/connect-samples