Skip to main content

install with pip

python3 -m pip install changelog-md

install with Poetry

poetry add changelog-md

execution information:

This script aim to provide changelogs on git-tracked projects. Run changelog.py script in your directory and it'll generate the changelog file. In order to obtain actual changelog, run:

You can use git changelog from command line directly:

# ... code on project
git commit                                                    #add your commit message on work you've done
python3 -m changelog_md vX.Y.Z "Annotation for this version" #generate changelog
git add changelog.md                                          #stage the changelog to current commit
git commit --amend                                            #add the changelog to current commit, leave commit message as is.
git tag -a vX.Y.Z -m "Annotation for this version"            #add the tag you've set earlier in changelog.
git push --follow-tags                                        #publish your changes and the new tag.

Or you can elaborate your workflow python scripts to use changelog_md as a python module:

# CICD_script.py
# ... do some CICD work

from changelog_md import logger
l = logger('vX.Y.Z', 'Annotation for this version')           #create logger instance
l.make()                                                      #print the log

# ... do other CICD work

More actual information on colophon of scripts:

#actual information on colophon:
python3 -m changelog_md --help

correct commit messages:

To make this scripts work properly, your commit messages should look like any of this:

[feature] feature description here
[fix] fix description
[changelog] minor changes description
[internal] this section will be generated only if --internal argument is given.
This commit message string will be ommited from changelog.

Releases:

Any tagged commit will be interpreted as release. To create tag, write:

git tag -a v<version>
... tag anotation ...
git push --follow-tags

Any commit above the last tag will be marked as tag provided in command line arguments and annotated accordingly.

Metadata

Release files for changelog-md 0.1.4

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

Source distribution (sdist)

Source distribution for changelog-md 0.1.4
File Size Uploaded Provenance Actions
changelog_md-0.1.4.tar.gz 4.1 kB Without provenance Details for changelog_md-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for changelog-md 0.1.4
File Interpreter ABI Platform Actions
changelog_md-0.1.4-py3-none-any.whl Python 3 none any Details for changelog_md-0.1.4-py3-none-any.whl

Total release size: 8.3 kB

Release files / changelog_md-0.1.4.tar.gz

Download URL changelog_md-0.1.4.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
43581abc8695ef16dea9ad11d85a56300ec1677b5027d96a006ac0075ffaa864
BLAKE2b-256 checksum
How to use checksums
2087c81770267cc929ea81510ac7baceb4aacd76cb6f5dcd47a24e3f41e43283
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.6 CPython/3.9.5 Linux/5.4.0-52-generic

Release files / changelog_md-0.1.4-py3-none-any.whl

Download URL changelog_md-0.1.4-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2c82e346ffe0f7607501ab79cf6e92fe99bf398e2c7b52a30c25ecc273f4b062
BLAKE2b-256 checksum
How to use checksums
5259e7fec82fe2145c1ba2f2b9dde75fc9f22e2c088cf471aa30af5f646e9ffe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.6 CPython/3.9.5 Linux/5.4.0-52-generic

Security for changelog-md 0.1.4

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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