Skip to main content

Get app version from playstore, appstore

Project description

AppVersion is a library that can fetch app version from playstore or appstore. You only need to prepare the package name or bundle id as argument. also It has various util function for calculate version.


pip install appversion

Quick start

from av import AppVersion

# arg - android package name.
playstore_version = AppVersion.playstore('com.youjinui.endword')
print(playstore_version) # 1.2.1

# arg - iOS bundle id.
appstore_version = AppVersion.appstore('com.youjinui.endword')
print(appstore_version) # 1.0.0

Calculate version


This function return max version from two arguments.

from av import AppVersion

max_version = AppVersion.maxv('0.0.1', '0.0.2')

return 0.0.2


This function return min version from two arguments.

from av import AppVersion

min_version = AppVersion.minv('1.0.a', '1.0.b')

return 1.0.a


This function returns a boolean value of whether the version are equals or different.

from av import AppVersion

is_equal = AppVersion.equals('1.1', '')

return True


This function returns a boolean value of whether the arg1 is greater than arg2.

from av import AppVersion

is_arg1_greater_than_arg2 ='1.1.12', '1.1.3')

return True


tinyjin - Github, Blog


This library has MIT License.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release. See tutorial on generating distribution archives.

Built Distribution

appversion-0.0.1-py3-none-any.whl (3.5 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page