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.
Tab completion for magics and file paths.
Help for magics using ? or Shift+Tab.
Plot magic for setting default plot behavior.
Python magic for accessing python interpreter.
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. 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.16.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c022455aac481c0aa87983562b0311e2551bb94a15b7ce31b9ee106db64022a |
|
MD5 | 73c6fc1363e996e4122f2bbc754deac0 |
|
BLAKE2b-256 | 60c87e7a64130ec060d17427e9961c02edb948d77723a6650e7e1198b316ffda |