This swift package enables you to use python modules in your macOS apps. Inspired by Python-iOS
.package(url: "https://github.com/kasimok/Python-macOS.git", .branch("main"))
import PythonSupport
PythonSupport.initialize()
If you want to build XCFrameworks yourself, see https://github.com/beeware/Python-Apple-support.
You can check https://github.com/kasimok/testPythonShowcase for an basic example
MIT