Ravenstash
Guides

Using uv with a private package index

Configure uv for a Ravenstash-backed private Python package index.

Updated 2026-06-24

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://rvnsta.sh/pypi/x/acme/python/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.