PythonCall.jl
                                
                                 PythonCall.jl copied to clipboard
                                
                                    PythonCall.jl copied to clipboard
                            
                            
                            
                        Python and Julia in harmony.
juliacall always segfaults on me when I try to load a package that uses PythonCall. This should reproduce the error: ```python import juliapkg juliapkg.add("BATPythonCall", "dc6699a0-bee0-4ed4-84d6-ad34e0e2513f", rev = "loaddebug", url =...
Hi, I am wondering if there is any API for multiline python code evaluation? I have gone through the documentation but was not able to find a clear example of...
Hello! Thanks for PythonCall/juliacall :) Currently, passing e.g. `{"s": 2, "t": 3}` to Julia will result in a `PyDict{Py, Py}`. It would be great to have a way to convert...
In a complex application with high-frequency python calls I always run into ``` signal (11): Segmentation fault in expression starting at REPL[41]:2 _PyTrash_begin at /opt/conda/conda-bld/python-split_1649141344976/work/Objects/object.c:2125 ``` segfaults when Julia has...
Hi, I can reproduce a hang (no cpu activity) with the following code on 1.8rc1, 1.8rc3 & 1.9dev. I'm running on Ubuntu 21.10, but I can also reproduce it on...
When precompiling [Anneal.jl](https://github.com/psrenergy/Anneal.jl/tree/docs) (docs branch) there seems to be some process lock problem with libmamba. The complete shell session is here: (.CondaPkg is created but left empty) ```julia Windows PowerShell...
```python from julia import Main as jl jl.seval("1 => 2") # python tuple (1, 2) f = jl.seval(r""" function (p::Pair{Int, Int}) p.first end """) f(jl.seval("1 => 2")) # TypeError: Julia:...
For convenience, it would be nice to expose ```julia pyconvert(x) = pyconvert(Any, x) ```
`juliacall.AnyValue.__copy__` and `__deepcopy__` could call Julia's `copy` and `deepcopy`. Conversely, `copy(::Py)` and `deepcopy_internal(::Py, ::IdDict)` could call Python's `copy.copy` and `copy.deepcopy`. https://docs.python.org/3/library/copy.html
At some point, it might be worthwhile to move PythonCall.jl and friends to the JuliaPy organization. (Up to you, of course!)