def get_github_page(pypi_pkg):
    """Retrieve github page URL if available"""

    github_page = ""
    # Check potential fields for a github link
    potential_github_fields = [pypi_pkg["pypi_data"]["info"]["home_page"]]
    # Add project url fields
    for _, url in pypi_pkg["pypi_data"]["info"]["project_urls"].items():
        potential_github_fields.append(url)
    for field in potential_github_fields:
        # Any field with github in it must be github link
        if "github" in field:
            github_page = field
            break

    return github_page