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

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. 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.

How to use git2net

After installation, we suggest to check out our tutorials, 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 git2nethave been tested on Ubuntu, Mac OS, and Windows.

How to cite git2net

@inproceedings{gote2019git2net,
  title={git2net: {M}ining 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}
}

@article{gote2021analysing,
  title={Analysing time-stamped co-editing networks in software development teams using git2net},
  author={Gote, Christoph and Scholtes, Ingo and Schweitzer, Frank},
  journal={Empirical Software Engineering},
  volume={26},
  number={4},
  pages={1--41},
  year={2021},
  publisher={Springer}
}

License

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.

Source Distribution

git2net-1.5.6.tar.gz (40.6 kB view details)

Uploaded Source

Built Distribution

git2net-1.5.6-py3-none-any.whl (41.2 kB view details)

Uploaded Python 3

File details

Details for the file git2net-1.5.6.tar.gz.

File metadata

  • Download URL: git2net-1.5.6.tar.gz
  • Upload date:
  • Size: 40.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for git2net-1.5.6.tar.gz
Algorithm Hash digest
SHA256 54a42a942a9b9f98cd4099f7b8ec86e465ffce85c4a101b3d8bb59a64f7c733b
MD5 9774d1b7385f80a14cddecfcb60aafd1
BLAKE2b-256 26a78b66605a69f9f4a7575ebe3ea140ce0547dfde0ac3e6911801dd47687d80

See more details on using hashes here.

Provenance

File details

Details for the file git2net-1.5.6-py3-none-any.whl.

File metadata

  • Download URL: git2net-1.5.6-py3-none-any.whl
  • Upload date:
  • Size: 41.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for git2net-1.5.6-py3-none-any.whl
Algorithm Hash digest
SHA256 665b854ca4e587e69fffd4932a951b7792e7380594f7a468cac1fc7042d14d73
MD5 39da5eec46af9b94f3b0d192ce8a8c4b
BLAKE2b-256 93feba0129f92eab1ba152d5a073e465fc559d2495cd2473b6eaf1b56e0d1781

See more details on using hashes here.

Provenance

Supported by

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