{"repo":"mtkennerly/dunamai","free":true,"listed":false,"github":"https://github.com/mtkennerly/dunamai","clone":"git clone https://github.com/mtkennerly/dunamai.git","description":"Dynamic versioning library and CLI","language":"Python","stars":384,"topics":["python","versioning","cli","git","mercurial","darcs","semantic-versioning","subversion","bazaar","fossil"],"license":"MIT","category":"cli-tools","readme_excerpt":"Dunamai Dunamai is a Python 3.5+ library and command line tool for producing dynamic, standards-compliant version strings, derived from tags in your version control system. This facilitates uniquely identifying nightly or per-commit builds in continuous integration and releasing new versions of your software simply by creating a tag. Dunamai is also available as a GitHub Action. Features Version control system support: Git (2.7.0+ is recommended, but versions as old as 1.8.2.3 will work with some reduced functionality) Mercurial Darcs Subversion Bazaar Fossil Pijul Version styles: PEP 440 Semantic Versioning Haskell Package Versioning Policy Custom output formats Can be used for projects written in any programming language. For Python, this means you do not need a setup.py. Usage Installation CLI Library The serialize() method gives you an opinionated, PEP 440-compliant default that ensures that versions for untagged commits are compatible with Pip's --pre flag. The individual parts of the version are also available for you to use and inspect as you please: Tips By default, the \"v\" prefix on the tag is required, unless you specify a custom tag pattern. You can either write a regular expression: Console: Python: ...or use a named preset: Console: Python: You can also keep the default pattern and just specify a prefix. For example, this would match tags like some-package-v1.2.3 : Console: Python: VCS archives Sometimes, you may only have access to an archive of a repository (e.","default_branch":null,"files":null,"tree":[],"storefront":"/r/mtkennerly","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mtkennerly/dunamai/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}