Skip to main content

(시계) A simple command-line program for tracking time.

Project description

sigye (시계)

A simple, command-line time tracking program.

Overview

sigye (시계 Korean for clock) is a CLI program to help you track your time. With sigye, there are basic operations:

  • start (start tracking time towards a project)
  • stop (stop tracking time)
  • status (get the current status)
  • edit (edit a time entry record using the current default EDITOR)
  • list (list entries)
    • can filter entries by time range ("today", "week", "month") or fixed start and end dates.
    • can filter entries by project name(s) or a project starts with.
    • can filter entries by tags name(s).

The default storage of time entries is a YAML file (near future will be sqlite support). Using YAML makes manual editing of the entire file possible using any editor.

Installation

Via uv

uv tool install sigye

Via pipx

pipx install sigye

Usage

Default Storage of Entries

By default, entries are stored in a YAML file at: $HOME/.sigye/time_entries.yml

To override this value, you can add --filename <date_filename> on every command to override adhoc.

To override this value for a environment, you can set the environment variable SIGYE_DATA_FILENAME to whatever value you'd like and that will become the default.

[!IMPORTANT]
Make sure the directory exists before overriding.

Start tracking

sigye start <project-name> "<optional comment>" --tag "optional_tag"

Check status

sigye status

Stop tracking

sigye stop

List Entries

List All Entries

sigye list

List Filtered Entries

All entries from a named time frame (options: today, week and month):

sigye list TIMEFRAME

All entries for a certain project (or list of projects)

sigye list --project abc-1234 --project abc-1233

Entries that "start with" a project name (note: you can use + or . or *):

sigye list --project abc+

All entries with any tag matching a tag or multiple tags:

sigye list --tag mytag

Edit Entries

To edit an entry, use the full or partial ID (just has to be enough digits for it to be unique among your time entry file or data). By default, sigye shows the first 4 digits from an entry ID.

sigye edit ID

Localization Support (experimental Korean output)

To get output in Korean: export SIGYE_LOCALE=ko_KR

The sigye list and sigye status commands will output some information in Korean.

[!NOTE] This work is ongoing and subject to change.

Development

Install requirements

This project uses uv for dependency management.

Running tests

uv run pytest

Future Changes

  • Configuration file support
    • YAML
    • TOML
  • Language Localization (in-progress)
  • SQLite storage
  • TOML storage

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

sigye-0.4.1.tar.gz (23.3 kB view details)

Uploaded Source

Built Distribution

sigye-0.4.1-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file sigye-0.4.1.tar.gz.

File metadata

  • Download URL: sigye-0.4.1.tar.gz
  • Upload date:
  • Size: 23.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.29

File hashes

Hashes for sigye-0.4.1.tar.gz
Algorithm Hash digest
SHA256 87f8312b92a8134e9a3b76780942c1f9c6067a12351fe5e4f03ecdfc808058fc
MD5 5a4fb23a31aee8d7156a3e325d9035c0
BLAKE2b-256 5e803df9c80355f43fb4a8c57fd7b1ca1e3e6b81acf9e254fd10bcad0c477c80

See more details on using hashes here.

File details

Details for the file sigye-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: sigye-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 15.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.29

File hashes

Hashes for sigye-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c4ff50ecd75aa34bd630d61a0b954c352f671c3ae02a05ac33d070fceb720556
MD5 866c9e7d72a55f261a89011db903dc73
BLAKE2b-256 69f2cc6103aaebcad350e38557ffd2520762066229715833639b63b5c012bbb1

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