Ravenstash
Guides

Using uv with a private package index

Configure uv to install and publish packages through a Ravenstash-backed private Python package index.

Updated 2026-06-25

uv can install packages from a private Ravenstash PyPI repository because Ravenstash exposes a PyPI-compatible simple index.

Project configuration

[tool.uv]
index-url = "https://pypi.pkg.rvsta.sh/x/_wsabc123/_repo1234/simple/"

Pass credentials outside the committed file. For CI, inject RAVENSTASH_TOKEN through the CI secret manager.

Install

uv pip install internal-sdk

Keep the repository URL stable for a given team or service boundary. Repository public IDs are mutable in Ravenstash, but renaming one changes package-manager URLs immediately.