git2net
is an Open Source Python package that facilitates the extraction of co-editing networks
from git repositories.
git2net
is pure python
code. It has no platform-specific dependencies and thus works on all
platforms. The only requirement is a version of git >= 2.0
. Assuming you are using pip
, you can install latest version of git2net
by running:
> pip install git2net
This also installs the necessary dependencies. git2net
depends on the python-Levenshtein
package to compute Levenshtein distances for edited lines of code. On sytems running Windows, automatically compiling this C based module might fail during installation. In this case, unofficial Windows binaries can be found here, which might help you get started.
After installation, we suggest to check out our tutorial, detailing how to get started using git2net
. We also provide detailed inline documentation serving as reference.
In addition, we have publised some motivating results as well as details on the mining algorithm in "git2net - Mining Time-Stamped Co-Editing Networks from Large git Repositories". Together with the paper, we have further released a jupyter notebook (using an early version of git2net
) reproducing the majority of the results shown in the paper on zenodo.org.
All functions of git2net
have been tested on Ubuntu, Mac OS, and Windows.
@inproceedings{gote2019git2net,
title={git2net: mining time-stamped co-editing networks from large git repositories},
author={Gote, Christoph and Scholtes, Ingo and Schweitzer, Frank},
booktitle={Proceedings of the 16th International Conference on Mining Software Repositories},
pages={433--444},
year={2019},
organization={IEEE Press}
}
This software is licensed under the GNU Affero General Public License v3 (AGPL-3.0).