Skip to content

tkf/ipyjulia_hacks

Repository files navigation

Horrible hacks for Julia-IPython integration

Documentation Status Build Status Test Coverage

Screenshots

The full notebook for the screenshot below can be found here.

Julia in IPython kernel in Jupyter notebook

Julia in IPython terminal

Features

  • Julia's Multimedia I/O hooked into IPython's display system
  • Code completion inside Julia magic (by monkey-patching IPython)
  • @async works in Jupyter (Julia's event loop is integrated to ipykernel's asyncio event loop)
  • print works in Jupyter (Julia's standard streams are integrated to ipykernel's I/O)
  • Syntax highlighting works in %%julia magic of ipython CLI (but not in Jupyter)
  • Copy-free access to Julia objects from Python

Those are build on top of the great libraries PyCall.jl and PyJulia. (It would be nice to merge some features to PyJulia at some point. But I wanted to do some experiments on Python interface for handling Julia objects.)

Installation

pip install https://github.com/tkf/ipyjulia_hacks/archive/master.zip#egg=ipyjulia_hacks

IPython extension usage

%load_ext ipyjulia_hacks.ipy.magic

Releases

No releases published

Packages

No packages published