Time-based statistics for Git/Hg repos
Python
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
coded4
.gitignore
README.markdown
requirements.txt
setup.py

README.markdown

coded4

Ever wondered how much time have you spent on a project?...

coded4 ('coded for ...') calculates approximate time that one has spent coding particular project. It uses commit timestamps to reconstruct coding sessions for every commiter in given Git or Hg repository.

Installation

A standard setup.py is provided:

$ git clone git://github.com/Xion/coded4.git
$ cd coded4
$ ./setup.py develop

Use develop instead of install so you can easily git pull any updates.

Usage

...is simple:

$ coded4 <directory-with-repo>

For example, if you have just installed coded4 and are still inside its directory, type:

$ coded4 .

This should print something like that:

name             commits time    
---------------------------------
Karol Kuczmarski 21      02:16:19

As you can see, coded4 didn't take all that long to make ;)

For more options:

$ coded4 --help

This small project is licensed under MIT.