bioresearcher-python-setup-uv
Installation
SKILL.md
Python Environment Setup with uv
This skill sets up a Python environment using the uv package manager.
Prerequisites
- Internet connection for downloading uv
- Python 3.8+ should be available on PATH (or uv will prompt to install it)
Steps
Follow the sequence below in order. Perform environment verification before proceeding.
Step 1: Auto-Select the Fastest Package Index (mirror race)
Do NOT ask the user which mirror to use — probe and adopt the fastest index automatically (honor an explicit user-specified mirror if one was requested). Direct PyPI access can be extremely slow or unreachable from some networks (e.g. mainland China); regional mirrors fix this. Race PyPI, Aliyun, Tsinghua, and USTC with a timed probe and export the winner for the WHOLE session (uv reads UV_INDEX_URL automatically on every later ./uv pip / ./uv venv call):