Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

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)

Metadata

Release files for PythoNBT 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PythoNBT 0.1.0
File Size Uploaded
pythonbt-0.1.0.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for PythoNBT 0.1.0
File Interpreter ABI Platform
PythoNBT-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.1 kB

Release files / pythonbt-0.1.0.tar.gz

Download URL pythonbt-0.1.0.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
48bd49684d37db37daa9ac7e6e7ce228d6bf5907a68af6d3a3e2a505d3d317f0
BLAKE2b-256 checksum
How to use checksums
46093946b63f78e6f360f4b7efb57ce7a75cfa454d2a8106e82eadc69937124d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.1

Release files / PythoNBT-0.1.0-py3-none-any.whl

Download URL PythoNBT-0.1.0-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7bf3ae0407c9dd022de480e8338dfe598e825e31fe3b404275564e5882b6f591
BLAKE2b-256 checksum
How to use checksums
ad1977b1a11e237c773e9c2bd62c6713df21978b1ef6a3b775478c3e658dec60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.1

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page