pyjulia
pyjulia copied to clipboard
python interface to julia
I have been writing code in Python 3 on Windows 10 and need to call a function which was written in Julia, so I have installed Julia and PyJulia. I...
``` >>> julia.install("C:\\Tools\\Julia\\Julia-1.X\\bin\\julia.exe") [ Info: Julia version info Julia Version 1.5.1 Commit 697e782ab8 (2020-08-25 20:08 UTC) Platform Info: OS: Windows (x86_64-w64-mingw32) Microsoft Windows [Version 10.0.19042.487] CPU: Intel(R) Core(TM) i7-1065G7 CPU...
I am testing diffeqpy in windows, running python 3.7 and PyCharm2020 together with julia 1.5.3 The simple demo code for a 1 order ode runs correctly ,,, but when single-stepping...
OS: Darwin Kernel Version 20.3.0 x86_64 - returned path: `usr/local/Cellar/[email protected]/3.9.1/Frameworks/Python.framework/Versions/3.9/Python.dylib` - correct path: `/usr/local/Cellar/[email protected]/3.9.1/Frameworks/Python.framework/Versions/3.9/lib/libpython3.9.dylib`
I'd like to make it easy for Python denizens to use my Julia packages, so am writing a thin Python wrapper using pyjulia. But to make my wrapper easily installable,...
I work on an [API](https://github.com/NREL/REopt_Lite_API) that relies on data being returned from pyjulia not containing numpy types (because the data must be JSON serializable). Is it possible to add an...
e.g. ```python3 from julia import Main from julia import Base import numpy as np a = np.random.rand(5) print(a.data) # Base.println(Base.pointer(a)) # Ptr{Nothing} @0x00007febe4cd3750 ``` This means that a function that...
Hi, I'm wondering how to reach a local variable in a Julia function. Say I have the following function in Julia: cb = function () local = 1.0 py""" #...
Warning
I want to send large NumPy array from Python to Julia by a reference, not by copy. And probably this do not work. main.py ```python import numpy as np from...