Skip to main content
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 :)

Metadata

Release files for timetracker 0.1

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

Source distribution (sdist)

Source distribution for timetracker 0.1
File Size Uploaded Provenance Actions
timetracker-0.1.tar.gz 2.3 kB Without provenance Details for timetracker-0.1.tar.gz

Release files / timetracker-0.1.tar.gz

Download URL timetracker-0.1.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b2a23d0259e2aab0a6cc5511cc1b9f99699c9e5ecbfe96d36ea9c36285350475
BLAKE2b-256 checksum
How to use checksums
d13d9ffbadef1a6e7a0c81226d9a1e0efa3eafdad90f5051a83d19777965e583
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for timetracker 0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file No provenance

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