dsh plugins中文
← Back to popular plugin directory

Dsh Python Env

AngelosZou/dsh-python-env · devops

Workspace-scoped Python virtual environment management for a DeepSeek Harness project — discover, create, install into, and remove virtual environments without sandbox, network, or subprocess pitfalls.

★ 4GitHub stars
0Forks
2026-09-08Last updated
JavaScriptLanguage
MITLicense

Key features

  • Five model tools — pyenv_discover, pyenv_create, pyenv_install, pyenv_uninstall, pyenv_remove — plus the python-env skill and a system-prompt guidance section.
  • Plugin code runs in the host process, so every python/pip/venv invocation goes through ctx.subprocess (the same channel the graphlint plugin uses) with argv arrays, byte-capped collected output, and tree-scoped termination.
  • docs/design.md — architecture, confinement model, install chain, known limitations
  • Mirror and proxy fallback — on a network-classified failure, installs retry across PyPI mirrors (TUNA, Aliyun, USTC) and probe common local proxy ports
  • index / proxy arguments pin either.

Requirements

  • A DSH profile composed from @deepseek-ai/dsh-base (it provides the subprocess, jobs, tools, and skills services the plugin uses)
  • Python = 3.8 (on PATH, or passed explicitly) — only for the environments the plugin manages

Install command

dsh plugin --profile web add github:AngelosZou/dsh-python-env
View GitHub repository ↗Back to popular plugin directory