A network analysis tool for project repositories.
Project description
RepoNetwork
A python based tool that analyses the network structure of the repositories stored in Version Control stores such as GitHub and GitLab.
Installation
Use the package manager pip to install RepoNetwork.
pip install reponetwork
Usage
You can execute the script from the command line or import the package in python to extend it's functionalities.
Examples
reponet -t MY_AUTH_TOKEN -q MVC -o path/to/file.gexf
Build the network of repositories in Github related to MVC and save the resulting graph in your computer at the specified path. Authenticate with the specified personal private token from your GitHub account. Authentication is not required, but encouraged as it allows performing more API requests per hour. See Gihub rate limit.
reponet -s https://gitlab.com/ -t MY_AUTH_TOKEN -q MVC --stats 1
Build the network of repositories in the main GitLab server related to MVC and analyze the results, showing only the best candidate for each analysis criteria. Authenticate with the specified personal private token from your GitLab account. Authentication is not required, but encouraged as GitLab does not provide enough information in un-authenticated queries and thus, the resulting network may be incomplete.
reponet -u USER_NAME -p PASSWORD -q MVC -o path/to/file.gexf --stats 1 --draw --since 2015-01-01
Build the network of repositories in Github server related to MVC and then analyse, draw and save the resulting graphs. Authenticate with the user name and password from your Github account. Include only repositories and interactions since the beginning of 2015. The graph will be saved and analysed after exceeding rate limits, so you can wait or stop the process without loosing information.
reponet -i path/to/file.gexf --stats 1 --draw --since 2015-01-01
Load a previously saved network graph and then analyse and draw a visual representation of it. Include only repositories and interactions since the beginning of 2015.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for reponetwork-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db47e13519eaae368964f1a394f5d657046dac6e12dfefe2f3a677388bbcd12d |
|
MD5 | 5ca6250750d156b2effec6347ad69b8a |
|
BLAKE2b-256 | 6b768e3278f71178ec0cdf0741ad1a016759490b6c9f6721029698dab0e897eb |