No project description provided
Project description
nbtx - NBT parser in Python
Zero-dependency, strictly-typed NBT parser and writer.
Installation
Because the entire implementation finds place in a single file and does not
depend on third-party libraries, you can simply copy src/nbtx/__init__.py
to your project. Alternatively, you can install nbtx by using a package
manager.
Pip
pip install nbtx
Poetry
poetry add nbtx
uv
uv add nbtx
Usage (Library)
import nbtx
with open("file.nbt", "rb") as f:
content = nbtx.load(f)
print(content.pretty())
References
Project details
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 nbtx-0.1.0.tar.gz.
File metadata
- Download URL: nbtx-0.1.0.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.11.13 Linux/6.16.5-arch1-1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d57b4e7edd4adb6c963232c1ee5c37f54e7d218739918efd3425c34f8e6974a
|
|
| MD5 |
6b8c021e5cc20364d573f7089ffb17fe
|
|
| BLAKE2b-256 |
b39ce46cef7dfd6d591fbb138a213ff5f040b62b38377deda46e86cb13d4804f
|
File details
Details for the file nbtx-0.1.0-py3-none-any.whl.
File metadata
- Download URL: nbtx-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.11.13 Linux/6.16.5-arch1-1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
538d6c91c8396951d1e26337bb34c75ea91da83d39afdab357528550ba553d04
|
|
| MD5 |
526ce6d8bb5144795fb6fea10f98de70
|
|
| BLAKE2b-256 |
64fc6af1aecc63c9c71642690159dc26ab00952af2b9f72a7b48c4b8d3f82473
|