Skip to content

A Python library for reading and writing binary NBT and stringified NBT.

License

Notifications You must be signed in to change notification settings

Amulet-Team/Amulet-NBT

Repository files navigation

Amulet-NBT

Build Unittests Stylecheck

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.

Installing

Run this command to install from PyPi.

pip install amulet-nbt~=3.0

Documentation

See our readthedocs site for the full documentation of this library.

Development

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.

Links