GitHub Social Network Analysis scripts
Social Network Analisys of GitHub: a collection of python scripts for mining GitHub social networks
License
Description
- ego-network.py: Ego-network search for followers and following users of a single user, Depth = 1
- ego-network-2levels.py: Ego-network search for followers and following users of a single user, Depth = 2 (full name of the user is requested, very slow)
- ego-network-2levels-fast.py: Ego-network search for followers and following users of a single user, Depth = 2 (only username of the user is requested, faster)
- organization_repository_analysis.py: Analysis of an Organization repository, starting from a user. No graph is built
- organization_repository_social_mining.py: Analysis of an Organization repository, starting from a user. A .gexf graph with multiple edges is built and saved
- organization_repository_social_mining_weighted.py: Analysis of an Organization repository, starting from a user. A .gexf graph is built with weighted singular edges and saved
- organization_repositories_social_mining_weighted.py: Analysis of an Organization (all its repositories), starting from a user. A .gexf graph is built with weighted singular edges and saved
- organization_ego-network.py: Ego-network search for followers and following users of all the members of an Organization, Depth = 1
- organization_ego-network-2levels.py: Ego-network search for followers and following users of all the members of an Organization, Depth = 2
- single_repository_social_mining.py: Analysis of a user repository, starting from a user. A .gexf graph with multiple edges is built and saved
- single_repository_social_mining_weighted.py: Analysis of a user repository, starting from a user. A .gexf graph with weighted singular edges is built and saved
Requisites
Install pyGithub with: pip install PyGithub
Install NetworkX with: pip install networkx