Skip to content

eugenefil/mtluakernel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This Python package is meant as a complement to mtluarunner Minetest mod.

Install with pipx

Install Jupyter:

pipx install --include-deps jupyter

Inject this package into Jupyter virtual environment created by pipx:

git clone https://github.com/eugenefil/mtluakernel
pipx inject jupyter ./mtluakernel

Register Minetest Lua kernel with Jupyter:

jupyter kernelspec install ./mtluakernel/mtlua --user

Run

Start Jupyter notebook server:

jupyter notebook

Create 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.

About

Jupyter kernel for Lua to bring Jupyter notebooks to Minetest

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages