Parser and editor for Luanti worlds
Project description
mtanvil
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8c5a1e75e8fbe9109057a6bcefdc470cfa2437910e0ada8d2439c92d5ea1fe7
|
|
| MD5 |
0220181941be4dbcd228b95f8151f602
|
|
| BLAKE2b-256 |
e394bab0b23141cf8c251a8990f02df558fbc9a6be2098e3fdfe8bccb2f57b52
|
Provenance
The following attestation bundles were made for mtanvil-0.3.1.tar.gz:
Publisher:
python-publish.yml on fancyfinn9/mtanvil
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mtanvil-0.3.1.tar.gz -
Subject digest:
f8c5a1e75e8fbe9109057a6bcefdc470cfa2437910e0ada8d2439c92d5ea1fe7 - Sigstore transparency entry: 787256725
- Sigstore integration time:
-
Permalink:
fancyfinn9/mtanvil@0e4cb569a0f9e1b5558189e99e3a932aac0b1395 -
Branch / Tag:
refs/tags/v0.3.1 - Owner: https://github.com/fancyfinn9
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@0e4cb569a0f9e1b5558189e99e3a932aac0b1395 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c4f7e244a26a030a78ba8d4746e4239937b3670a8830966464d4b3cec84a419
|
|
| MD5 |
dd01bd6802c66da83b69b99a43fe99b3
|
|
| BLAKE2b-256 |
c84fdad5a478c608386158fa4696ed18d31b3db8f9d718081bd7c7617fe20f96
|
Provenance
The following attestation bundles were made for mtanvil-0.3.1-py3-none-any.whl:
Publisher:
python-publish.yml on fancyfinn9/mtanvil
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mtanvil-0.3.1-py3-none-any.whl -
Subject digest:
3c4f7e244a26a030a78ba8d4746e4239937b3670a8830966464d4b3cec84a419 - Sigstore transparency entry: 787256726
- Sigstore integration time:
-
Permalink:
fancyfinn9/mtanvil@0e4cb569a0f9e1b5558189e99e3a932aac0b1395 -
Branch / Tag:
refs/tags/v0.3.1 - Owner: https://github.com/fancyfinn9
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@0e4cb569a0f9e1b5558189e99e3a932aac0b1395 -
Trigger Event:
release
-
Statement type: