I have a high-performant function written in Julia, how can I use it from Python?

Assuming your Python and Julia are installed you need to take the following steps. Run Julia and install PyCall using Pkg pkg”add PyCall” Put your code into a Julia package using Pkg Pkg.generate(“MyPackage”) In the folder src you will find MyPackage.jl, edit it to look like this: module MyPackage f(x,y) = 2x.+y export f end … Read more