Skip to content

karster/git-stats

GIT Stats

Creates useful statistics (activity, author, and keyword) above git repository. Every statistic you can print to console output or to file.

Activity stats

Creates activity statistics based on time when contributors committed to project repository.

Usage

$ cd git-stats
$ python git-activity-stats.py --last-week

Options

--help - show help
--include-merges - include merge
--since
--until
--before
--after
--last-month
--last-week
--result - path to result file

Output

activity_stats

Author stats

Creates author statistics as commits count, file changed count, count of inserted and deleted code lines etc.

Usage

$ cd git-stats
$ python git-author-stats.py --last-week

Options

--help - show help
--include-merges - include merge
--since
--until
--before
--after
--last-month
--last-week
--result - path to result file

Output

author_stats

Keyword stats

Creates keyword statistics based on commit messages. Searchable keywords you can find in default-keyword.json file. You can create own json file or use default one.

Usage

$ cd git-stats
$ python git-keyword-stats.py --last-week

Options

--help - show help
--include-merges - include merge
--since
--until
--before
--after
--last-month
--last-week
--result - path to result file
--keywords - path to keyword JSON file. Default file is default-keyword.json

Output

keyword_stats

Dependences

Contribution

Have an idea? Found a bug? See how to contribute.

License

MIT see LICENSE for the full license text.

About

Create useful statistics for git repository

Topics

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.md

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages