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. 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.18.1.tar.gz (66.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

metakernel-0.18.1-py2.py3-none-any.whl (98.8 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for metakernel-0.18.1.tar.gz
Algorithm Hash digest
SHA256 97e2ef2399bbc2263501f259328ff9c34db3c8f529f9799c81980a2fa6cb5060
MD5 a1230a5f49b493a1e6e069406098da13
BLAKE2b-256 87d8a49593cf271459876f45462092bc39055d8ff213b2fb5042de62d8e3df94

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for metakernel-0.18.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7e6311cfb58c1b9ea2c64e229196a2df9b81e121bd99db0770927fdf7f959fe4
MD5 f9a52aada4ab81b657ede91ce931c267
BLAKE2b-256 c12ac8d37ed0393f2da001961f6117c58f277a95d2611c2a7af9b265fc06e677

See more details on using hashes here.

Supported by

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