Skip to main content

Track your worktime.

Project description

⏱️ Arbeitszeit

Track your worktime.

Motivation

I wrote this CLI tool to track my worktime and make it easy to enter it in Workday.

Installation

pipx install arbeitszeit
# or
pip install --user arbeitszeit

Usage

For all time values, the app uses 24:00 format.

Optional: Set the storage file path

By default the app will use $HOME/.config/arbeitszeit/arbeitszeit.txt.

arbeitszeit config path path/to/your/arbeitszeit.txt

Optional: Set your daily worktime

By default the app will assume 8 hours.

arbeitszeit config worktime 06:00

Optional: Edit your config

You can edit your config.yaml with your default $EDITOR.

arbeitszeit config edit

Record the start of your worktime

By default the app will use the current time.

arbeitszeit start
# or
arbeitszeit start 09:00

Record the end of your worktime

By default the app will use the current time.

arbeitszeit stop
# or
arbeitszeit stop 17:00

Edit your worktime records

You can edit your arbeitszeit.txt with your default $EDITOR.

arbeitszeit edit

The entries have the following format:

Day YYYY-MM-DD HH:MM HH:MM 

If a time value is undefined, it will show --:--.

Show your worktime records

Aggregate all worktime records in an overview by week and day:

arbeitszeit log

The output will have the following format:

2023W46: 15:00 [-01:00]
  Thu 2023-11-16: 08:15 [+00:15]
  Fri 2023-11-17: 06:45 [-01:15]

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

arbeitszeit-0.1.4.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

arbeitszeit-0.1.4-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file arbeitszeit-0.1.4.tar.gz.

File metadata

  • Download URL: arbeitszeit-0.1.4.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.0 CPython/3.11.2 Linux/6.1.0-13-amd64

File hashes

Hashes for arbeitszeit-0.1.4.tar.gz
Algorithm Hash digest
SHA256 a07fe220a9193f16bb51b68f0047d9f32beeb39352abcc147ba795da8b719d6f
MD5 27de97c3e151bb0bfe99791e36b4b101
BLAKE2b-256 13427fc57edd1d4661784a8617aba73e20e4209ec60a2c60f1f264b58891bc6c

See more details on using hashes here.

File details

Details for the file arbeitszeit-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: arbeitszeit-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.0 CPython/3.11.2 Linux/6.1.0-13-amd64

File hashes

Hashes for arbeitszeit-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 117003bc253a438406e47186604cb14330b0b9d760aa1e81889c83015437902a
MD5 e9cfd5802f50bdf6cb6bf69937a9c897
BLAKE2b-256 8cb734fd3cbb2620938ceb6e26cd0ded2b44a412c7518d5f53198103acfe9905

See more details on using hashes here.

Supported by

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