Skip to main content

Commitizen plugin for PyData-style commits

Project description

cz-pydata

PyPI - Version PyPI - Python Versions


Commitizen is command-line utility that helps you create your own set of rules for generating consistent commits, bumping your project's version, or generating a change log automatically.

PyData is an umbrella of projects from the scientific Python community, including NumPy, SciPy and Pandas. Some of these projects are using a commit message convention derived from the NumPy development guide, which will be referred to as the PyData convention.

Keep a Changelog is a specification for writing structured and human-readable changelogs. To my knowledge, there is currently no tooling available to turn PyData-style commit messages into a structured changelog automatically.

This plugin extends Commitizen to:

  • Understand or generate commit messages following the PyData convention.
  • Bump semantic versioning of a project based on those commit messages.
  • Generate a structured changelog automatically following the KaC spec.

Table of Contents

Installation

Using pip

pip install cz-pydata

Using pipx

pipx install commitizen
pipx inject commitizen cz-pydata

Usage

To use this plugin with the Commitizen CLI:

cz --name cz_pydata <command>

To set the commit rules in your pyproject.toml:

[tool.commitizen]
name = "cz_pydata"

License

cz-pydata is distributed under the terms of the MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cz_pydata-0.1.0.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

cz_pydata-0.1.0-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file cz_pydata-0.1.0.tar.gz.

File metadata

  • Download URL: cz_pydata-0.1.0.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for cz_pydata-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c33c7dbede9fae992f2e537d0282fdb0b074af14451ca44e10b03e53c662b57e
MD5 7fa043b363162514998cbd03f5d34f67
BLAKE2b-256 f8dd4080d995da87242b9add0e15192e4dccde53c61ce93c808980500358feb7

See more details on using hashes here.

File details

Details for the file cz_pydata-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: cz_pydata-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for cz_pydata-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 31556a49127c311dc53c63607c19d90da0ac97251db43aba33bd8fa1b8e4d915
MD5 a61cf485319662391ac04be1b1925c45
BLAKE2b-256 997b6ff74659c33c9bd5127ae5347029eebed9182696c34f2c6aafab902f3441

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page