Named Binary Tag (NBT) library
This project has been archived.
The maintainers of this project have marked this project as archived. No new releases are expected.
Project description
PythoNBT
PythoNBT is a simple Named Binary Tag (NBT) library for Python capable of reading in both little and big endian formats that are compressed or uncompressed.
Installation
pip install PythoNBT
Usage
Reading java nbt files:
from nbt import NBTReader
with open("myfile.dat", "rb") as f:
NBTReader.read(f)
Reading bedrock nbt files:
from nbt import NBTReader
with open("myfile.dat", "rb") as f:
NBTReader.read(f, little_endian=True, compressor=None)
Reading bedrock level file (slight variation on regular bedrock nbt files):
from nbt import BedrockLevel
with open("level.dat", "rb") as f:
BedrockLevel.read(f)
Project details
Release history Release notifications | RSS feed
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 pythonbt-0.1.0.tar.gz.
File metadata
- Download URL: pythonbt-0.1.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48bd49684d37db37daa9ac7e6e7ce228d6bf5907a68af6d3a3e2a505d3d317f0
|
|
| MD5 |
f1fefd078e4474ebd3b8b9c1d37fbf6e
|
|
| BLAKE2b-256 |
46093946b63f78e6f360f4b7efb57ce7a75cfa454d2a8106e82eadc69937124d
|
File details
Details for the file PythoNBT-0.1.0-py3-none-any.whl.
File metadata
- Download URL: PythoNBT-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7bf3ae0407c9dd022de480e8338dfe598e825e31fe3b404275564e5882b6f591
|
|
| MD5 |
e92eb47d75576f41664af42da6b451ac
|
|
| BLAKE2b-256 |
ad1977b1a11e237c773e9c2bd62c6713df21978b1ef6a3b775478c3e658dec60
|