Skip to main content

pychangelog2

Generate a simple changelog from Git history.

pychangelog2 prints commit lines in chronological order and is designed for release notes workflows where commit subjects are already clean and meaningful.

Features

  • Generates changelog entries from a local Git repository path.
  • Defaults to commits from the latest tag to HEAD.
  • Supports explicit --start-tag and --end-tag ranges.
  • Excludes merge commits created by GitHub PR merges and branch merges.

Installation

Install from PyPI:

python3 -m pip install --user -U pychangelog2

Install from source:

git clone https://github.com/doronz88/pychangelog2.git
cd pychangelog2
python3 -m pip install -e .

Usage

pychangelog2 [OPTIONS] PATH
  • PATH: path to a local Git repository.
  • --start-tag TEXT: start changelog after this tag.
  • --end-tag TEXT: end changelog at this tag (defaults to HEAD).

Behavior

  • If --start-tag is omitted, the tool starts from the most recently authored tag in the repository.
  • If --end-tag is provided, --start-tag is required.
  • If a provided tag does not exist, the command exits with an error.
  • Output format is:
* <full-commit-sha> <first-line-of-commit-message>

Examples

Generate changelog from the latest tag to HEAD:

pychangelog2 /path/to/repo

Generate changelog from a specific tag to HEAD:

pychangelog2 /path/to/repo --start-tag v1.2.0

Generate changelog between two tags:

pychangelog2 /path/to/repo --start-tag v1.2.0 --end-tag v1.4.0

Metadata

Release files for pychangelog2 2.0.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 pychangelog2 2.0.0
File Size Uploaded
pychangelog2-2.0.0.tar.gz 41.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pychangelog2 2.0.0
File Interpreter ABI Platform
pychangelog2-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 70.7 kB

Release files / pychangelog2-2.0.0.tar.gz

Download URL pychangelog2-2.0.0.tar.gz
Size 41.9 kB
Tags Source
SHA-256 checksum
How to use checksums
58c89c4ae4d728654a4011c7db26128497a862634180307a24b7282de791b740
BLAKE2b-256 checksum
How to use checksums
010e9e19d9a421ff4c6e0c6ac35eccebac6e446d6da388eecad28e2acc729a8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Feb 25, 2026.

Transparency log

Release files / pychangelog2-2.0.0-py3-none-any.whl

Download URL pychangelog2-2.0.0-py3-none-any.whl
Size 28.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3ba32ace603a8c0c5a6abf9ccb2b952cdb9acf5dd23e3ef6313fd35a6eecf778
BLAKE2b-256 checksum
How to use checksums
72f56c57e032a116fd78302757f032889de5e9b275487af509ee63645ffc4d8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Feb 25, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.0.2

2 release files

0.0.1

2 release files

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