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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pythonbt-0.1.0.tar.gz | 3.7 kB | Without provenance | Details for pythonbt-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| PythoNBT-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for PythoNBT-0.1.0-py3-none-any.whl |
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
|
Security for PythoNBT 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.