Skip to content

Publish Python packages

Build the distribution first, then upload its files to the repository’s PyPI upload host.

From the Python project root:

Terminal window
rvs art select namespace/packages
rvs uv build

Review the generated files in dist/ before uploading them.

After signing in with rvs, either wrap Twine or use the Ravenstash-native helper:

Terminal window
rvs art select namespace/packages
rvs twine upload dist/*
rvs art pypi publish dist/

rvs supplies ephemeral authentication without writing a token to .pypirc.

Terminal window
rvs art select namespace/packages
rvs uv publish

Both wrappers select the upload URL and provide temporary authentication without writing credentials into project files, shell history, or native client stores.

  1. Open the repository in Ravenstash.
  2. Confirm the package name and version.
  3. Inspect the uploaded wheel or source-distribution files.
  4. Install the exact version from the private index.