Skip to content

A cli timer made on python that tracks time

License

Notifications You must be signed in to change notification settings

divyanshupundir/timey

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 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
Started timekeeping for algo-hw
Curent time is 21:21

Two hours later

$ timey tick algo-hw
2h 0m 00s

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

$ timey start gaming
Started timekeeping for gaming
Curent time is 21:21

$ timey summarise
Summary for algo-hw
1. 21:21 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 on python that tracks time

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%