Skip to main content

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).

https://badge.fury.io/py/metakernel.png/ https://coveralls.io/repos/Calysto/metakernel/badge.png?branch=master https://travis-ci.org/Calysto/metakernel.svg

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

… 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

metakernel-0.20.8.tar.gz (69.9 kB view details)

Uploaded Source

Built Distribution

metakernel-0.20.8-py2.py3-none-any.whl (99.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file metakernel-0.20.8.tar.gz.

File metadata

  • Download URL: metakernel-0.20.8.tar.gz
  • Upload date:
  • Size: 69.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for metakernel-0.20.8.tar.gz
Algorithm Hash digest
SHA256 692297e8bb0ab803d7735a6259d5fbc493fd1cc6faada55ec912a5005cf7963c
MD5 0047311ffcc727847e0bd849971ff3c8
BLAKE2b-256 99cbc44e60af4f1c958584a0e6b1c2718b648cdc0fb1e5c16d19cd15e311ce87

See more details on using hashes here.

File details

Details for the file metakernel-0.20.8-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for metakernel-0.20.8-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4263d249e49c52a73f00a3eff50559e894d74b67ca6260d011ddd580e43bccb7
MD5 9b0f67f996bef3c5260c1fac52ff41e8
BLAKE2b-256 a533bed1df1026f55fda02badb091d65e01b2fb8ef30de0854bfe4b0c9b0d348

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page