# Swift2Python: like PythonKit except modernized for Swift concurrency

**URL:** <https://forums.swift.org/t/swift2python-like-pythonkit-except-modernized-for-swift-concurrency/87691>\
**Category:** Related Projects\
**Tags:** concurrency, python, pythonkit\
**Created:** [June 25, 2026, 3:34pm UTC](https://forums.swift.org/t/swift2python-like-pythonkit-except-modernized-for-swift-concurrency/87691 "2026-06-25T15:34:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zbenwhite](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/zbenwhite/32/45798_2.png) [@zbenwhite](https://forums.swift.org/u/zbenwhite)\
**Post date:** [June 25, 2026, 3:34pm UTC](https://forums.swift.org/t/swift2python-like-pythonkit-except-modernized-for-swift-concurrency/87691/1 "2026-06-25T15:34:20Z")

</div>

I made a new alternative to PythonKit. It is modern, works together with Swift concurrency, and automatically handles the GIL for you.

It's called Swift2Python. It is here: [GitHub - zbenwhite/Swift2Python: Swift ↔ Python interoperability library designed for Swift 6 strict concurrency + free-threaded (non-GIL) Python, with support for some slightly older Python releases · GitHub](https://github.com/zbenwhite/Swift2Python)

---

<div class="post-metadata">

**Author:** ![zbenwhite](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/zbenwhite/32/45798_2.png) [@zbenwhite](https://forums.swift.org/u/zbenwhite)\
**Post date:** [June 28, 2026, 4:24am UTC](https://forums.swift.org/t/swift2python-like-pythonkit-except-modernized-for-swift-concurrency/87691/2 "2026-06-28T04:24:59Z")

</div>

Released: v0.9.0. I basically asked the various AIs whether it's release 1.0 ready and then fixed what they said to fix (Codex mostly wrote the code). Once done I made the release. Waiting for actual real world usage before v1.0.
