Skip to main content

A minimalistic timetracker.

Project description

A basic Python command line time tracker, inspired by a post on Hacker News by James Britt (https://news.ycombinator.com/item?id=6897425).

#Basics

To install:

`pip install timetracker`

To run:

`timetracker`

It's recommended that you alias it to `@`, for easier use:

`alias @=timetracker`

#Using timetracker

Just invoke timetracker followed with a string of whatever you're working on:

`@ repaired the flux capacitor`

If invoked without arguments, it will prompt you to type a note.

timetracker will save your note, timestamped, into a .log file stored as follows:

`$ROOT/YYYY/MM/dd.log`

By default, $ROOT will be a `timetracker` directory in your home folder.
You can change that by editing the config file `~/.config/timetracker/timetracker.conf`; it look as follows:

````
root = '~/location/to/other/folder'
time_format = '%H:%M'
`````

`root` is where the logs will be stored; `time_format` indicates how dates will be structured in the log files.

#Tips

You can integrate it in your workflow in a nice way; for example, by writing a script that will invoke it every hour, or every time you do a `git commit`, etc.
A good way to not forget about it is to have your terminal greeting remind you to use it!

The program is fairly smart with appending to existing files etc., so you can configure it to write to your Dropbox folder (or whatever other data backup system you use) - in that way, you can keep track of your notes across computers :)

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

timetracker-0.1.tar.gz (2.3 kB view details)

Uploaded Source

File details

Details for the file timetracker-0.1.tar.gz.

File metadata

  • Download URL: timetracker-0.1.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for timetracker-0.1.tar.gz
Algorithm Hash digest
SHA256 b2a23d0259e2aab0a6cc5511cc1b9f99699c9e5ecbfe96d36ea9c36285350475
MD5 a31091d3757049198e593d2c316db3b7
BLAKE2b-256 d13d9ffbadef1a6e7a0c81226d9a1e0efa3eafdad90f5051a83d19777965e583

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page