Skip to content

Publishing

Sepehr0Day edited this page Jun 13, 2026 · 1 revision

Publishing

Local Verification

python -m pip install -e ".[dev]"
python -m ruff check .
python -m pytest -q
python -m build
python -m twine check dist/*

GitHub Actions

  • Tests: Python 3.11, 3.12, 3.13 and 3.14
  • Package: builds wheel/sdist and runs Twine checks
  • Publish to PyPI: publishes through PyPI Trusted Publishing

PyPI Trusted Publisher

Create a publisher for:

  • Owner: Sepehr0Day
  • Repository: CaptchaGenerator
  • Workflow: publish-pypi.yml
  • Environment: pypi

No PyPI API token is required in GitHub secrets.

Publish a GitHub Release after updating the version and changelog. The release event starts the publishing workflow.

Clone this wiki locally