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

Add --user to the above commands to put in your private environment.

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

Uploaded Source

Built Distribution

octave_kernel-0.27.2-py2.py3-none-any.whl (23.6 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for octave_kernel-0.27.2.tar.gz
Algorithm Hash digest
SHA256 7a39e8c7bd4f71d4aa202b7fcc41a37788fca49bd73deba524fd53b86ee3afc2
MD5 13dbdf0462b0771261e5b285a46dd40b
BLAKE2b-256 09354f27c18806d31077b32e55da20f3267f6cc864fc11708c24dba4ed8e72a2

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for octave_kernel-0.27.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 487b671c9f030be8c491c6d866aa1d8aad5ed6cc8a85466ef97dde26924a44d2
MD5 911db0bb0a26029a9526b80f00a5b2e3
BLAKE2b-256 6df4dcda55e008d019ed431279753bc38c5075953a922c78bde16dcac35bece2

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