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
Built Distribution
Hashes for octave_kernel-0.27.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43748eb921ab6a33da25b778af3800e67d972a2d9db97d2b43a0910c986b5757 |
|
MD5 | dbf2e4d09ca4a9f72471d495f1d3cd46 |
|
BLAKE2b-256 | c2a084d72ec809f04793beb2654debdce608aebf9a4e2c5b365a0c8794ed6b84 |