Skip to main content

A command line tool for TimeTagger. This is a more feature-rich and ergonomic fork of the original timetagger-cli, providing better user experience and additional features.

Project description

(Better) TimeTagger CLI

Track your time with TimeTagger from the command line.

This is a more feature-rich and ergonomic fork of the original timetagger-cli by Almar Klein, providing additional features and improved ergonomics.

What's new?

This project does everything that the original timetracker-cli did, but it adds some great features and usibility improvements - batteries included!
See how they compare:

better-timetagger-cli timetagger-cli
Start Tasks
adjustable time
and more...
Stop Tasks
adjustable time
and more...
Resume Tasks
adjustable time
simplified UX for record selection
and more...
Display Status
includes breakdown per tag
Show Records
filter by tags
optional summary or summary-only
live monitoring
and more...
Diagnose & Fix Record Errors
Export to CSV
Import from CSV
includes dry-run mode to validate CSV files
Colored Output
Natural language support
use phrases like '5 min ago', 'last Friday' or 'May 12'
Configurable date/time format
Command aliases
t in and t out, are an alias for t start and t stop
Command shortcuts
Abbreviate commands like t out to t o

Installation

The TimeTagger CLI requires Python 3.10 or higher. Install with your favorite Python package manager, e.g.:

pipx install better-time-tagger

You can now use the CLI as either timetagger or simply t.

t --version
#  (Better) TimeTagger CLI, version X.X.X

Migrating from timetagger_cli

This project is a drop-in replacement for the original timetagger-cli package. You should first remove the original package from your system, then install better-timetagger-cli.

pipx uninstall timetagger-cli
pipx install better-timetagger-cli

Then run the setup command, to automatically migrate your existing timetagger configuration.

t setup
#  Migrating legacy configuration to new format...
#  TimeTagger config file: /path/to/config.toml

Configuration

Before using the CLI for the first time, you must configure the URL of your TimeTagger server, along with your API key. To update the configuration, simply run:

t setup

This will open the configuration file in your default editor. The first time you run this command, a default configuration file will be created automatically. Also, if an exsting configuration file from the original timetagger-cli pacage is found, it is migrated automatically.

Contribute

To report bugs or request features, please file a github issue on this repository.

Pull-Requests are welcome too. Please always file a github issue first.

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

better_timetagger_cli-0.1.1.tar.gz (71.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

better_timetagger_cli-0.1.1-py3-none-any.whl (34.9 kB view details)

Uploaded Python 3

File details

Details for the file better_timetagger_cli-0.1.1.tar.gz.

File metadata

File hashes

Hashes for better_timetagger_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 902b4e024a263c06e37f07ab66b54b6cfd08c3cd7f7453c5ddd329d7234d8e68
MD5 00f3cde48440adc113cb6e1ca638732d
BLAKE2b-256 1e1beb9ee78dc660902588e0ed587053369df851c8918c6d0bc17aa785e4d75a

See more details on using hashes here.

File details

Details for the file better_timetagger_cli-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for better_timetagger_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 08606574276e57b2b1c4f207db3834f4ce3fdfb5fbacc7aade226b9cccf58ed9
MD5 3d9530afeb9fbf5de0184e4a27c5bdf7
BLAKE2b-256 0dcd6afc48bb05d0a90d5d25d09dbcb302e0832d076974ecc2d360cb3f7914a8

See more details on using hashes here.

Supported by

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