PyCall is not thread-safe, but this gem provides a way to run all PyCall code in the same thread.
Seth Nickell
on Aug 8, 2024
MIT