Skip to main content

release-creator

release-creator logo

PyPI Supported Python versions check

Release preparation tools for Python projects. The notes command renders a tagged changelog section for a GitHub Release. Other release tasks can use separate commands.

The documentation has a tutorial, how-to guides, a generated command reference, and an explanation of the changelog format.

Render GitHub Release notes

Run the current release from PyPI:

uvx --from 'release-creator' release-creator notes \
  --changelog docs/changelog.md \
  --tag 1.2.3 \
  --repository tox-dev/example \
  --previous 1.2.2 \
  --artifact-url https://pypi.org/project/example/1.2.3/ > release-notes.md

For automation, replace release-creator after --from with a tested release-creator==VERSION. The command reads the tagged section, maps Added to Features and Fixed to Bug fixes, changes linked author handles to GitHub mentions, and leaves bullets unwrapped. It keeps stable category anchors, omits empty categories when they are absent from the source, and adds artifact and comparison links. Use --artifact-label for an ecosystem other than PyPI; omit --artifact-url when there is no external artifact.

The command also accepts a .rst changelog with the same category names. It links :issue: roles to issues and :pr: or :pull: roles to pull requests:

uvx --from 'release-creator' release-creator notes \
  --changelog docs/changelog.rst \
  --tag 1.2.3 \
  --repository tox-dev/example \
  --previous 1.2.2 \
  --artifact-url https://pypi.org/project/example/1.2.3/ > release-notes.md

The changelog is the source of truth. The command does not infer changes from commits or generate an author list. Fragments carry no hand-written credits or PR references; validate-news rejects them. The GitHub Release body contains only the tagged changelog section.

Named Towncrier fragments need no issue or PR number. Before Towncrier builds the changelog, run release-creator fragments --repository owner/repo. The command reads the commits that introduced pending fragments, asks GitHub which squash-merged pull request owns each commit, and adds its PR link and a credit computed from the merge commit: the PR author first, then every other author and co-author. AI assistant identities are dropped, and bots are credited only when they are the only author. The checkout needs complete fragment history, and gh needs read access to the repository. Merge commits and rebase merges cannot identify a fragment's PR through its introducing commit; use squash merges.

The tags command calculates a version from pending fragments, validates numeric tags, and selects the preceding tag for GitHub comparisons:

git tag --list | uvx --from 'release-creator' release-creator tags --next auto
git tag --list | uvx --from 'release-creator' release-creator tags 1.2.3 --require-newer
git tag --list | uvx --from 'release-creator' release-creator tags 1.2.3 --previous

Development and releases

See contributing for the fragment format and release process. The package uses the same notes command for its own GitHub Releases. Run tox -e 3.15,type,pkg_meta,docs and prek run --all-files --config .pre-commit-config.yaml before a PR.

Metadata

Release files for release-creator 3.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for release-creator 3.2.0
File Size Uploaded Provenance
release_creator-3.2.0.tar.gz 180.6 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for release-creator 3.2.0
File Interpreter ABI Platform
release_creator-3.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 233.2 kB

Release files / release_creator-3.2.0.tar.gz

Download URL release_creator-3.2.0.tar.gz
Size 180.6 kB
Tags Source
SHA-256 checksum
How to use checksums
961f44369d1939b5886307909dd30f8fa81e432dccb5bc5c3bf88c8991c03462
BLAKE2b-256 checksum
How to use checksums
d4f6af888b70adc3e43707f815645c0aab4e8ad5f9417c2c12bf01877ebd1a68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.

Transparency log

Release files / release_creator-3.2.0-py3-none-any.whl

Download URL release_creator-3.2.0-py3-none-any.whl
Size 52.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f9f24ddebf28361524b7cd561d81a29f20891778d900b401898c6ad26cd095ca
BLAKE2b-256 checksum
How to use checksums
523b1e1f5cb2cd17adb484a13b1ef528846c74428335408d0bd24e6ce38a92d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.

Transparency log

Security for release-creator 3.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for release_creator-3.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page