Spaces:
Sleeping
Sleeping
Update github_analyzer.py
Browse files- github_analyzer.py +5 -0
github_analyzer.py
CHANGED
|
@@ -48,6 +48,11 @@ def analyze_repo(repo_url):
|
|
| 48 |
info = {
|
| 49 |
"name": repo.name,
|
| 50 |
"description": repo.description,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
"topics": repo.get_topics(),
|
| 52 |
"files": get_filtered_file_contents(repo),
|
| 53 |
"url": repo.html_url
|
|
|
|
| 48 |
info = {
|
| 49 |
"name": repo.name,
|
| 50 |
"description": repo.description,
|
| 51 |
+
"owner": {
|
| 52 |
+
"login": repo.owner.login,
|
| 53 |
+
"type": repo.owner.type, # User or Organization
|
| 54 |
+
"url": repo.owner.html_url
|
| 55 |
+
},
|
| 56 |
"topics": repo.get_topics(),
|
| 57 |
"files": get_filtered_file_contents(repo),
|
| 58 |
"url": repo.html_url
|