Index of every page on this site: llms.txt
All skills
qiao-925 avatar

/python-uv-acceleration

@50a1ee4
Run it yourself

Python 工具链加速能力单元,帮助 Agent 在 Python 项目创建虚拟环境、安装依赖、同步 requirements、替换 pip/venv 工作流时,优先使用 uv 提升速度与一致性,同时识别何时不应覆盖 poetry、pdm、hatch 等既有项目管理器。关键词:Python、uv、依赖安装、虚拟环境、pip 替代、venv 替代、requirements。

Use this Skill: https://skilld.dev/gh/qiao-925/qiao-skills/python-uv-acceleration

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencescommon-commands.md

≈351 tokens on demand. Your agent reads this file only when SKILL.md points to it.

常用命令

安装 uv

# Linux/macOS
curl -LsSf https://astral.sh/uv/install.sh | sh

# Windows PowerShell
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"

# 也可用 pip 安装
pip install uv

创建虚拟环境

uv venv
uv venv .venv
uv venv --python 3.11

激活虚拟环境

# Linux/macOS
source .venv/bin/activate

# Windows cmd
.venv\\Scripts\\activate.bat

# Windows PowerShell
.venv\\Scripts\\Activate.ps1

安装与同步依赖

uv pip install -r requirements.txt
uv pip install requests
uv pip install -e .
uv pip install -e ".[dev,test]"
uv pip sync requirements.txt

导出与查看

uv pip freeze
uv pip list
uv pip show requests

卸载与缓存

uv pip uninstall requests
uv cache dir
uv cache clean

私有索引

uv pip install --index-url https://pypi.example.com/simple/ package
uv pip install --extra-index-url https://pypi.example.com/simple/ package

命令映射

传统命令 uv 命令
python -m venv .venv uv venv
pip install -r requirements.txt uv pip install -r requirements.txt
pip install package uv pip install package
pip install -e . uv pip install -e .
pip freeze uv pip freeze
pip list uv pip list
pip uninstall package uv pip uninstall package

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning7mo4 checks · Risk SAFE
  • Gen Agent Trust Hub7mo

    This skill is safe. It provides instructions for using 'uv' as a faster replacement for 'pip' and 'venv' in Python projects. It includes standard installation commands from the official Astral website, a well-known service in the Python ecosystem.

  • Socket7mo

    No alerts

  • Snyk7mo

    Risk: MEDIUM · 1 issue

  • Runlayer8mo

    2 files scanned · No issues

Signed by skilld at 50a1ee4. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Dormantupdated 8 months ago
Other metadata
metadata
{
  "type": "procedural",
  "category": "language-engineering",
  "scope": "python",
  "role": "skill-unit"
}

README badge

README badge for qiao-925/qiao-skills/python-uv-acceleration