Skip to main content

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

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reponetwork-1.1.0.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

reponetwork-1.1.0-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file reponetwork-1.1.0.tar.gz.

File metadata

  • Download URL: reponetwork-1.1.0.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for reponetwork-1.1.0.tar.gz
Algorithm Hash digest
SHA256 84369dbdb5524ed92f49a7da9e744d2ead077e50ec9a4c9b475be2c39e17b18d
MD5 1459c048f8e8da872202a37df705763e
BLAKE2b-256 359aa5790f9ef98ef9a5c2818b82be0800c0492323b39f1fd552284757d866b4

See more details on using hashes here.

File details

Details for the file reponetwork-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: reponetwork-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for reponetwork-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d18c20dc1ef50747b1597feae860f61df8df6885b640385ce22f34bcf605d37c
MD5 5c79f5a8279c2fa3d987c9651903d952
BLAKE2b-256 768412ca09c6f4e243a4da1676b62ecb47d2383e650a30f472c7ac3fdab6764f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page