python-packaging-uv

Python Packaging with uv

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "python-packaging-uv" with this command: npx skills add narumiruna/telegram-bot/narumiruna-telegram-bot-python-packaging-uv

Python Packaging with uv

Overview

Use uv build and publish commands to produce wheels/sdists and ship to PyPI. Core principle: build, verify, then publish.

Quick Reference

Task Command

Build wheel+sdist uv build

Build wheel only uv build --no-sources

Publish to PyPI uv publish --token $PYPI_TOKEN

Publish to Test PyPI uv publish --publish-url https://test.pypi.org/legacy/ --token $TEST_PYPI_TOKEN

Workflow

  • Build artifacts in dist/ .

  • Test install from wheel.

  • Publish to Test PyPI, validate, then publish to PyPI.

Example

uv build --no-sources uv pip install dist/my_package-1.0.0-py3-none-any.whl uv publish --publish-url https://test.pypi.org/legacy/ --token $TEST_PYPI_TOKEN

Common Mistakes

  • Publishing before verifying wheel contents.

  • Skipping Test PyPI for first release.

Red Flags

  • Packaging guidance that ignores uv build/publish.

References

  • references/packaging.md
  • Build and publish details

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

python-cli-typer

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

python-modern-tooling

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

python-logging

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

python-uv-project-setup

No summary provided by upstream source.

Repository SourceNeeds Review