Skip to content

Find changelog for github repository, local dir, parse changelog

License

Notifications You must be signed in to change notification settings

dephell/dephell_changelogs

Repository files navigation

dephell_changelogs

Installation

python3 -m pip install --user dephell_changelogs

Usage

Get changelog url:

from dephell_changelogs import get_changelog_url

url = get_changelog_url('dephell')
url = get_changelog_url('https://dephell.readthedocs.io/')
url = get_changelog_url('https://github.com/dephell/dephell/')

Parse changelog:

from dephell_changelogs import parse_changelog

parsed = parse_changelog(url)
parsed['0.8.0']
# 'New commands:\n\n+ [dephell package bug]...'