Zrcoder
终端里的编程助手:连 OpenAI 兼容 API,可读写文件、执行命令,并支持 /help 等斜杠命令。
安装
需要 Python 3.12+。推荐用 uv:
uv tool install zrcoder
也可用 pipx / pip:
pipx install zrcoder
# 或
pip install zrcoder
配置
在环境变量或项目目录的 .env 中设置(可参考 .env.example):
export API_KEY=your_api_key
export BASE_URL=https://api.example.com/v1
# 可选,默认 deepseek-v4-flash
# export MODEL_NAME=deepseek-v4-flash
使用
zrcoder
常用命令:/help、/status、/new、/api-detail、/exit。
从源码开发
git clone https://github.com/ZRMYDYCG/ClaudeCode.git
cd ClaudeCode
uv sync --group dev
uv run zrcoder
# 或
uv run python main.py
uv run ruff format .
uv run ruff check --fix .
uv run pytest
uv run mypy core
License
MIT
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
zrcoder-0.1.0.tar.gz
(9.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
zrcoder-0.1.0-py3-none-any.whl
(13.5 kB
view details)
File details
Details for the file zrcoder-0.1.0.tar.gz.
File metadata
- Download URL: zrcoder-0.1.0.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a35c2e4f0aa126b8cba17e7a08ee8c0bdd35854bb5f2a776f8163d493acf0aeb
|
|
| MD5 |
979ec30c416e102a24d6b0a1d9efe680
|
|
| BLAKE2b-256 |
bcd243ac1f562d7cdb8c5e41e1bc37b15fed3a1a3ae7f61081d8432fd7356eed
|
File details
Details for the file zrcoder-0.1.0-py3-none-any.whl.
File metadata
- Download URL: zrcoder-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4dfb1926f49877890631715b869265701afde8dd1866e0d4655070eb0f18222a
|
|
| MD5 |
0a40941a6f0cb5d0875e6007d45fab55
|
|
| BLAKE2b-256 |
1f3ed7bad8e4b3b966a80f4a9a3d940c09ccdb52a99cb9f4906ce082c79fd5f3
|