Twine

Use this skill when the user wants to upload Python packages to PyPI, check distribution files, or publish Python packages securely.

javimosch Updated 57 repo stars

File contents

twine Plugin

Securely upload Python packages to PyPI with verified HTTPS connections.

Commands

Upload

  • twine upload run — Upload distribution packages to PyPI

Check

  • twine upload check — Check distribution packages for common issues

Usage Examples

  • "Upload dist/* to PyPI"
  • "Check my distribution files"
  • "Publish to test PyPI"

Installation

pip install twine

Examples

# Upload to PyPI
twine upload dist/*

# Upload to test PyPI
twine upload --repository testpypi dist/*

# Check distribution files
twine check dist/*

# Upload with a specific username
twine upload --username __token__ dist/*

# Skip existing files
twine upload --skip-existing dist/*

javimosch/supercli commit aa0f7567a3

Frequently asked questions

npx get-skill add javimosch/twine