Skip to main content

Killtimer - do more working less!

This utility helps limit the amount of time devoted to work by keeping track of clearly defined work periods. It's like a timer which cannot be stopped but will kill the passed command forcing the user to finish the job.

This may sound counterintuitive, but a lot of studies show that limiting time for a task forces the person to use the time more effectively.

Features

  • CLI interface
  • Three configurable effort levels:
    • Minimal
    • Work
    • Overtime
  • Keep track of user-provided command and kill it if it has been running too long (after overtime)
  • Utilizes desktop notifications to inform users about the finished period
  • Optionally can play a sound when minimal effort/work period is done
  • Allow storing amount of work done as CSV file for further analysis

Install

$ pip install [--user] killtimer

Usage

Screencast

usage: killtimer [-h] [-m duration] [-w duration] [-o duration] [-l log_file] [-t title] [-s sound_file] [command [command ...]]

Close application when time runs out

positional arguments:
  command               Executable (with arguments) to run (default: None)

optional arguments:
  -h, --help            show this help message and exit
  -m duration, --minimal-effort duration
                        Minimal work duration (default: 0:10:00)
  -w duration, --work duration
                        Proper work duration (default: 1:00:00)
  -o duration, --overtime duration
                        Overtime duration (default: 0:15:00)
  -l log_file, --log log_file
                        Log file where to store amount of work done (default: None)
  -t title, --title title
                        Title to display above progress bars and configuration (default: None)
  -s sound_file, --sound sound_file
                        Sound file to play when minimal effort or work period is reached (default: None)

Usually you would want to create alias in your *rc file like:

alias blender-work="killtimer -m 10m -w 1h -o 10m -t 'Creative work' -l /path/to/worklog.csv blender"

Metadata

Release files for killtimer 0.5.0

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

Source distribution (sdist)

Source distribution for killtimer 0.5.0
File Size Uploaded Provenance Actions
killtimer-0.5.0.tar.gz 6.1 kB Without provenance Details for killtimer-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for killtimer 0.5.0
File Interpreter ABI Platform Actions
killtimer-0.5.0-py3-none-any.whl Python 3 none any Details for killtimer-0.5.0-py3-none-any.whl

Total release size: 13.9 kB

Release files / killtimer-0.5.0.tar.gz

Download URL killtimer-0.5.0.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
90f69f034e89bf8a3f44cd0ac1b8ade06d09e1d755eb13e6256b6fd8323ec444
BLAKE2b-256 checksum
How to use checksums
886f1d210282fd762dce8b72d25e2cefde8a696eef2b7e6adae785c604a53444
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / killtimer-0.5.0-py3-none-any.whl

Download URL killtimer-0.5.0-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9ea30aee14bbc12752c3dd2dc6cf1db07829231e40eb2f8e3ec8a9cb6e76db21
BLAKE2b-256 checksum
How to use checksums
b74ff5d1633b3d355751db906fb3df0f4ad2b0f4e33504090a5fccacc622e5f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for killtimer 0.5.0

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.

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