LinuxCommandLibrary

uv-publish

Publish Python packages to PyPI

TLDR

Publish to PyPI

$ uv publish
copy
Publish to test PyPI
$ uv publish --repository testpypi
copy
Publish specific files
$ uv publish dist/*
copy

SYNOPSIS

uv publish [options] [files...]

DESCRIPTION

uv publish uploads Python packages to PyPI or other repositories. Publishes wheel and source distributions. Supports authentication via token or username/password.

PARAMETERS

--repository name

Target repository.
--repository-url url
Custom repository URL.
--token token
Authentication token.
--username user
Repository username.
--password pass
Repository password.

SEE ALSO

uv(1), uv-build(1), twine(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard