Registry / devops / git-changelog

git-changelog

JSON →
library2.9.4pypypi✓ verified 85d ago

Automatic Changelog generator using Jinja2 templates. Version 2.9.3, released 2026-03-26. Active development, frequent releases.

pip install git-changelog
INSTALL
IMPORT
SIG · GIT-CHANGELOG
G
git-changelog
devopspythonv2.9.4
Install
2.1s avg
Import
Disk
19MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v2.9.4 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 20.9MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 2.1s · import 0.000s · 21MB
19MB installed
● package 19MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Changelog
from git_changelog import Changelog
from git_changelog.changelog import Changelog
Commit
from git_changelog import Commit
AngularConvention
from git_changelog import AngularConvention

Generate changelog from current Git repository (requires git executable in PATH).

import os from git_changelog.changelog import Changelog from git_changelog.provider import Provider token = os.environ.get('GIT_TOKEN', '') provider = Provider.GITHUB cl = Changelog.from_repository( repo_path='.', provider=provider, token=token, ) print(cl.generate())
git-changelog --version
Debug
Known issues
gotchaProvider token is required for private repositories or high rate limits; public repos may work without token but can hit GitHub API rate limits.
fix
Set GIT_TOKEN environment variable with a personal access token.
affects: all
gotchaThe library expects to be run inside a Git repository; calling from_repository on a non-repo path raises an exception.
fix
Ensure you run the script from within a Git repository, or pass a valid repo_path.
affects: all
deprecatedThe gem log output format (gem) is deprecated in favor of the default `keepachangelog`-like template.
fix
Switch to built-in templates or use --template CLI option.
affects: >=2.0
Upgrade
Version history
2.9.4latest on PyPI · released Apr 29, 2026
Audit
Dependencies
gitpythonrequiredCore dependency for Git operations
jinja2requiredTemplate engine for changelog rendering
Agent activity
4 hits · last 30 days
node
4
Resources
git-changelog — pip install git-changelog · libregistry