dunamai
Dynamic version generation
Decision gist · record as of 2026-08-14
Yes. Dunamai is actively maintained, has no known vulnerabilities, minimal dependencies, and solves a real problem in CI/CD and release workflows. It's well-suited for projects that want version strings derived from VCS state without the overhead of Versioneer or manual version management. Install it if you need dynamic versioning tied to your repository tags.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction: pure Python wheel with only two runtime dependencies (packaging and importlib-metadata).
- Actively maintained with a recent release; last commit 2026-08-02.
License · maintenance · safety
MIT (permissive) — MIT license (permissive): you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
last release 2026-08-02 (12 days) · last repo commit 2026-08-02 · 384 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 15,496,339 downloads/mo, #1,185 on PyPI
Alternatives
Verify before relying
pip install dunamai
from dunamai import Version
version = Version.from_any_vcs()
print(version.serialize())- Whether all seven VCS backends (Git, Mercurial, Darcs, Subversion, Bazaar, Fossil, Pijul) are equally well-tested and production-ready
- Performance characteristics when run on very large repositories or in CI/CD pipelines with frequent invocations
What it is and what it does
Dunamai is a library and CLI tool that derives version strings from your version control system's tags, letting you avoid manually managing version numbers in code. It works with multiple VCS backends and outputs versions in PEP 440, Semantic Versioning, or custom formats—useful for CI/CD pipelines that need to uniquely identify nightly builds, per-commit releases, or production versions based solely on repository state.
The library provides both a programmatic API (the Version class) and a command-line interface. You can use it to generate a version at build time, embed it statically in your package, or compute it dynamically at runtime. It supports custom tag patterns, format templates, and version bumping, and works with projects in any language—for Python specifically, it means you don't need a setup.py to manage versions.
Use it for
- Generate unique version identifiers for nightly or per-commit CI builds without manual tagging
- Automatically version releases by creating a git tag, eliminating manual version string updates
- Embed a dynamic version in a Python package's __version__ attribute at build or import time
- Validate custom version format strings against PEP 440 or Semantic Versioning standards
- Extract and inspect individual version components (base, stage, distance, commit hash) for conditional build logic
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Dunamai is actively maintained, has no known vulnerabilities, minimal dependencies, and solves a real problem in CI/CD and release workflows. It's well-suited for projects that want version strings derived from VCS state without the overhead of Versioneer or manual version management. Install it if you need dynamic versioning tied to your repository tags.
Install
dunamai on PyPI
Before you install
Low friction: pure Python wheel with only two runtime dependencies (packaging and importlib-metadata). Actively maintained with a recent release; last commit 2026-08-02.
License in practice
MIT license (permissive): you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install dunamai
from dunamai import Version
version = Version.from_any_vcs()
print(version.serialize())
Verify before relying
- Whether all seven VCS backends (Git, Mercurial, Darcs, Subversion, Bazaar, Fossil, Pijul) are equally well-tested and production-ready
- Performance characteristics when run on very large repositories or in CI/CD pipelines with frequent invocations
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.5 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagespackagingimportlib-metadata |
| Maintenance | Actively maintained 12 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 15,496,339 / month, #1,185 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: End Users/DesktopLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: dunamai-1.26.2-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “semantic versioning from vcs”
- dunamaiDunamai generates dynamic, standards-compliant version strings from…
- poetry-dynamic-versioningA Poetry plugin that automatically derives and injects version…
- uv-dynamic-versioningA Hatch plugin that automatically derives package versions from VCS…
Give your agent the search over MCP, or paste the wish link into any chat.
More Build Tools packages
Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.
Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.
Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.
pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.
Install it if your team needs consistent, automated validation at commit time.
See also poetry-dynamic-versioning · setuptools-git-versioning · uv-dynamic-versioning · versioningit · versioneer · versioneer-518 · bumpversion · parver · bump2version · okonomiyaki