a collaborator of mine is using pyjulia in a similar way - implement reasonably fast interatomic potentials in Julia, but use all the tools available in Python for model setup etc.
In case it helps, you can look at https://github.com/libAtoms/JuLIP.jl/blob/master/temp/julip.py as an example. On Wednesday, 19 October 2016 01:48:01 UTC+1, Corbin Foucart wrote: > > Yes, they were. Is there documentation for pyjulia? I have not found any > other than their Readme file... > > On Tuesday, October 18, 2016 at 5:11:48 PM UTC-4, cdm wrote: >> >> were the examples you found related to use of PyJulia ... ? >> >> https://github.com/JuliaPy/pyjulia >> >> >> >> On Tuesday, October 18, 2016 at 1:42:51 PM UTC-7, Corbin Foucart wrote: >>> >>> Suppose that I have a large Python code; I would like to use Julia to >>> operate on the python workspace variables at certain locations in the code. >>> What occurs to me is to either: >>> >>> 1) write out all python workspace data to file, read data into julia, >>> operate, save, read back into python (seems bad) >>> 2) Call Julia code directly from python (I don't want to perform some >>> trivial computation as in the examples I've found, I want to operate on the >>> lists of numpy arrays) >>> >>> Is there an efficient or documented way to do this? >>> >>