Overview / Install¶
PyDriller is a Python framework that helps developers on mining software repositories. Born as a fork of RepoDriller, with PyDriller you can easily extract information from any Git repository, such as commits, developers, modifications, diffs, and source codes, and quickly export CSV files.
Requirements¶
Installing PyDriller¶
Installing PyDriller is easily done using pip. Assuming it is installed, just run the following from the command-line:
# pip install pydriller
This command will download the latest version of GitPython from the Python Package Index and install it to your system. This will also install the necessary dependencies.
Source Code¶
PyDriller’s git repo is available on GitHub, which can be browsed at:
and cloned using:
$ git clone https://github.com/ishepard/pydriller
$ cd pydriller
Optionally (but suggested), make use of virtualenv:
$ virtualenv -p python3 venv
$ source venv/bin/activate
Install the requirements:
$ pip install -r requirements
and run the tests using pytest:
$ pytest