Metakernel for Jupyter
Project description
A Jupyter/IPython kernel template which includes core magic functions (including help, command and file path completion, parallel and distributed processing, downloads, and much more).
See IPython’s docs on wrapper kernels.
Additional magics can be installed within the new kernel package under a magics subpackage.
Features
- Basic set of line and cell magics for all kernels.
Python magic for accessing python interpreter.
Run kernels in parallel.
Shell magics.
Classroom management magics.
Tab completion for magics and file paths.
Help for magics using ? or Shift+Tab.
Plot magic for setting default plot behavior.
Kernels based on Metakernel
matlab_kernel, https://github.com/Calysto/matlab_kernel
octave_kernel, https://github.com/Calysto/octave_kernel
calysto_scheme, https://github.com/Calysto/calysto_scheme
calysto_processing, https://github.com/Calysto/calysto_processing
java9_kernel, https://github.com/Bachmann1234/java9_kernel
xonsh_kernel, https://github.com/Calysto/xonsh_kernel
calysto_hy, https://github.com/Calysto/calysto_hy
gnuplot_kernel, https://github.com/has2k1/gnuplot_kernel
spylon_kernel, https://github.com/mariusvniekerk/spylon-kernel
wolfram_kernel, https://github.com/mmatera/iwolfram
sas_kernel, https://github.com/palmer0914/sas_kernel
pysysh_kernel, https://github.com/Jaesin/psysh_kernel
… and many others.
Installation
You can install Metakernel through pip:
pip install metakernel –upgrade
Use MetaKernel Magics in IPython
Although MetaKernel is a system for building new kernels, you can use a subset of the magics in the IPython kernel.
from metakernel import register_ipython_magics
register_ipython_magics()
Put the following in your (or a system-wide) ipython_config.py file:
# /etc/ipython/ipython_config.py
c = get_config()
startup = [
'from metakernel import register_ipython_magics',
'register_ipython_magics()',
]
c.InteractiveShellApp.exec_lines = startup
Documentation
Example notebooks can be viewed here.
Documentation is available online. Magics have interactive help (and online).
For version information, see the Revision History.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for metakernel-0.20.13-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db2967b1069bf57819b4877e2d7f95c596f1f548b267a04bd67bbbdbab1c42cb |
|
MD5 | be0957f961644941bd8b6c250f9d6037 |
|
BLAKE2b-256 | 4bdbd1384870c34271b76c7471b5c10eefe3eae6820722ed0b3a117a0d75f0bd |