import pkg_resources


def get_highest_installed(project_name):
    """Return highest version of installed package.

    @param project_name: PyPI project name
    @type project_name: string

    @return: string of highest installed version

    """
    environment = pkg_resources.Environment()
    return environment[project_name][0].version