Skip to content

haranrk/timey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyPI version

Timey

Timey is a simple cli timer that helps you keeep track of your life. It's written in python.

Requirements

Python >= 3.6

Installation

The package is uploaded on PyPi. Therefore, it can be installed with the following command

pip install timey

Usage

timey [command] [tag]

command can be any of the following:

  1. start - Starts a new timer for tag.

  2. tick - Outputs the how long the current session has been running for.

  3. stop - Stops the timer.

  4. resume - Starts a new session for tag.

  5. summarise - Summarises all the sessions for tag. If tag is not specified, it summarises for all tags present in the current day's log.

tag can be any string.

The logs are stored on a day-by-day-basis. The following is a sample usage of the app

$ timey start algo-hw
New session for new tag: algo-hw.
Current time is 21:00.

Two hours later

$ timey tick algo-hw
2h 0m 0s elapsed.
Started at 21:00.

$ timey stop algo-hw
Session for algo-hw stopped. Last run ran for 2h 0m 00s.

$ timey start gaming
New session for new tag: gaming.
Current time is 23:00.

$ timey summarise
Summary for algo-hw
1. 21:00 2h 0m 00s
Total time spent - 2h 0m 00s

Summary for gaming
1. 23:00 0h 0m 10s - running
Total time spent - 0h 0m 10s

About

A cli timer made in python that tracks time

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages