Skip to content

Commit ad2500f

Browse files
committed
Mention PyJulia and ipyjulia_hacks
1 parent 459030e commit ad2500f

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,29 @@ First launch of IPython may be slow.
3333
* IPython (7.0 or above is recommended)
3434

3535

36+
## Accessing Julia from Python
37+
38+
If simple `Main.eval("...")` and `Main.<name>` accessor is not enough,
39+
[PyJulia] is a nice way to access Julia objects from Python. For
40+
example, you can import any Julia package from Python:
41+
42+
[PyJulia]: https://github.com/JuliaPy/pyjulia
43+
44+
```pycon
45+
>>> from julia import Base
46+
>>> Base.banner()
47+
```
48+
49+
**Note:** Until PyJulia 0.2 is released, I recommend using the master
50+
branch of PyJulia.
51+
See: https://github.com/JuliaPy/pyjulia/issues/198
52+
53+
For more advanced/experimental Julia-(I)Python integration, see
54+
[`ipyjulia_hacks`].
55+
56+
[`ipyjulia_hacks`]: http://ipyjulia-hacks.readthedocs.io/en/latest
57+
58+
3659
## Configuration
3760

3861
### Julia-mode like prompt

0 commit comments

Comments
 (0)