Skip to main content

The python interface to Luanti

Project description

Miney - The python interface to Luanti

Miney is the Python API to Luanti/Minetest.

Miney connects locally, over network or internet with the Luanti protocol and provides a pythonic interface to the server, players, blocks and more.

  • PyPI <https://pypi.org/project/miney/>_

  • Luanti ContentDB <https://content.luanti.org/packages/Miney/miney/>_

Documentation

https://miney.readthedocs.io/en/latest/

Status

https://miney.readthedocs.io/en/latest/changelog.html

With version 0.5 we removed mineysocket and talking now directly to the server over the Luanti protocol.

Miney is still in beta, so expect breaking changes.

Requirement

  • Python 3.6+ (tested on 3.12)
  • Installed "miney" mod in the server.

Development

Clone the repo:

git clone https://github.com/miney-py/miney.git

TODO

A list of things i'm planning to do. There will be no fixed timeline.

Feel free to contribute!

  • Github-Actions
    • run tests
    • Tests for pull requests
    • Build and push to pypi for tagged commits
    • Build and push to Luanti ContentDB for tagged commits
  • Callbacks
    • Basic API and some callbacks implemented
    • Implement more "register_on_..." functions
  • Mesecons: Add a python script processor that executes python code.
  • Documentation:
    • Better first steps guide
    • Python learning lessons that build on each other
    • Education material for beginners, teachers and students
    • Multilanguage
  • Native client
    • Get chunks, blocks and positions of surrounding entities like a normal client
      • Could be interesting for machine learning and bots to make them aware of their surroundings
    • Normal player movement without using lua
    • Player interactions like punching and interacting with blocks and entities
  • Asyncio
  • Python driven mobs?

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

miney-0.5.8.tar.gz (59.7 kB view details)

Uploaded Source

Built Distribution

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

miney-0.5.8-py3-none-any.whl (54.0 kB view details)

Uploaded Python 3

File details

Details for the file miney-0.5.8.tar.gz.

File metadata

  • Download URL: miney-0.5.8.tar.gz
  • Upload date:
  • Size: 59.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for miney-0.5.8.tar.gz
Algorithm Hash digest
SHA256 b8fa144c0fc386d8cdd224e866f4918475a4b7f7bfbd4137c90da31b5abe07b5
MD5 8c87751a31cf507723df5e17b8a765d4
BLAKE2b-256 81899785b3dec5e5a3e5ccef46d1892d6e17e4517df4d0877efa95096fc4d409

See more details on using hashes here.

File details

Details for the file miney-0.5.8-py3-none-any.whl.

File metadata

  • Download URL: miney-0.5.8-py3-none-any.whl
  • Upload date:
  • Size: 54.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for miney-0.5.8-py3-none-any.whl
Algorithm Hash digest
SHA256 7f4760da873bffa827e4b20a50dfa8140c2e5810e497aa3b19c124d401a86ea5
MD5 a1f277eb3e60d5b07877ffb72cf3d60c
BLAKE2b-256 96bd47d58acadbf26ecd59c73c5e0f4175e0917bba33851b7c6430408cec6a52

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