Call julia from Python: which package?

Dan Stromberg drsalists at gmail.com
Fri Dec 17 10:12:22 EST 2021


On Fri, Dec 17, 2021 at 7:02 AM Albert-Jan Roskam <sjeik_appie at hotmail.com>
wrote:

> Hi,
>
> I have a Python program that uses Tkinter for its GUI. It's rather slow so
> I hope to replace many or all of the non-GUI parts by Julia code. Has
> anybody experience with this? Any packages you can recommend? I found three
> alternatives:
>
> * https://pyjulia.readthedocs.io/en/latest/usage.html#
> * https://pypi.org/project/juliacall/
> * https://github.com/JuliaPy/PyCall.jl
>
> Thanks in advance!
>

I have zero Julia experience.

I thought I would share this though:
https://stromberg.dnsalias.org/~strombrg/speeding-python/

Even if you go the Julia route, it's probably still best to profile your
Python code to identify the slow ("hot") spots, and rewrite only them.


More information about the Python-list mailing list