Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Changelogtxt-parser

changelogtxt_small

Overview

Changelogtxt-parser is a python api, CLI, and github action for parsing and verifying a changelog.txt like this:

- An unreleased change

v0.2.0
- A change

v0.1.0
- A change
- Another change

How to Install

uv add changelogtxt-parser
# or
pip install changelogtxt-parser

Python API

import changelogtxt

x = changelogtxt.load(filename)

# object example
changelogtxt.dump(object)

CLI Examples

# lint
changelogtxt check-format

# verify version exists
changelogtxt get-tag v1.0.1

# add new change or version
changelogtxt update -t "v1.0.2" -m "Change"

# compare two git ref files
changelogtxt summarize-news <origin> <target>

Basic action

- name: Check changelog
  uses: geopozo/changelogtxt-parser@main
  with:
    # Python version to use (default: 3.12)
    python-version: ""

    # Path to the changelog file (default: searches ./CHANGELOG.txt)
    file-path: ""

    # Whether to validate the changelog format (default: "true")
    check-format: "true"

    # Tag to verify. Use "from-push" to get the tag from the latest push
    get-tag: "v1.0.0"

    # Compare changelog files from the current ref to <target_ref>
    # (branch, commit hash, or tag)
    # <file_path> is relative to the `working-directory`
    summarize-news: '["<file_path>", "<target_ref>"]'

License

This project is licensed under the terms of the MIT license.

Release files for changelogtxt-parser 1.0.0rc2

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

Source distribution (sdist)

Source distribution for changelogtxt-parser 1.0.0rc2
File Size Uploaded
changelogtxt_parser-1.0.0rc2.tar.gz 12.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for changelogtxt-parser 1.0.0rc2
File Interpreter ABI Platform
changelogtxt_parser-1.0.0rc2-py3-none-any.whl Python 3 none any Details

Total release size: 22.2 kB

Release files / changelogtxt_parser-1.0.0rc2.tar.gz

Download URL changelogtxt_parser-1.0.0rc2.tar.gz
Size 12.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5d2c14f44daab1e7c4aff82c4cfd53d21e587b31eb281859dd046a2a9af0142f
BLAKE2b-256 checksum
How to use checksums
759ee74c58a3d0699bef22ea15ffcf6e8524ddda2868f8f42418f43def4cae44
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 Dec 18, 2025.

Transparency log

Release files / changelogtxt_parser-1.0.0rc2-py3-none-any.whl

Download URL changelogtxt_parser-1.0.0rc2-py3-none-any.whl
Size 10.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8caa64ff8e710fb03dac655d22b0ede6a2ce4e7afcd51b35904195548fc0afe1
BLAKE2b-256 checksum
How to use checksums
7917732d640ddc86736faa2a2aa0281e410badf52e9dff602beb1d5ebedf0229
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 Dec 18, 2025.

Transparency log
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