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
Metadata
Release files for reponetwork 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| reponetwork-1.1.0.tar.gz | 7.8 kB | Without provenance | Details for reponetwork-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| reponetwork-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for reponetwork-1.1.0-py3-none-any.whl |
Total release size: 18.2 kB
Release files / reponetwork-1.1.0.tar.gz
| Download URL | reponetwork-1.1.0.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
84369dbdb5524ed92f49a7da9e744d2ead077e50ec9a4c9b475be2c39e17b18d
|
|
BLAKE2b-256 checksum How to use checksums |
359aa5790f9ef98ef9a5c2818b82be0800c0492323b39f1fd552284757d866b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
|
Release files / reponetwork-1.1.0-py3-none-any.whl
| Download URL | reponetwork-1.1.0-py3-none-any.whl |
|---|---|
| Size | 10.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d18c20dc1ef50747b1597feae860f61df8df6885b640385ce22f34bcf605d37c
|
|
BLAKE2b-256 checksum How to use checksums |
768412ca09c6f4e243a4da1676b62ecb47d2383e650a30f472c7ac3fdab6764f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
|
Security for reponetwork 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.