Ledenel / pydriller

Python Framework to analyse Git repositories

Home Page:http://pydriller.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status BCH compliance codecov

PyDriller

PyDriller is a Python framework that helps developers on mining software repositories. With PyDriller you can easily extract information from any Git repository, such as commits, developers, modifications, diffs, and source codes, and quickly export to CSV files.

Alt Text

REQUIREMENTS

Very few! Just:

  • Python3
  • Git

The list of dependencies are listed in ./requirements.txt, however the installer takes care of installing them for you.

INSTALL

Installing PyDriller is easily done using pip. Assuming it is installed, just run the following from the command-line:

pip install pydriller

This will also install the necessary dependencies.

SOURCE CODE

If you like to clone from source, you can do it with very simple steps.

OPTIONAL

It is suggested to make use of virtualenv:

> virtualenv -p python3 venv
> source venv/bin/activate

INSTALL FROM SOURCE

Clone the repo:

> git clone https://github.com/ishepard/pydriller.git

install the requirements:

> cd pydriller
> pip install -r requirements
> unzip test-repos.zip

and run the tests using pytest:

> pytest

TUTORIAL

For information on how to use PyDriller, refer to the ufficial documentation:

or have a look at our example folder.

How do I cite PyDriller?

For now, cite the repository.

License

This software is licensed under the Apache 2.0 License.

About

Python Framework to analyse Git repositories

http://pydriller.readthedocs.io/en/latest/

License:Apache License 2.0


Languages

Language:Python 100.0%