A stupid simple time tracker
Project description
work
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:
ChoreBreakToilWork
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file work_bin-1.0.12-py3-none-win_arm64.whl.
File metadata
- Download URL: work_bin-1.0.12-py3-none-win_arm64.whl
- Upload date:
- Size: 1.9 MB
- Tags: Python 3, Windows ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.5.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f13cf4f053db6076f4507dece179d8674041aa74e57f021725b5abfeda66fe66
|
|
| MD5 |
c50e196f61e05999695bb04cdac34476
|
|
| BLAKE2b-256 |
ac44f34f1a0a9f64b66d5cee8c4f8c87fb2946b7d5a14b2e557b55317b0bfb12
|
File details
Details for the file work_bin-1.0.12-py3-none-win_amd64.whl.
File metadata
- Download URL: work_bin-1.0.12-py3-none-win_amd64.whl
- Upload date:
- Size: 2.1 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.5.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8ba7a013cc03d1f2c9d6dda64d99c38be45f0b1cfa54dccbb6f72d715c3255b
|
|
| MD5 |
7ece4a32b43a806eb63aee794f983b3b
|
|
| BLAKE2b-256 |
ed3388d849ad54cec18a13ab0b10f8f69feccb2135b1e9839c3f137d87847a11
|
File details
Details for the file work_bin-1.0.12-py3-none-manylinux_2_17_x86_64.whl.
File metadata
- Download URL: work_bin-1.0.12-py3-none-manylinux_2_17_x86_64.whl
- Upload date:
- Size: 2.8 MB
- Tags: Python 3, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.5.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee3b7bef10c0c6737ee542f42b8d6a14b029772de5aa21611282ffe314a509c5
|
|
| MD5 |
53f32846ab5803dd6b09ea4373104b4f
|
|
| BLAKE2b-256 |
68b7f2fe35ad50660cf2fac294e7d9ef8ca1ced94ead09bf69be71854684fe6a
|
File details
Details for the file work_bin-1.0.12-py3-none-manylinux_2_17_aarch64.whl.
File metadata
- Download URL: work_bin-1.0.12-py3-none-manylinux_2_17_aarch64.whl
- Upload date:
- Size: 1.9 MB
- Tags: Python 3, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.5.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7576001ba3c1f881f56e219ebe82d240fe9afb1350202c9a9b049628b451e86
|
|
| MD5 |
1a781f67bbfea1618c91c99b98ce2ef1
|
|
| BLAKE2b-256 |
93535551b16cdb6e40743d5d2f534e487af00eb3ec2d432baa075249948b94f0
|
File details
Details for the file work_bin-1.0.12-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: work_bin-1.0.12-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.9 MB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.5.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e725336660730ab12f2539a13dbd792b604fd245cec9c3d73bebe2671a2c1354
|
|
| MD5 |
1a5960f959c04a9811a432fe36a90814
|
|
| BLAKE2b-256 |
63f28ea4be163cde2be06813b6da3714c9a47c445ce830b03306a228ba18820c
|
File details
Details for the file work_bin-1.0.12-py3-none-macosx_10_12_x86_64.whl.
File metadata
- Download URL: work_bin-1.0.12-py3-none-macosx_10_12_x86_64.whl
- Upload date:
- Size: 2.1 MB
- Tags: Python 3, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.5.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de361406dec41eb4a13711fe324dc74270d3bbb16623833734bfeb8b545b066d
|
|
| MD5 |
7538257de9a508f352d51fae577bf0f3
|
|
| BLAKE2b-256 |
8b6a1d9146d3774f7a9acec51f9f42cbcd6ed2fb83be0c3586307fc4dfed64c4
|
File details
Details for the file work_bin-1.0.12-py3-none-any.whl.
File metadata
- Download URL: work_bin-1.0.12-py3-none-any.whl
- Upload date:
- Size: 2.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.5.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
165d396a1633856c26065269b9736347ef96b314a29664e246df885d45c9161a
|
|
| MD5 |
4ea029ef59e7644aacdd717372f80bd0
|
|
| BLAKE2b-256 |
88c26c247b8272077628e69869062b6a4da7ebe06b30b5c9e0b6399bd7e5acc9
|