Skip to content

v3.11.6

Choose a tag to compare

@furby-tm furby-tm released this 15 Jan 18:12
· 2 commits to main since this release
fc6d15f

What's New

  • Successful embedding of the Python interpreter into Swift.

  • Ability to import Python and call Python directly within the Swift programming language.

  • Fix python headers incorrect includes of cpython headers within extern "C" { blocks, this was previously an error, at least when trying to use that same module (ex. import Python), from a target that was compiled with CXX interoperability enabled, you should now be free to import Python regardless of C/CXX interop. 🎉

Screenshot 2023-11-17 at 4 01 50 PM

Add it to your Swift project with SwiftPM by adding the following in your Package.swift:

  dependencies: [
    .package(url: "https://github.com/wabiverse/MetaversePythonFramework", from: "3.11.6")
  ],