Image source: https://alpopkes.com/posts/python/packaging_tools/
Python version management
pyenv, pipenv
Python package management
pip, uv, pdm
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
You're viewing the English version. Switch to Chinese →
Rye is a next-gen Python package manager and virtual environment tool, compared with pyenv, pipenv, uv, and pdm for dependency management.
Image source: https://alpopkes.com/posts/python/packaging_tools/
pyenv, pipenv
pip, uv, pdm
{
"python.defaultInterpreterPath": ".\\.venv\\Scripts\\python.exe"
}
rye config --set proxy.http=http://127.0.0.1:7890
rye config --set proxy.https=http://127.0.0.1:7890
rye config --set-bool behavior.global-python=true
# Rye config.toml
[[sources]]
name = "default"
url = "https://pypi.org/simple/"
rye add ipykernel
[default]
toolchain = "cpython@3.13.2"
license = "MIT"
author = "bangwu <i@bangwu.top>"
[proxy]
https = "http://127.0.0.1:10808"
http = "http://127.0.0.1:10808"
[behavior]
global-python = true
autosync = true
use-uv = true
[[sources]]
name = "default"
url = "https://pypi.tuna.tsinghua.edu.cn/simple/"
rye pin 3.x
rye init // 或者 rye init -p cpython@3.x [project name]
rye sync
rye add [package]
Was this page helpful?
