All Projects → WolframResearch → Wolframlanguageforjupyter

WolframResearch / Wolframlanguageforjupyter

Licence: mit
Wolfram Language kernel for Jupyter notebooks

Projects that are alternatives of or similar to Wolframlanguageforjupyter

Irkernel
R kernel for Jupyter
Stars: ✭ 1,379 (+154.43%)
Mutual labels:  jupyter, jupyter-kernels
Lfortran
Official mirror of https://gitlab.com/lfortran/lfortran. Please submit pull requests (PR) there. Any PR sent here will be closed automatically.
Stars: ✭ 220 (-59.41%)
Mutual labels:  jupyter, jupyter-kernels
Stata kernel
A Jupyter kernel for Stata. Works with Windows, macOS, and Linux.
Stars: ✭ 172 (-68.27%)
Mutual labels:  jupyter, jupyter-kernels
Juniperkernel
R Kernel for Jupyter
Stars: ✭ 67 (-87.64%)
Mutual labels:  jupyter, jupyter-kernels
Ielixir
Jupyter's kernel for Elixir programming language
Stars: ✭ 312 (-42.44%)
Mutual labels:  jupyter, jupyter-kernels
Almond
A Scala kernel for Jupyter
Stars: ✭ 1,354 (+149.82%)
Mutual labels:  jupyter, jupyter-kernels
Best Of Jupyter
🏆 A ranked list of awesome Jupyter Notebook, Hub and Lab projects (extensions, kernels, tools). Updated weekly.
Stars: ✭ 200 (-63.1%)
Mutual labels:  jupyter, jupyter-kernels
Ocaml Jupyter
An OCaml kernel for Jupyter (IPython) notebook
Stars: ✭ 177 (-67.34%)
Mutual labels:  jupyter, jupyter-kernels
Icsharp
C# kernel for Jupyter
Stars: ✭ 263 (-51.48%)
Mutual labels:  jupyter, jupyter-kernels
imongo
A MongoDB kernel for Jupyter
Stars: ✭ 51 (-90.59%)
Mutual labels:  jupyter, jupyter-kernels
Dyalog Jupyter Kernel
A Jupyter kernel for Dyalog APL
Stars: ✭ 26 (-95.2%)
Mutual labels:  jupyter, jupyter-kernels
Hydrogen
Run code interactively, inspect data, and plot. All the power of Jupyter kernels, inside your favorite text editor.
Stars: ✭ 3,763 (+594.28%)
Mutual labels:  jupyter, jupyter-kernels
Xeus
Implementation of the Jupyter kernel protocol in C++
Stars: ✭ 693 (+27.86%)
Mutual labels:  jupyter, jupyter-kernels
Common Lisp Jupyter
A Common Lisp kernel for Jupyter along with a library for building Jupyter kernels.
Stars: ✭ 101 (-81.37%)
Mutual labels:  jupyter, jupyter-kernels
Ijava
A Jupyter kernel for executing Java code.
Stars: ✭ 614 (+13.28%)
Mutual labels:  jupyter, jupyter-kernels
coq jupyter
Jupyter kernel for Coq
Stars: ✭ 70 (-87.08%)
Mutual labels:  jupyter, jupyter-kernels
Kernel gateway
Jupyter Kernel Gateway
Stars: ✭ 337 (-37.82%)
Mutual labels:  jupyter, jupyter-kernels
Enterprise gateway
A lightweight, multi-tenant, scalable and secure gateway that enables Jupyter Notebooks to share resources across distributed clusters such as Apache Spark, Kubernetes and others.
Stars: ✭ 412 (-23.99%)
Mutual labels:  jupyter, jupyter-kernels
Debugger
A visual debugger for Jupyter notebooks, consoles, and source files
Stars: ✭ 476 (-12.18%)
Mutual labels:  jupyter
Lets Plot
An open-source plotting library for statistical data.
Stars: ✭ 531 (-2.03%)
Mutual labels:  jupyter

Wolfram Language kernel for Jupyter notebooks

Jupyter provides a protocol (ZMQ) to connect their notebooks to various languages. This project defines a Wolfram Language kernel which can be used in Jupyter notebooks.

Prerequisites

On your machine, you will need:

  • Jupyter
  • Wolfram Engine, i.e., a Wolfram Desktop or Mathematica installation
  • Optional, but recommended: wolframscript

Installation

There are two ways to make the Wolfram Language available in Jupyter:

  • Using the wolframscript command line script interpreter
  • Using Wolfram Language commands from the WolframLanguageForJupyter paclet.

Method 1: Using wolframscript

On macOS/Unix: Clone the repository

git clone https://github.com/WolframResearch/WolframLanguageForJupyter.git

Run the following command in your shell to make the Wolfram Language engine available to Jupyter:

./configure-jupyter.wls add

On Windows: Follow the fist two steps here, and on the the third step select Download Zip, and unzip the file using a tool for Windows. Open PowerShell in the directory of the unzipped folder

Run the following command in your shell to make the Wolfram Language engine available to Jupyter:

.\configure-jupyter.wls add

Notes:

  • If the location of the Wolfram Engine changes, you will have to run configure-jupyter.wls again.

  • configure-jupyter.wls gives an error if the Wolfram Engine could not be added.

For more configuration options run:

./configure-jupyter.wls help

Method 2: Using Wolfram Language

You can download the latest version of the paclet here:

https://github.com/WolframResearch/WolframLanguageForJupyter/releases

To install the paclet, run the following command with Wolfram Language (replacing x, y, and z with the correct values):

PacletInstall["WolframLanguageForJupyter-x.y.z.paclet"]

To load the paclet, run:

Needs["WolframLanguageForJupyter`"]

To add the Wolfram Language to Jupyter, run:

ConfigureJupyter["Add"]

To specify a specific Jupyter binary, run:

ConfigureJupyter["Add", "JupyterInstallation" -> "..."]

To specify a specific Wolfram Engine binary, run:

ConfigureJupyter["Add", "WolframEngineBinary" -> "..." ]

Please note, however, that the value for the "WolframEngineBinary" option should not be a wolframscript path.

Testing your installation

The following command should now list the Wolfram Engine:

jupyter kernelspec list

The output should include a line like this:

wolframlanguage12    C:\ProgramData\jupyter\kernels\wolframlanguage12

To test your installation in a notebook, run the following command:

jupyter notebook

Then select Wolfram Language from the drop down menu:

menu

After the In[] prompt you can now type a Wolfram Language command (use shift-enter to evaluate):

in-out-1

Outputs are either strings, for simple textual results, or images, for graphics and typeset results:

in-out-2

Any messages that occur during evaluation are displayed:

in-out-3

To test your installation in the terminal, run the following command:

jupyter-console --kernel=wolframlanguage12

Building the WolframLanguageForJupyter paclet

To build the WolframLanguageForJupyter paclet file yourself, run:

./configure-jupyter.wls build

This creates the WolframLanguageForJupyter-x.y.z.paclet file (use the PacletInfo.m to increment the version).

Removing your installation

Method 1: Using wolframscript

Run the following command to remove the Wolfram Language engine from Jupyter:

./configure-jupyter.wls remove

Method 2: Using Wolfram Language

Run the following command:

ConfigureJupyter["Remove"]

Links

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].