import pkg_resources


def __get_version(package):
    """

    Get the version of a Python package.

    Parameters
    ----------
    package: str
        The name of the package

    Returns
    -------
    Version number as string.

    """
    return pkg_resources.get_distribution(package).version