Skip to main content

work

Test status Deploy Status Go Reference Arch User Repsoitory PyPI Go Report Card

work is a stupid simple time tracker.

A typical work-day might look like,

$ work task "First task of the day"

$ work task "Second task of the day" --chore

$ work list
08:29 - 10:20   Chore   Second task of the day  2h 51min
08:19 - 08:29   Work    First task of the day   0h 10min

$ work status
Current task: "Second task of the day"
Type: Chore
Duration: 2h 51min

$ work stop

$ work report
2024-12-01      3h 01min (Total)
                2h 51min (Chore)
                0h 10min (Work)


Week Total:     3h 01min

Usage

To begin a task,

work task "Starting my first task"

Tasks have 1 of 4 possible classifications:

  • Chore
  • Break
  • Toil
  • Work

The default is Work and the others are enabled by their respective flag. For example, to create a Break task,

work task --break "Going for lunch"

The previous task will end when a new task begins. Similarly, a task can be stopped explicitly with,

work stop

work status, work list, and work report are available to analyze current and previous tasks.

Shutdown and Notification services

Optionally, install systemd user services which notify you when you're not tracking any tasks and stop any running tasks on system shutdown.

To install and enable the services,

work install

They can be disabled with,

work uninstall

Autocomplete

work provides autocomplete for bash, fish, powershell and zsh shells. For example, to enable autocomplete for the bash shell,

work completion bash | sudo tee /etc/bash_completion.d/work > /dev/null

Note: this does require the bash-completion package is installed.

For more information, see work completion <shell> --help for your respective <shell>.

Install

AUR:

work is available from the Arch User Repository.

yay -S work

pip:

work is available as a pypi package.

pip install work-bin

go:

go install github.com/jmelahman/work@latest

github:

Prebuilt packages are available from Github Releases.

Metadata

Release files for work-bin 1.0.12

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

Built distributions (wheels)

Table of built distributions (wheels) for work-bin 1.0.12
File
work_bin-1.0.12-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details
work_bin-1.0.12-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
work_bin-1.0.12-py3-none-manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details
work_bin-1.0.12-py3-none-manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details
work_bin-1.0.12-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details
work_bin-1.0.12-py3-none-macosx_10_12_x86_64.whl Python 3 none macOS 10.12+ x86-64 Details
work_bin-1.0.12-py3-none-any.whl Python 3 none any Details

Total release size: 15.5 MB

Release files / work_bin-1.0.12-py3-none-win_arm64.whl

Download URL work_bin-1.0.12-py3-none-win_arm64.whl
Size 1.9 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
f13cf4f053db6076f4507dece179d8674041aa74e57f021725b5abfeda66fe66
BLAKE2b-256 checksum
How to use checksums
ac44f34f1a0a9f64b66d5cee8c4f8c87fb2946b7d5a14b2e557b55317b0bfb12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.5.13

Release files / work_bin-1.0.12-py3-none-win_amd64.whl

Download URL work_bin-1.0.12-py3-none-win_amd64.whl
Size 2.1 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
d8ba7a013cc03d1f2c9d6dda64d99c38be45f0b1cfa54dccbb6f72d715c3255b
BLAKE2b-256 checksum
How to use checksums
ed3388d849ad54cec18a13ab0b10f8f69feccb2135b1e9839c3f137d87847a11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.5.13

Release files / work_bin-1.0.12-py3-none-manylinux_2_17_x86_64.whl

Download URL work_bin-1.0.12-py3-none-manylinux_2_17_x86_64.whl
Size 2.8 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
ee3b7bef10c0c6737ee542f42b8d6a14b029772de5aa21611282ffe314a509c5
BLAKE2b-256 checksum
How to use checksums
68b7f2fe35ad50660cf2fac294e7d9ef8ca1ced94ead09bf69be71854684fe6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.5.13

Release files / work_bin-1.0.12-py3-none-manylinux_2_17_aarch64.whl

Download URL work_bin-1.0.12-py3-none-manylinux_2_17_aarch64.whl
Size 1.9 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
b7576001ba3c1f881f56e219ebe82d240fe9afb1350202c9a9b049628b451e86
BLAKE2b-256 checksum
How to use checksums
93535551b16cdb6e40743d5d2f534e487af00eb3ec2d432baa075249948b94f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.5.13

Release files / work_bin-1.0.12-py3-none-macosx_11_0_arm64.whl

Download URL work_bin-1.0.12-py3-none-macosx_11_0_arm64.whl
Size 1.9 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e725336660730ab12f2539a13dbd792b604fd245cec9c3d73bebe2671a2c1354
BLAKE2b-256 checksum
How to use checksums
63f28ea4be163cde2be06813b6da3714c9a47c445ce830b03306a228ba18820c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.5.13

Release files / work_bin-1.0.12-py3-none-macosx_10_12_x86_64.whl

Download URL work_bin-1.0.12-py3-none-macosx_10_12_x86_64.whl
Size 2.1 MB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
de361406dec41eb4a13711fe324dc74270d3bbb16623833734bfeb8b545b066d
BLAKE2b-256 checksum
How to use checksums
8b6a1d9146d3774f7a9acec51f9f42cbcd6ed2fb83be0c3586307fc4dfed64c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.5.13

Release files / work_bin-1.0.12-py3-none-any.whl

Download URL work_bin-1.0.12-py3-none-any.whl
Size 2.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
165d396a1633856c26065269b9736347ef96b314a29664e246df885d45c9161a
BLAKE2b-256 checksum
How to use checksums
88c26c247b8272077628e69869062b6a4da7ebe06b30b5c9e0b6399bd7e5acc9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.5.13

Release history Release notifications | RSS feed

This release

1.0.12 This release

7 release files

1.0.10

2 release files

1.0.9

1 release file

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