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’

This is extremely under development so please don't use this for any major projects right now. Future updates will have breaking changes.

However, testing is welcome so please do open an issue if you find problems with it.

Features that are not supported (yet):

  • Node inventories (due to the lack of documentation, I must spend more time researching). Loading a MapBlock with any node inventories will probably fail.
  • 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 very 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 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 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.2.1.tar.gz (20.9 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.2.1-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mtanvil-0.2.1.tar.gz
Algorithm Hash digest
SHA256 d625ac89bba556aa93c3055417d634c67101961a806c7b0e6468a682daf36b28
MD5 57c9adec5ffde70ee1e1e7cd1dff7ee3
BLAKE2b-256 c5a1764590b2366be06c928597034899e07614b70fc5ec6c5a55b1066c21fe82

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: mtanvil-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 20.3 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.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2a5a82483e063f25fd2a7e3f6d142e5c7b53eac060fa5049e28c3a5b5977dfa4
MD5 1bd105164e8e60dc5413dd938bbd1619
BLAKE2b-256 33b85d10eb61b2d1e73d23c02817438eb3a6a3c72086d9d700ddf4a701606990

See more details on using hashes here.

Provenance

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