Set PYTHONPATH environment

What do you mean by dynamically loading it? As far as I understand it, LGPL allows the default way to use Java libraries: by including their JAR and linking to it. This is also how Ignition distributes modules.

It's different from GPL, which generally has the purpose that it cannot be used as a library without open-sourcing the rest (unless you can separate it to a degree that allows your app to be partially functional without the library).

https://www.gnu.org/licenses/lgpl-java.en.html