Skip to main content
Help improve PyPI by participating in a 5-minute user interface survey!

Generating overall statistics for multiple git repositories

Project Description

Gitstat

https://travis-ci.org/suminb/gitstats.svg?branch=develop https://coveralls.io/repos/github/suminb/gitstats/badge.svg?branch=develop

Visualizes overall code commits for multiple Git repositories. The red indicates my own commits whereas the blue indicates your teammates’.

http://s1.postimg.org/mrnwnla3j/2014.png

Installation

pip install gitstats

Usage

The following example shows how gitstats discovers all Git repositories in the home directory to consolidate all commit logs.

Git Repository Analysis

gitstats analyze ~ > gitstats.json

The target directory may be a single repository.

gitstats analyze ~/work/project_x > gitstats.json

If you would like to exclude certain repositories, put a .exclude file in each directory you want to exclude from the statistics. Note that the content of the file is irrelevant.

Generating Commit Graphs

gitstats generates annual commit graphs that are similar to what GitHub shows on each user’s page. However, the major difference is that gitstats differentiates your commits from others based on your email address(es).

gitstats generate_graph gitstats.json 2017 --email ${your_email} > 2017.svg

If you have multiple email addresses, you may pass them as follows:

gitstats generate_graph gitstats.json 2017 --email ${your_email1} --email ${your_email2} > 2017.svg

Release history Release notifications

This version
History Node

0.2.4

History Node

0.2.3

History Node

0.2.2

History Node

0.2.1

History Node

0.0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
gitstats-0.2.4.tar.gz (4.4 kB) Copy SHA256 hash SHA256 Source None Dec 24, 2017

Supported by

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