Skip to main content

Parser and editor for Luanti worlds

Project description

mtanvil

GitHub License PyPI - Version

A Python library for parsing and editing Luanti worlds.

The name comes from Luanti’s former name (‘MT’ for Minetest) and the Minecraft world parsing library ‘anvil’

mtanvil is in alpha, so if you decide to use it then be aware of the following:

Future updates will have breaking changes.

Testing is welcome, please do open an issue if you find any bugs or problems.

Features that are not supported (yet):

  • Some node inventories fail to load, such as the furnace in Minetest Game. I am researching this constantly and will have a solution to this very soon.
  • Older MapBlock formats (<29) may not load and/or serialize correctly (due to the lack of documentation of the specifics of their zlib compression). This will be fixed soon.
  • Older MapBlock formats (<23) will lose node metadata due to the old and new formats not being directly compatible. The conversion will be figured out in the future.

mtanvil fully supports MapBlock format version 29 (latest). Other versions may not be fully supported right now but should receive full support in the future.

It is recommended that you familiarize yourself with the Map File Format and MapBlock Serialization Format so that you fully understand what data mtanvil provides.

Installation

Install mtanvil by running

pip install mtanvil

in your terminal.

Docs

You can find the comprehensive mtanvil docs here.

Please do open an issue if you find that something has not been documented properly.

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

mtanvil-0.3.1.tar.gz (21.7 kB view details)

Uploaded Source

Built Distribution

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

mtanvil-0.3.1-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

File details

Details for the file mtanvil-0.3.1.tar.gz.

File metadata

  • Download URL: mtanvil-0.3.1.tar.gz
  • Upload date:
  • Size: 21.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mtanvil-0.3.1.tar.gz
Algorithm Hash digest
SHA256 f8c5a1e75e8fbe9109057a6bcefdc470cfa2437910e0ada8d2439c92d5ea1fe7
MD5 0220181941be4dbcd228b95f8151f602
BLAKE2b-256 e394bab0b23141cf8c251a8990f02df558fbc9a6be2098e3fdfe8bccb2f57b52

See more details on using hashes here.

Provenance

The following attestation bundles were made for mtanvil-0.3.1.tar.gz:

Publisher: python-publish.yml on fancyfinn9/mtanvil

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mtanvil-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: mtanvil-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 21.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mtanvil-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3c4f7e244a26a030a78ba8d4746e4239937b3670a8830966464d4b3cec84a419
MD5 dd01bd6802c66da83b69b99a43fe99b3
BLAKE2b-256 c84fdad5a478c608386158fa4696ed18d31b3db8f9d718081bd7c7617fe20f96

See more details on using hashes here.

Provenance

The following attestation bundles were made for mtanvil-0.3.1-py3-none-any.whl:

Publisher: python-publish.yml on fancyfinn9/mtanvil

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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