This Python package is meant as a complement to mtluarunner Minetest mod.
Install Jupyter:
pipx install --include-deps jupyterInject this package into Jupyter virtual environment created by pipx:
git clone https://github.com/eugenefil/mtluakernel
pipx inject jupyter ./mtluakernelRegister Minetest Lua kernel with Jupyter:
jupyter kernelspec install ./mtluakernel/mtlua --userStart Jupyter notebook server:
jupyter notebookCreate new notebook by clicking New -> Notebook. In the "Select Kernel" dialogue choose "Minetest Lua".
Start Minetest. Create and start a world with the mtluarunner mod enabled. To test connection to Minetest execute the following Lua code in a notebook cell:
print(minetest.get_version())If output containing Minetest version is printed in response, everything's fine.