skip to navigation
skip to content

app_version 1.0.1

A tiny utility to get application version from pkg_resouces

Do you write the version information on and

This tiny application allow you to access version information of from

Based on this post, I wrote this tiny application for convinience.

Check online documentation for more details.


Use pip like:

$ pip install app_version


The following code is an example

from app_version import get_versions
__version__, VERSION = get_versions('your app name')

Then you can access the version string with __version__ and version tuple with VERSION. The version tuple is useful for comparing versions like

>>> VERSION = (0, 1, 2)
>>> VERSION > (0, 1, 0)
>>> VERSION > (0, 1, 1)
>>> VERSION > (0, 1, 2)
File Type Py Version Uploaded on Size
app_version-1.0.1-py2-none-any.whl (md5) Python Wheel py2 2017-07-14 7KB
app_version-1.0.1-py3-none-any.whl (md5) Python Wheel py3 2017-07-14 7KB
app_version-1.0.1.tar.gz (md5) Source 2017-07-14 10KB