Skip to main content

commitizen-galaxy-provider

A commitizen version provider for Ansible Collections. It reads and writes the version field in your collection's galaxy.yml, so cz bump can manage your collection version alongside your changelog and git tags.

Installation

Install alongside commitizen, e.g. with uv:

uv add commitizen commitizen-galaxy-provider

or with pip:

pip install commitizen commitizen-galaxy-provider

Usage

Set galaxy as the version_provider in your commitizen configuration, typically in pyproject.toml:

[tool.commitizen]
version_provider = "galaxy"

By default, the provider looks for galaxy.yml in the current directory. Given:

namespace: my_namespace
name: my_collection
version: 1.0.0
readme: README.md
authors:
  - Someone <someone@example.com>

running cz bump updates the version field in place, preserving every other field in the file.

How it works

GalaxyProvider extends commitizen's FileProvider and targets galaxy.yml. It parses the file as YAML, exposes get_version/set_version to read and persist the version key, and implements the get/set document helpers commitizen uses internally, without disturbing the rest of the collection metadata.

Development

uv sync
uv run pytest

Metadata

Release files for commitizen-galaxy-provider 0.2.0

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

Source distribution (sdist)

Source distribution for commitizen-galaxy-provider 0.2.0
File Size Uploaded Provenance Actions
commitizen_galaxy_provider-0.2.0.tar.gz 17.0 kB With provenance Details for commitizen_galaxy_provider-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for commitizen-galaxy-provider 0.2.0
File Interpreter ABI Platform Actions
commitizen_galaxy_provider-0.2.0-py3-none-any.whl Python 3 none any Details for commitizen_galaxy_provider-0.2.0-py3-none-any.whl

Total release size: 33.1 kB

Release files / commitizen_galaxy_provider-0.2.0.tar.gz

Download URL commitizen_galaxy_provider-0.2.0.tar.gz
Size 17.0 kB
Tags Source
SHA-256 checksum
How to use checksums
fa161280a48d583b07e379c411b02f12ada24bdea11a2872497fa76376797659
BLAKE2b-256 checksum
How to use checksums
b3c5219cd73b0550a3b1da928585d14c6ea7747c02ff6388069ac126e8d0e1a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 23, 2026.

Transparency log

Release files / commitizen_galaxy_provider-0.2.0-py3-none-any.whl

Download URL commitizen_galaxy_provider-0.2.0-py3-none-any.whl
Size 16.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
996fcafadc8278b54c5e080061d182797a83714780f2448791332ee1000222f3
BLAKE2b-256 checksum
How to use checksums
83f6653440c8cd7947a1500c4131b2836597154c35afd5641d178710b4050dd7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 23, 2026.

Transparency log

Security for commitizen-galaxy-provider 0.2.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for commitizen_galaxy_provider-0.2.0.tar.gz

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 Sep 23, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files Full provenance

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