rye Plugin
Python package manager with uv backend, lockfile, and workspace support.
Commands
Project
rye init run— Initialize a new Python projectrye build run— Build Python packagerye publish run— Publish package to PyPI
Dependencies
rye sync run— Sync environment with lockfilerye add run— Add a Python package dependencyrye lock run— Generate lockfile
Usage Examples
- "Initialize a new Python project with rye"
- "Install dependencies from lockfile"
- "Add a package dependency"
- "Build and publish my package"
Installation
curl -fsSL https://rye.astral.sh/get | bash
Examples
# Init new project
rye init my-project
# Add dependency
rye add requests
# Sync environment
rye sync
# Lock dependencies
rye lock
# Build
rye build
# Publish
rye publish