Skip to main content

A small command-line time tracker with sheets, notes, and Rich-formatted output.

Project description

track-time-cli

A small command-line time tracker. Organize work into sheets, clock in and out, attach notes to running entries, and inspect totals with formatted tables (via Rich).

Installation

From PyPI:

pip install track-time-cli

The CLI is installed as tt.

Quick start

  1. Create or switch to a sheet:

    tt sheet my-project
    
  2. Start tracking:

    tt in "Implementing feature X"
    
  3. Stop tracking:

    tt out
    
  4. With no subcommand, tt shows the current running entry (if any):

    tt
    

Data

State is stored under your home directory:

  • ~/.track-time-cli/db.json

Commands

Command Description
tt Show the active running entry and its notes, if any.
tt in <description> [--at <time>] Check in on the active sheet. --at accepts natural language (e.g. 10 minutes ago) via dateparser.
tt out [--at <time>] Check out the running entry.
tt list List all entries on the active sheet with durations and totals.
tt sheet <name> Create the sheet if needed, then switch to it as active.
tt sheet <name> --delete / -d Delete a sheet (prompts if it has entries).
tt sheets List all sheets with entry counts and total time.
tt note <text> [--at <time>] Append a note to the running entry.
tt edit <description> Change the description of the running entry.
tt resume Start a new entry copying the description of the last completed entry on the active sheet.
tt cancel Remove the running entry without recording it.

Dependencies

Runtime dependencies are declared in pyproject.toml: Typer, Rich, humanize, and dateparser.

Project details


Download files

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

Source Distribution

track_time_cli-0.1.0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

track_time_cli-0.1.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file track_time_cli-0.1.0.tar.gz.

File metadata

  • Download URL: track_time_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for track_time_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7a91060e9688322aeefddbdd492f64b68c19ce1a67c4780ead52963c463373d7
MD5 2445af2161416efd143692e07e551b71
BLAKE2b-256 0c99601a62ccecf89f9588004bd82ff86ef08dfca70b2abf1813db27c464fce9

See more details on using hashes here.

File details

Details for the file track_time_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: track_time_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for track_time_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6871698d9295a37a08f153c8c9d13a43bb049e6ca5b726dad4a7f5de138bd049
MD5 8aa2d0a03768839b3f6473c0f4c726a2
BLAKE2b-256 d88640db6783e47b9cee5d8d052da180234cda2088519fbd30a9a75b20f96b51

See more details on using hashes here.

Supported by

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