Skip to main content

Hammertime

Git based time tracking. Use it either with your repository you’re doing work in, or create a new repository to track your work.

Installation

Either with pip or easy_install:

$ easy_install Hammertime
$ pip install Hammertime

Usage

$ cd /repository
$ git time start -m "Doing some work"
$ # do work, commits, etc
$ git time stop -m "Not doing work anymore"
$ git time show

If you’ve got a json command line utility installed, try something like:

$ git time show | json -o times delta
$ git time show | json -o times start.message end.message delta

Help

$ git time -h

Note

Invoking git time stop in sequence twice or more will always override the last git time stop entry. Invoking git time start will always create new entries.

Example session

alen@mu:[hammertime ~master]$ git time start -m "Starting something to work on"
alen@mu:[hammertime ~master]$ vim README.md
alen@mu:[hammertime ~master]$ git commit -am "Saved the example session"
[master 11a0c98] Saved the example session
 1 files changed, 5 insertions(+), 0 deletions(-)
alen@mu:[hammertime ~master]$ git time stop -m "Readme updates with example session"
alen@mu:[hammertime ~master]$ git time show
{"times": [{"start": {"message": "Starting something to work on", "time": "2011-02-02T13:37:44.761185"}, "stop": {"message": "Readme updates with example session", "time": "2011-02-02T13:39:21.330041"}, "delta": "0:01:36"}]}
alen@mu:[hammertime ~master]$ git time show | json -o times delta
{
  "delta": "0:01:36"
}
alen@mu:[hammertime ~master]$ git time show | json -o times delta start.message stop.message
{
  "delta": "0:01:36",
  "start": {
    "message": "Starting something to work on"
  },
  "stop": {
    "message": "Readme updates with example session"
  }
}

Metadata

Release files for Hammertime 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Hammertime 0.2.4
File Size Uploaded
Hammertime-0.2.4.tar.gz 4.7 kB Details

Release files / Hammertime-0.2.4.tar.gz

Download URL Hammertime-0.2.4.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8efc6c5cf45774b894825fb1a3ec160c34e7c03a0e32ece211bf598dfb7ce1d8
BLAKE2b-256 checksum
How to use checksums
a89d2c641095a12ab4fb354d28836360bd66c7155f1c80cf1b6fd592b7823353
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.4 This release

1 release file

0.2.3

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page