Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Generating overall statistics for multiple git repositories

Project Description


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


pip install gitstats


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 History

This version
History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
gitstats-0.2.4.tar.gz (4.4 kB) Copy SHA256 Checksum SHA256 Source Dec 24, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting