init pro_sdk

This commit is contained in:
cyy_mac
2026-06-20 20:02:36 +08:00
commit 5ecd422a59
49 changed files with 4226 additions and 0 deletions

40
pyproject.toml Normal file
View File

@@ -0,0 +1,40 @@
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "go1_pro_sdk"
version = "0.1.0"
description = "Unitree Go1 PRO low-level motor control SDK (Python, with Blowfish encryption)"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.8"
authors = [{name = "chenyouyuan"}]
keywords = ["unitree", "go1", "robotics", "low-level-control"]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Topic :: Scientific/Engineering :: Robotics",
]
dependencies = [] # 纯标准库
[project.optional-dependencies]
mqtt = ["paho-mqtt>=2.0.0"] # 用 MQTT 切换 sportMode 模式时需要
[project.urls]
Homepage = "https://github.com/your-username/go1_pro_sdk"
Documentation = "https://github.com/your-username/go1_pro_sdk/blob/main/docs/"
[tool.setuptools]
packages = ["go1_pro_sdk",
"go1_pro_sdk.codec",
"go1_pro_sdk.connection",
"go1_pro_sdk.safety",
"go1_pro_sdk.types",
"go1_pro_sdk.utils"]
[tool.setuptools.package-data]
"go1_pro_sdk" = ["_data/*.bin", "_data/*.md"]