An open API service indexing awesome lists of open source software.

https://github.com/rcmachado/pykeepachangelog

Parse and extract information from changelogs that follows the keepachangelog.com format
https://github.com/rcmachado/pykeepachangelog

Last synced: about 2 months ago
JSON representation

Parse and extract information from changelogs that follows the keepachangelog.com format

Awesome Lists containing this project

README

        

pykeepachangelog
================

Parses changelogs that follows keepachangelog_ format, exposing the
data in a structured way.

Installation
------------

pykeepachangelog supports Python 2.7, 3.5 and 3.6.

.. code-block:: bash

$ pip install pykeepachangelog

Usage
-----

.. code-block:: python

import keepachangelog

with open("CHANGELOG.md", "r") as fd:
keepachangelog.parse_file(fd)

How it works
------------

pykeepachangelog is a wrapper on top of misaka_ Markdown parser. It
expects a file that follows the format specified by
`Keep a Changelog `_ and returns the information
described in a structured way (per version and section).

Contributing
------------

Pull requests are welcomed. Before submiting you code for review,
please make sure all the tests passed after your change:

.. code-block:: bash

$ pytest

License
-------

This project is licensed under `MIT license`_. For details please see
`LICENSE` file.

.. _keepachangelog: https://keepachangelog.com
.. _license: https://choosealicense.com/licenses/mit/
.. _misaka: https://github.com/FSX/misaka