Skip to main content

A Jupyter kernel for Octave.

Project description

Prerequisites: Install Jupyter Notebook, and Octave. It is recommended that you also install gnuplot support in Octave for inline plotting.

To install:

pip install octave_kernel
python -m octave_kernel.install

To use it, run one of:

ipython notebook
# In the notebook interface, select Octave from the 'New' menu
ipython qtconsole --kernel octave
ipython console --kernel octave

This is based on MetaKernel, which means it features a standard set of magics.

A sample notebook is available online.

You can specify the path to your Octave executable by creating an OCTAVE_EXECUTABLE environment variable.

You can also specify the command line options to Octave by creating an OCTAVE_CLI_OPTIONS` environment variable. The will be appended to the default opions of ``--interactive --quiet --no-init-file. Note that the init file is explicitly called after the kernel has set more off to prevent a lockup when the pager is invoked in ~/.octaverc.

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

octave_kernel-0.27.0.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

octave_kernel-0.27.0-py2.py3-none-any.whl (14.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file octave_kernel-0.27.0.tar.gz.

File metadata

File hashes

Hashes for octave_kernel-0.27.0.tar.gz
Algorithm Hash digest
SHA256 f9caec892d762f22aa8cac218e09e23b69c4a28a6c78cd6de95c7e80c9dfd96d
MD5 c0c15fe1a552f0cde965515e43196ba5
BLAKE2b-256 22c9bf53955e0f757ff0314c0f9f9653f39e30b18f4a14ac002c30247aaa9bcd

See more details on using hashes here.

Provenance

File details

Details for the file octave_kernel-0.27.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for octave_kernel-0.27.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 cc35c00a80137e674d025437415b52a74f21a61499a0d6dad61d2dcf4a360e87
MD5 a6762335761193208cd619a09f1df71b
BLAKE2b-256 4b4d8eaecebc1b83f1c5f3181017b2a489ee6ea3aa20caace58f54b8fa735a15

See more details on using hashes here.

Provenance

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