mini_arcade.utils.get_package_version ===================================== .. py:module:: mini_arcade.utils.get_package_version .. autoapi-nested-parse:: Module for getting the installed package version. Functions --------- .. autoapisummary:: mini_arcade.utils.get_package_version.get_package_version Module Contents --------------- .. py:function:: get_package_version(package: str) -> str Return the installed package version. This is a thin helper around importlib.metadata.version so games can do: from mini_arcade_core import get_package_version print(get_package_version("mini-arcade")) :return: The version string of the installed package. :rtype: str :raises PackageNotFoundError: If the package is not installed.