Skip to main content

Minimalistic terminal-based timer with Study/Train tracking

Project description

In The Name of God


⏱ tm : Minimalistic Terminal-based timer with Study/Train tracking

Features:

  • Run from terminal:
    • Countdown timer: tm 10s, tm 25m, tm 1h30m
    • Study session: tm --study (tracks across sessions, resets daily)
    • Train session: tm --train (tracks across sessions, resets daily)
  • Daily study/train totals saved in ~/.tm_timer/data.json
  • Tables and statistics:
    • tm --studystatus / tm --trainstatus → show daily table and Standard Deviation
    • tm --tables → export tables.md
  • Statistics:
    • Average daily hours
    • Standard Deviation of daily hours
    • Status report (Very Good / Good / Not Good)
  • Controls:
    • Press p to pause/resume
    • Press q to quit early
  • Supports human durations like 2h45m30s
  • Simple, no graphical BLOAT.

Installation:

sudo apt install pipx       # if not installed
pipx install tm-timer       # to install tm-timer
pipx ensurepath             # to add tm to PATH
exec $SHELL                 # reload shell

#or run locally with using cli.py
python3 cli.py 3h40m

Example Usage: bash Copy code tm --study

Timer starts, press 'q' to stop, progress saved daily

tm --studystatus

Shows study table and stats

tm --tables

Exports study/train tables as tables.md

⏱ tm preview:

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

tm_timer-2.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

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

tm_timer-2.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file tm_timer-2.0.tar.gz.

File metadata

  • Download URL: tm_timer-2.0.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for tm_timer-2.0.tar.gz
Algorithm Hash digest
SHA256 0479a925d0dd33d1afc2060bdebb6632e20e25d157449ed0861428962e2880fc
MD5 3eda1afda166b9f3c0125d90922bb24a
BLAKE2b-256 4c85bcde72cbe01682a1f4d3bf859fe5c0147e7b6f48da01b81f7c992f1d3411

See more details on using hashes here.

File details

Details for the file tm_timer-2.0-py3-none-any.whl.

File metadata

  • Download URL: tm_timer-2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for tm_timer-2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9ac09255192c2d23c1644baa9bc8bc554c1c202b86f41c86b873ff4ceb7a2781
MD5 10bf5f0341b6200e39a4277c10560559
BLAKE2b-256 68e0b01afbc6ecef35f35cf4a67c65757ee794e20c937635c20d04aa28b76639

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