def get_major_version(version_str):
    """
    Given a version string separated by '.' return the major verison
    :param version_str: str: version string
    :return: str: major version
    """
    return version_str.split('.')[0]