check if repo exists pygithub code example
Example: how to get description of repositories using pygithub api
g = Github(token)
g.get_repo('PyGithub/PyGithub').description
g = Github(token)
g.get_repo('PyGithub/PyGithub').description