This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
import requests | |
from urllib.parse import urlparse | |
import time | |
def is_public_repo(repo_url, checked_repos): | |
"""Check if a GitHub repository is public or private""" | |
if repo_url in checked_repos: | |
return checked_repos[repo_url] | |