Skip to main content

An OpenSource Python package for the extraction of fine-grained and time-stamped co-editing networks from git repositories.

Project description


git2net is an Open Source Python package that facilitates the extraction of co-editing networks from git repositories.

Download and installation

git2net is pure python code. It has no platform-specific dependencies and thus works on all platforms. 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.

How to use git2net

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 released a jupyter notebook reproducing the majority of the results shown in the paper on This notebook also serves as tutorial introducing the functionality of git2net.

How to cite git2net

  author    = {Christoph Gote and
               Ingo Scholtes and
               Frank Schweitzer},
  title     = {git2net - Mining Time-Stamped Co-Editing Networks from Large git Repositories},
  journal   = {CoRR},
  volume    = {abs/1903.10180},
  year      = {2019},
  url       = {},
  archivePrefix = {arXiv},
  eprint    = {1903.10180},
  timestamp = {Mon, 01 Apr 2019 14:07:37 +0200},
  biburl    = {},
  bibsource = {dblp computer science bibliography,}


This software is licensed under the GNU Affero General Public License v3 (AGPL-3.0).

Project details

Download files

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

Files for git2net, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size git2net-1.0.1-py3-none-any.whl (32.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size git2net-1.0.1.tar.gz (20.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page