# Calling Julia from Python

**URL:** <https://discourse.julialang.org/t/calling-julia-from-python/36538>\
**Category:** New to Julia\
**Tags:** gsoc\
**Created:** [March 26, 2020, 6:08am UTC](https://discourse.julialang.org/t/calling-julia-from-python/36538 "2020-03-26T06:08:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![omi](https://avatars.discourse-cdn.com/v4/letter/o/e56c9b/32.png) [@omi](https://discourse.julialang.org/u/omi)\
**Post date:** [March 26, 2020, 6:08am UTC](https://discourse.julialang.org/t/calling-julia-from-python/36538/1 "2020-03-26T06:08:34Z")

</div>

I’m interested for working in julia for GSoC 20. For the same I am interested in calling julia functions from python.I am very new to julia but familiar with python. Will be eager to know how to get started…

---

<div class="post-metadata">

**Author:** ![lungben](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lungben/32/12314_2.png) [@lungben](https://discourse.julialang.org/u/lungben)\
**Post date:** [March 26, 2020, 6:10am UTC](https://discourse.julialang.org/t/calling-julia-from-python/36538/2 "2020-03-26T06:10:23Z")

</div>

You can do this using pyjulia - `pip install julia`.

Edit: examples are given here:

> [@Calling julia functions from python](https://discourse.julialang.org/t/calling-julia-functions-from-python/6885):
>
> I’m interested in using Julia to speed up parts of a python program I’m writing. It seems pyjulia [GitHub - JuliaPy/pyjulia: python interface to julia](https://github.com/JuliaPy/pyjulia) is the standard package to do this with? As it uses pycall I guess it should be fine to call the function with some arguments being ndarrays (from numpy)? Looking at pyjulia, calling stdlib functions and evaluating julia expressions seems pretty straightforward. But I don’t understand how one is supposed to, let’s say, import a julia function fro…

Edit 2:welcome 🙂

---

<div class="post-metadata">

**Author:** ![omi](https://avatars.discourse-cdn.com/v4/letter/o/e56c9b/32.png) [@omi](https://discourse.julialang.org/u/omi)\
**Post date:** [March 27, 2020, 5:07am UTC](https://discourse.julialang.org/t/calling-julia-from-python/36538/3 "2020-03-27T05:07:01Z")

</div>

Thanks for sharing

---

<div class="post-metadata">

**Author:** ![HugoTrentesaux](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hugotrentesaux/32/12583_2.png) [@HugoTrentesaux](https://discourse.julialang.org/u/HugoTrentesaux)\
**Post date:** [May 24, 2022, 10:46am UTC](https://discourse.julialang.org/t/calling-julia-from-python/36538/4 "2022-05-24T10:46:49Z")

</div>

> [@lungben](#):
>
> You can do this using pyjulia - `pip install julia` .

Is [it](https://pypi.org/project/julia/) still up-to-date ?

---

<div class="post-metadata">

**Author:** ![lungben](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lungben/32/12314_2.png) [@lungben](https://discourse.julialang.org/u/lungben)\
**Post date:** [May 24, 2022, 11:38am UTC](https://discourse.julialang.org/t/calling-julia-from-python/36538/5 "2022-05-24T11:38:40Z")

</div>

[Home · PythonCall & JuliaCall](https://cjdoris.github.io/PythonCall.jl/dev/) looks to be better maintained in the moment.
