# Usual (pythonic) way to add/inject the git-hash to the version string

**URL:** <https://discuss.python.org/t/usual-pythonic-way-to-add-inject-the-git-hash-to-the-version-string/45169>\
**Category:** Python Help\
**Tags:** packaging-help\
**Created:** [February 6, 2024, 10:20am UTC](https://discuss.python.org/t/usual-pythonic-way-to-add-inject-the-git-hash-to-the-version-string/45169 "2024-02-06T10:20:27Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![buhtz](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/buhtz/32/9970_2.png) [@buhtz](https://discuss.python.org/u/buhtz)\
**Post date:** [February 6, 2024, 3:29pm UTC](https://discuss.python.org/t/usual-pythonic-way-to-add-inject-the-git-hash-to-the-version-string/45169/6 "2024-02-06T15:29:43Z")

</div>

F\*\*\*\*\* awesome. Just the pyproject.toml get me excited a lot. 😃 Interesting what all could be achieved with it.

Do you have a blog? You should write just about your packaging setup and all the little tiny helpers in there. I have so many questions. Don’t write only about that tools. We can read that in their docs. Write about how you integrate them into your workflow and how they help to improve your workflow.

---

_[View the full topic](https://discuss.python.org/t/usual-pythonic-way-to-add-inject-the-git-hash-to-the-version-string/45169)._
