Skip to main content

rpcclient for connecting with the rpcserver

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pychangelog2-2.0.0.tar.gz (41.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pychangelog2-2.0.0-py3-none-any.whl (28.7 kB view details)

Uploaded Python 3

File details

Details for the file pychangelog2-2.0.0.tar.gz.

File metadata

  • Download URL: pychangelog2-2.0.0.tar.gz
  • Upload date:
  • Size: 41.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pychangelog2-2.0.0.tar.gz
Algorithm Hash digest
SHA256 58c89c4ae4d728654a4011c7db26128497a862634180307a24b7282de791b740
MD5 4cc2c1a307f7cb29776e3b0224fd526c
BLAKE2b-256 010e9e19d9a421ff4c6e0c6ac35eccebac6e446d6da388eecad28e2acc729a8d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pychangelog2-2.0.0.tar.gz:

Publisher: python-publish.yml on doronz88/pychangelog2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pychangelog2-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: pychangelog2-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 28.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pychangelog2-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3ba32ace603a8c0c5a6abf9ccb2b952cdb9acf5dd23e3ef6313fd35a6eecf778
MD5 c1949eb64cbd4348830234f59b02a07c
BLAKE2b-256 72f56c57e032a116fd78302757f032889de5e9b275487af509ee63645ffc4d8d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pychangelog2-2.0.0-py3-none-any.whl:

Publisher: python-publish.yml on doronz88/pychangelog2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page