Skip to content

jdfalk/release-python-action

Repository files navigation

Release Python Package Action

Build and publish Python packages to PyPI with automated testing and validation.

Features

  • 🐍 Python 3.13+ support
  • 📦 Multiple build backends (setuptools, poetry, hatchling)
  • ✅ Automated testing before publish
  • 🔍 Metadata verification
  • 🚀 PyPI and TestPyPI support

Usage

- uses: jdfalk/release-python-action@v1
  with:
    pypi-token: ${{ secrets.PYPI_TOKEN }}

Inputs

Input Description Required Default
python-version Python version No 3.13
package-dir Package directory No .
build-backend Build backend No setuptools
run-tests Run tests No true
test-command Test command No pytest
repository-url PyPI URL No PyPI production
pypi-token PyPI token Yes -
skip-existing Skip existing No false
verify-metadata Verify metadata No true

License

MIT

About

GitHub Action for building and publishing Python packages

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors