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.0.tar.gz (21.5 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.0-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mtanvil-0.3.0.tar.gz
  • Upload date:
  • Size: 21.5 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.0.tar.gz
Algorithm Hash digest
SHA256 2e2fccc86a3b57d793aae535d217f5450210f9d5cffe93b601fa01e50c414944
MD5 124eda7309e1d11e12b72f6a842df3e2
BLAKE2b-256 30635fa96102fe93852e03f3c570f5311bedf2f5573d592b6bc89822f22b1aa7

See more details on using hashes here.

Provenance

The following attestation bundles were made for mtanvil-0.3.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: mtanvil-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 20.8 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 83a4dbb2113f2f0507f6853e403573f429b194291e01b1149724254dd6129433
MD5 d70e6806e667d497cc7a1023c8197772
BLAKE2b-256 a1de51e925f67bfc8f5b2a3840c597b7e9a6134799771440ea9b55965d825fc8

See more details on using hashes here.

Provenance

The following attestation bundles were made for mtanvil-0.3.0-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