Skip to main content

使用

1.导入

import NBTExplorer

2.使用

1.创建

类初始化参数:

  • path: str, 待解析文件路径, 如: "C:/Users/Administrator/Desktop/test.nbt",默认空窗口
  • parent: tk.Tk(), 父窗口, 默认None, 即无父窗口(创建一个顶级窗口)
  • wintitle: str, 窗口标题, 默认"PyNBTExplorer"
  • app_name: str, 应用名称, 默认"PyNBTExplorer"(关于窗口等显示)
  • icon: str, 窗口图标, 默认"./icon.png"
  • about_text: str, 关于页内容, 不填默认
2.示例
import NBTExplorer
app = NBTExplorer.NBTExplorer(path="C:/Users/Administrator/Desktop/test.nbt", parent=None,wintitle="PyNBTExplorer", app_name="PyNBTExplorer", icon="./icon.png", about_text="PyNBTExplorer")

github: https://github.com/zhangjianhuichenxi/PyNBTExplorer

Metadata

Release files for NBTExplorer 2.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 NBTExplorer 2.0
File Size Uploaded Provenance Actions
nbtexplorer-2.0.tar.gz 45.4 kB Without provenance Details for nbtexplorer-2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for NBTExplorer 2.0
File Interpreter ABI Platform Actions
nbtexplorer-2.0-py3-none-any.whl Python 3 none any Details for nbtexplorer-2.0-py3-none-any.whl

Total release size: 78.3 kB

Release files / nbtexplorer-2.0.tar.gz

Download URL nbtexplorer-2.0.tar.gz
Size 45.4 kB
Tags Source
SHA-256 checksum
How to use checksums
efeed53c0191f12ad46912ef77d97c50210f5303b204263656502e6845830c19
BLAKE2b-256 checksum
How to use checksums
e7101267b3423737f96b464d912186ffc55030a24e89db826034b33b27a6ba15
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.0

Release files / nbtexplorer-2.0-py3-none-any.whl

Download URL nbtexplorer-2.0-py3-none-any.whl
Size 32.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
87c38563c555a1dc11ca78b8e998268c26ecb36d5743cdee2d040d9ba0f1c75f
BLAKE2b-256 checksum
How to use checksums
96b2b5a687ff6961feee513a8c39d7886f43e5e98536bc086c7a6a84e0d4756f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.0

Security for NBTExplorer 2.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.

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