Amulet-NBT is a Python 3 library, written in C++, for reading and writing both binary NBT and SNBT.
SNBT (or Stringified-NBT) is the JSON like format used in Java commands.
Run this command to install from PyPi.
pip install amulet-nbt~=3.0
See our readthedocs site for the full documentation of this library.
To develop the library you will need to download the source and run this command from the root directory.
pip install -e .[dev]
This will build the library in-place and expose it to python. Since this code is compiled you will need to run it again each time you change the C++ code.
- Documentation - https://amulet-nbt.readthedocs.io
- Github - https://github.com/Amulet-Team/Amulet-NBT
- Website - https://www.amuletmc.com/