Wollok kernel for Jupyter
Project description
Wollok Kernel for Jupyter notebook
wollok_kernel is a Jupyter kernel implementation, started from a wrapper kernel.
💻 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.
It is recommended to create a virtual environment:
python -m venv venv
source venv/bin/activate # Linux/macOS
venv\Scripts\activate # Windows
Install jupyter client, kernels system and notebooks infrastructure:
pip install jupyter ipykernel
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 using conda:
cd ./wollok-jupyter-kernel/wollok_kernel
conda create -n wollok jupyter
conda init
Open a new terminal and run
conda activate wollok
cd ..
pip install .
jupyter kernelspec install . --sys-prefix --name wollok --replace
After downloading all the dependencies, you can check that Wollok kernel is successfully installed:
jupyter kernelspec list
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
VSCode
Install Jupyter extension in VSCode:
- Open Extension Tab (⇧⌘X or Ctrl+Shift+X)
- Look for "Jupyter"
- Install Microsoft official extension
Then you can create a New File... > Jupyter Notebook
And select kernel: click on the right side, on Select Kernel option > Jupyter Kernel > Wollok:
👩💻 Contribution
- If you want to collaborate, follow the developer instructions. There's also a main architecture explanation
- You can also join the Discord channel!
- Additional info is available at the wiki
🦄 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 wollokto 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wollok_kernel-1.3.tar.gz.
File metadata
- Download URL: wollok_kernel-1.3.tar.gz
- Upload date:
- Size: 31.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d31ef408407554ff1ca40bb19d5053e8a8d215f740b2188fdeb6bb2f280ee5cc
|
|
| MD5 |
09d4eb37b6f3b064909121f54420d2f2
|
|
| BLAKE2b-256 |
584fde4af56a46fa7a0c14a0ba19e3f6cbc5af60b408c52ad4c84d6abf68fb34
|
File details
Details for the file wollok_kernel-1.3-py3-none-any.whl.
File metadata
- Download URL: wollok_kernel-1.3-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.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d33e93afba65ae663155fc42b19a8e1a7482b5241e01dde846111ebfb29a3c1f
|
|
| MD5 |
3c0f54f110b45b1ef45db28c8e4922b3
|
|
| BLAKE2b-256 |
4943ce3cec17d92c25206a9a97dac12945d2eccd9d658eae7322eb4e937c134b
|