Skip to main content

📦️ LuCI - Luanti Commandline Interface

This Commandline Interface allows you to build CAD-Objects in luanti. For example the benchy from here: https://www.thingiverse.com/thing:763622. The game used to be called minetest, but now it's called luanti, so this description is a mixture of minetest and luanti.

Benchy

It's depending on miney a python interface for luanti.

Usage

Getting help.

luci --help

Build a CAD-Object in the STL format with luci.

luci build --help
luci build data/some_stl_file.stl
# get all wool blocks
luci blocks --filter wool
# build object with green wool
luci build data/some_stl_file.stl --block-type wool:green
# scale by factor 2
luci build data/some_stl_file.stl --scale 2
# build object at exact position. Default is at the players position.
luci build data/some_stl_file.stl -x 100 -y 150 -z 50

Erase this CAD-Object.

luci erase --help
luci erase data/some_stl_file.stl
# erase scale by factor 2
luci erase data/some_stl_file.stl --scale 2

Installation

If you like to use luci you have to follow this steps.

  1. Install luanti (see here: https://www.luanti.org/downloads/) and the miney mod. I use Debian and therefore install it like this:

    sudo apt update
    sudo apt install luanti -y
    

    You should now be possible to start luanti.

    luanti
    
  2. Install luanti_cli with pipx.

    sudo apt install pipx -y
    pipx ensurepath
    pipx install luanti_cli
    pipx upgrade luanti_cli
    
  3. (Optional) Install Minetest Game as the classic game. This is required in newer versions of luanti.

    Install game

    Minetest game

    Install Button

    You now can click twice Back and are ready to play luanti without luci.

  4. Create game, install miney mod, enable miney mod, enable server and start game.

    New game

    Create game

    Select mods

    Find and install miney

    Select miney and save

    Enable host and start

  5. Grant player luci all privileges.

    • Shift + /

    • Type /grant luci all

    • Hit enter.

  6. Build a STL-Object.

    luci build data/some_stl_file.stl
    # and erase it
    luci erase data/some_stl_file.stl
    

Development

git clone https://github.com/lookslikematrix/luci
cd luci
python -m venv --prompt "📦️ luci" .venv
source .venv/bin/activate
pip install uv
uv sync --extra test
pytest

❤️ A thousand thanks to the developers of miney Python interface: https://github.com/miney-py

❤️ Everyone is welcome to make a contribution to this project.

Metadata

Release files for luanti_cli 2.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for luanti_cli 2.0.10
File Size Uploaded Provenance Actions
luanti_cli-2.0.10.tar.gz 18.6 kB Without provenance Details for luanti_cli-2.0.10.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for luanti_cli 2.0.10
File Interpreter ABI Platform Actions
luanti_cli-2.0.10-py3-none-any.whl Python 3 none any Details for luanti_cli-2.0.10-py3-none-any.whl

Total release size: 35.9 kB

Release files / luanti_cli-2.0.10.tar.gz

Download URL luanti_cli-2.0.10.tar.gz
Size 18.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1a7932fa96e28c4953f0f0c0a28fa4cbdf509a52ad51ec4467d37b3a69dda6e6
BLAKE2b-256 checksum
How to use checksums
6188d23a9c59c7d790e1acec138c328e832aa52c2ccb65ebdd2ca545474098b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / luanti_cli-2.0.10-py3-none-any.whl

Download URL luanti_cli-2.0.10-py3-none-any.whl
Size 17.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dd8c2ef54a8f606f599112e55904eaa82814e741fee3e8c1b1ac79093150c8b2
BLAKE2b-256 checksum
How to use checksums
c3c3c48cf885ccdb11e3f9b46ecfa4f5140e581faf87376fadac6f514b49bbb7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for luanti_cli 2.0.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page