Skip to main content

Wollok kernel for Jupyter

Project description

Python package

Wollok Jupyter Logo

Wollok Kernel for Jupyter notebook

wollok_kernel is a Jupyter kernel implementation, started from a wrapper kernel.

Wollok Kernel Demo

💻 Installation

Pre-requisites

You need to install Python (3.7 or newer). If you don't have Python, the recommended option is installing it using the official site, and click on Download Python X.X.X (there a different options depending on your operating system).

python --version

If python3 --version works, you should use an alias or replace python with python3.

Install Conda environment manager. Follow the instructions for your operating system.

Install Node & npm tools.

Wollok Kernel

Clone this repository:

git clone https://github.com/uqbar-project/wollok-jupyter-kernel # you can also use git@... option

Install Wollok Jupyter Kernel:

cd ./wollok-jupyter-kernel
conda init
./install_kernel.sh

At the end of the script you should see an output similar to the following:

Available kernels:
  python3    /path/to/venv/lib/python3.13/site-packages/ipykernel/resources
  wollok     /path/to/wollok-jupyter-kernel/venv/share/jupyter/kernels/wollok

If you need you can uninstall the kernel by running

./uninstall_kernel.sh

VSCode

Install Jupyter extension in VSCode:

  • Open Extension Tab (⇧⌘X or Ctrl+Shift+X)
  • Look for "Jupyter"
  • Install Microsoft official extension

Install VSCode extension

Then you can create a New File... > Jupyter Notebook

New Jupyter Notebook File

And select kernel: click on the right side, on Select Kernel option > Jupyter Kernel > Wollok:

Install Wollok Kernel

Install 02

Make sure you don't select Python Environment because this will expect a Python kernel, not a Wollok kernel.

👩‍💻 Contribution

🦄 Using Wollok kernel

  • Notebook: The New menu in the notebook should show an option for a Wollok notebook.
  • Console frontends: To use it with the console frontends, add --kernel wollok to their command line arguments.

Powered by Uqbar

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wollok_kernel-1.5.tar.gz (31.8 kB view details)

Uploaded Source

Built Distribution

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

wollok_kernel-1.5-py3-none-any.whl (1.8 MB view details)

Uploaded Python 3

File details

Details for the file wollok_kernel-1.5.tar.gz.

File metadata

  • Download URL: wollok_kernel-1.5.tar.gz
  • Upload date:
  • Size: 31.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for wollok_kernel-1.5.tar.gz
Algorithm Hash digest
SHA256 9316731fc8725169183d1b5107ebce9af028dca3c74f81d1ef1b9b45e4b60ad0
MD5 b79b6ef8473d8399dd2fb74af7cd7e3f
BLAKE2b-256 d32356fda4063a76767b359de54f70a5c18da706316c28ae305122ed71dc9ce7

See more details on using hashes here.

File details

Details for the file wollok_kernel-1.5-py3-none-any.whl.

File metadata

  • Download URL: wollok_kernel-1.5-py3-none-any.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for wollok_kernel-1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 01be4bb639aa233973055b6b753de0add15ea1b9adde52a17f4a47d991c01762
MD5 bc1ec90a33016d4a935d0fa8cb84a8b9
BLAKE2b-256 7c54db4ff53d54e941af78b71fedf4c23d51e97a6de65dae62808fb197a539bf

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