Skip to content

Commit f6f23b8

Browse files
committed
rename PyPI package to pydcp
`dcp-protocol` was RAS-syndrome (Protocol Protocol) — I called it out for the GitHub org name then forgot for PyPI. `pydcp` follows the Python convention (pyserial/pyyaml/pymongo) and is shorter. Import name is unchanged: `import dcp`. The protocol name DCP is also unchanged. Only the on-PyPI distribution name moves. Bare `dcp` on PyPI is taken by an unrelated Distributive Network package (Distributed Compute Protocol) and is unrecoverable.
1 parent 4d21492 commit f6f23b8

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/announce/zhihu.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ UART / MQTT / BLE / USB-CDC 同一份固件,只换 transport 类。**从原型
9494
### 试一下
9595
9696
```bash
97-
pip install dcp-protocol[mcp,serial]
97+
pip install pydcp[mcp,serial]
9898
dcp serve examples/lamp_manifest.yaml --simulator
9999
# 或者你有 ESP32:
100100
# 烧 firmware/esp32/examples/lamp/lamp.ino

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
2-
name = "dcp-protocol"
2+
name = "pydcp"
33
version = "0.3.0"
4-
description = "Device Context Protocol — bridge between LLM agents and physical devices. Import as `dcp`."
4+
description = "Device Context Protocol — Python reference implementation. A bridge between LLM agents and physical devices. Import as `dcp`."
55
readme = "README.md"
66
requires-python = ">=3.11"
77
license = { text = "MIT" }

0 commit comments

Comments
 (0)