Skip to main content

Temporary shortcut and fix for `uv build/publish` issues

Project description

uvxship

Build → Publish → Release for Python projects using uv.

Features

  • uvx build : cleans dist/ and runs uv build
  • uvx publish: uses ~/.pypirc to upload to PyPI
  • uvx ship : combines both in one go

Why?

Because uv publish doesn't yet support ~/.pypirc. This fills the gap. And PYPI rejects uv publish because dist/ contains older release packages.

Install By uv

uv tool install uvxship

Or Install Locally

git clone
uv tool install -e .    # or `uv tool install -e path/to/uvxship` 

This is like uv pip install -e . and installs the package to uv tool in editable mode.

Usage

uvx build
uvx publish

or a single

uvx ship

additional arguments to uvx ship are passed down to uv publish:

uvx ship --repository testpypi

This

  • cleans the dist/ file in the background
  • calls uv build
  • parses ~/.pypirc for PYPI credentials (you have to set it up yourself)
  • and publishes uv publish --repository testpypi

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

uvxship-0.1.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

uvxship-0.1.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file uvxship-0.1.0.tar.gz.

File metadata

  • Download URL: uvxship-0.1.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.4

File hashes

Hashes for uvxship-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e304a215b645f0d870122cf9b54502fbbe5293e5d4e6986e5b8aa9252d09388e
MD5 fd6272bb6a2fa898821a2d7bb74b689c
BLAKE2b-256 884a4cfc6c592bfc610171317c45cd2b4f6dbcbf6226a5c46c2ad5f75fa25317

See more details on using hashes here.

File details

Details for the file uvxship-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: uvxship-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.4

File hashes

Hashes for uvxship-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3256ee4c91555206aeab652a968b51c1b2eae45eca9c2200eccf229bcbf5d130
MD5 b624ea73002f58f0b7c2293d57e097c9
BLAKE2b-256 82450f6669dbcd5246badf2dd8fae1dfcdad469df2a3d1f28eefea101f770f90

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page