Rye

Use this skill when the user wants to manage Python projects, install dependencies with lockfile, sync environments, publish packages, or use the uv-backed Python package manager.

javimosch b38ad9a 1.0 KB Updated

File contents

rye Plugin

Python package manager with uv backend, lockfile, and workspace support.

Commands

Project

  • rye init run — Initialize a new Python project
  • rye build run — Build Python package
  • rye publish run — Publish package to PyPI

Dependencies

  • rye sync run — Sync environment with lockfile
  • rye add run — Add a Python package dependency
  • rye 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

javimosch/supercli/tree/main/plugins/rye/skills/quickstart commit b38ad9aad3

Frequently asked questions

npx skillmds@latest add javimosch/rye