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 NBTEdit 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 NBTEdit 1.0
File Size Uploaded Provenance Actions
nbtedit-1.0.tar.gz 44.5 kB Without provenance Details for nbtedit-1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for NBTEdit 1.0
File Interpreter ABI Platform Actions
nbtedit-1.0-py3-none-any.whl Python 3 none any Details for nbtedit-1.0-py3-none-any.whl

Total release size: 77.4 kB

Release files / nbtedit-1.0.tar.gz

Download URL nbtedit-1.0.tar.gz
Size 44.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5d29b3b627eca41daa0589a304c2315ffdb0513d15956497aa8d61cefeed29b9
BLAKE2b-256 checksum
How to use checksums
50ea957d1783ebbe042806bb67840bae0af409d09b357c94571bb90b97c6d522
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.0

Release files / nbtedit-1.0-py3-none-any.whl

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

Security for NBTEdit 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.

Release history Release notifications | RSS feed

This release

1.0 This release

2 release files No provenance

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