This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

It provides a command, git-count, that can count commits in a Git repository in each day, week, month or year.

Installation

It is uploaded to PyPI, thus you can install it by this command:

# pip install git-count

You also can install it from the source code:

# python setup.py install

For newest version, please visit the GitHub of git-count.

Examples

Count the commits which is created by mosky:

DESKTOP ~/mosql (dev) $ git count mosky
2013-06-03  20
2013-05-27  108
2013-05-20  117
2013-05-13  0
2013-05-06  3
2013-04-29  0
2013-04-22  37
2013-04-15  83

Count the commits created by mosky and in 3 months:

DESKTOP ~/mosql (dev) $ git count mosky -pm -n3
2013-06-01  23
2013-05-01  225
2013-04-01  153

Count all of the commits in 5 days and in a given range:

DESKTOP ~/mosql (dev) $ git count -r v0.5..dev -pd -n5
2013-06-06  0
2013-06-05  5
2013-06-04  11
2013-06-03  4
2013-06-02  0

Usage

DESKTOP ~/mosql (dev) $ git-count --help
usage: [-a | --author=<str>] [-p | --period=<str>] [-f | --first=<str>] [-n | --number=<int>] [-r | --range=<str>] [-t | --paths=<str>] [--no-all] [--merges] [--<key>=<value>...]
   or: count [-a | --author=<str>] [-p | --period=<str>] [-f | --first=<str>] [-n | --number=<int>] [-r | --range=<str>] [-t | --paths=<str>] [--no-all] [--merges] [--<key>=<value>...]

It counts the commits in a Git repository.

    -a, --author=<str>  Specify an author.
    -p, --period=<str>  Specify the period: daily (d), weekly (w), monthly
                        (m) or yearly (y). Default is weekly.
    -f, --first=<str>   Specify the first day of weeks: monday (mon), sunday
                        (sun), saturday (sat). Default is monday.
    -n, --number=<int>  How many periods?
    -r, --range=<str>   Specify the range, ex. master..dev.
    -t, --paths=<str>   Specify the paths, ex. .gitignore.
    --not-all           Count the commits in current branch only.
    --merges            Include the merge commits.

The other arguments will be passed to the command, ``git log``.
Release History

Release History

0.1.3

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
git-count-0.1.3.tar.gz (4.2 kB) Copy SHA256 Checksum SHA256 Source Jun 27, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development 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