Skip to content

yamsjix/gitstats

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

456 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Project Logo

PyPI - Version PyPI - Python Version PyPI Downloads Test Documentation GitHub contributors

$ gitstats

๐Ÿ“Š Generate insightful visual reports from Git.

๐Ÿ“˜ Documentation: gitstats.readthedocs.io

Example

gitstats . report generates this gitstats report.

Installation

pip install gitstats

gitstats is compatible with Python 3.6.6, Python 3.7, and newer.

Note

We added compatibility changes for Python 3.6/3.7 (importlib-metadata backport and CI tests). If you need strict testing against Python 3.6.6 specifically, add a request and we'll adjust CI to pin that minor version.

Usage

gitstats <gitpath> <outputpath>

Run gitstats --help for more options, or check the documentation.

Features

Here is a list of some features of gitstats:

  • General: total files, lines, commits, authors, age.
  • Activity: commits by hour of day, day of week, hour of week, month of year, year and month, and year.
  • Authors: list of authors (name, commits (%), first commit date, last commit date, age), author of month, author of year.
  • Files: file count by date, extensions.
  • Lines: line of code by date.
  • Tags: tags by date and author.
  • Customizable: config values through gitstats.conf.
  • Cross-platform: works on Linux, Windows, and macOS.

Contributing

As an open source project, gitstats welcomes contributions of all forms.


The gitstats project was originally created by Heikki Hokkainen and is currently maintained by Xianpeng Shen.

About

๐Ÿ“Š Visualize Your Git Repositories

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Python 85.1%
  • JavaScript 10.2%
  • CSS 4.1%
  • Dockerfile 0.6%