- package hunyuan3dweb/ -> hy3d/ (imports: from hy3d import ...) - CLI: MiniMax-style verb/noun commands (quota/list/status/formats/ download/text/image/multi-view/sketch/animate/texture/topo/cancel/ share/auth/config), global --json/--cookies, env HY3D_COOKIES/HY3D_JSON - exit codes: 0 ok / 1 env / 2 auth-expired / 3 cookie-missing - generation commands support --wait polling with stderr progress - local images auto-upload to COS in image/multi-view/sketch/animate/texture/topo - old commands removed (no backwards compat) - config dir kept at ~/.config/hunyuan3dweb to preserve existing cookies - deps: requests>=2.32.3, browser extras cloakbrowser>=0.3.31/playwright>=1.40 - skill updated: bin/hy3d shim replaces driver.sh; all commands live-verified
29 lines
653 B
TOML
29 lines
653 B
TOML
[build-system]
|
||
requires = ["setuptools>=61.0"]
|
||
build-backend = "setuptools.build_meta"
|
||
|
||
[project]
|
||
name = "hy3d"
|
||
version = "0.2.0"
|
||
description = "非官方腾讯混元 3D CLI 与 Python API 客户端(3d.hunyuan.tencent.com)"
|
||
readme = "README.md"
|
||
requires-python = ">=3.9"
|
||
dependencies = [
|
||
"requests>=2.32.3",
|
||
]
|
||
|
||
[project.optional-dependencies]
|
||
browser = [
|
||
"cloakbrowser>=0.3.31",
|
||
"playwright>=1.40",
|
||
]
|
||
|
||
[project.scripts]
|
||
hy3d = "hy3d.cli:main"
|
||
hy3d-login = "hy3d.browser.login:main"
|
||
hy3d-sniffer = "hy3d.browser.sniffer:main"
|
||
hy3d-generate = "hy3d.browser.generator:main"
|
||
|
||
[tool.setuptools.packages.find]
|
||
where = ["."]
|
||
include = ["hy3d*"] |