calling Python code from Swift Package

To use some libraries which are easily available in python it is required to run the python files and get output from it from the MacOS app, What is the preferred way (from apple) to call python functions from swift?

calling Python code from Swift Package
 
 
Q