@CodeShepherd, is it possible to load a pacake into a python instance without building it into a snap? If a root user installs a package is it availble to all python instances on the core? If a snap is created that has the required packages and installs them for the snap to run, are those packages now available for other scripts?
I am imagining an app that only serves to load packages for my python instances I run from the core independent of an app.
The best way would always be to pack everything together in one app. If you have more than one application that use the same packages also this is the way to go. You can add several in one single app.
You cannot extend the standard python interpreter that is part of the ctrlX CORE - Python Runtime App. Also there is no mechanism to install a package globally on the ctrlX CORE.
There are two cases where you create dependencies that would dissent to the idea of the snap technology. (Snaps are app packages for desktop, cloud and IoT that are easy to install, secure, cross-platform and dependency-free.):