Skip to main content
Help improve PyPI by participating in a 5-minute user interface survey!

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

Release history Release notifications

History Node

0.3.0

History Node

0.2.2

This version
History Node

0.2.1

History Node

0.2

History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
salary-timetracker-0.2.1.tar.gz (4.7 kB) Copy SHA256 hash SHA256 Source None Jan 3, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page