Code Monkey home page Code Monkey logo

arbeitszeit's Introduction

⏱️ 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]

arbeitszeit's People

Contributors

david-haerer avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.