Writing Scripts
There are two methods of instantiating Photons in a Python script:
Using the library_setup function, or
Registering a task like the tasks shown in the CLI commands section.
Instantiating Photons reads in the configuration and registers all the functionality provided by the various modules.