Skip to main content

A simple and easy timetracker for loging working hours and automatic wage calculation.

Project description

A handy tool with a command line interface for logging time worked. At any time you can see how much you have spent time on a particular project and how much you have earned on it.

Features

  • Track-file with data on time costs is created in the root directory of the project’s git repository, which you are working on at the moment.

  • Data is saved in **CSV** format.

Requirements and restrictions

  • Git: The app will only work when you are inside a git repository.

  • Python 3: The application was not tested to work under Python 2.

Installation

pip install salary-timetracker

Usage

tt [-h] [-s] {log} ...

positional arguments:
  {log}
    log          Create a new timetracker log record with time and
                 comments(optional)

optional arguments:
  -h, --help     show this help message and exit
  -s, --summary  Show summary.
tt log [-h] minutes [comments [comments ...]]

positional arguments:
  minutes     Time in minutes spent on work.
  comments    Commens on the work done (optional)

optional arguments:
  -h, --help  show this help message and exit

The app settings can be changed through the configuration file, which should be located along the path: *~/.config/timetracker.conf*. And to have the following format:

[main]
# default settings
currency = 'USD'
hourly_rate = 20
default_comment = '' # comment when adding time
date_format = '%d %b %Y'
time_format = '%H:%M'
csv_delimiter =','

Examples

Show help:

tt -h

You have worked for 2 hours and want to write this down:

tt log 120 'I did this'
# Data was successfully added

Show summary:

tt -s
# Hours worked: 2.6 | Salary: 52 USD

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

salary-timetracker-0.6.tar.gz (5.8 kB view details)

Uploaded Source

File details

Details for the file salary-timetracker-0.6.tar.gz.

File metadata

  • Download URL: salary-timetracker-0.6.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for salary-timetracker-0.6.tar.gz
Algorithm Hash digest
SHA256 b37ee7477a76b629791c743f95309d42595a89c92e705e6e4e59b918eaca71a5
MD5 fd4d0f9cc84767470d266014dc17ac44
BLAKE2b-256 1c4484eb7cea67634f919ed571a84107f27d6ad38242f801258a8bd7ebe5dba9

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