A Geeky Timer for Terminal Enthusiasts
Project description
Overview
MyTimer is a Python project that aims to provide a simple yet efficient timer for terminal users, particularly targeting the geek community. This project allows users to set timers directly from their command line interface, making it convenient for those who spend a significant amount of time working in the terminal!
The main objective of MyTimer is to offer a minimalistic and distraction-free timer experience. It provides a clean and straightforward interface, ensuring that users can focus solely on tracking time without any unnecessary clutter or distractions.
PyPI Counter | |
Github Stars |
Branch | main | dev |
CI |
Code Quality |
Installation
Source Code
- Download Version 1.8 or Latest Source
pip install .
PyPI
- Check Python Packaging User Guide
pip install mytimer==1.8
Usage
⚠️ You can use mytimer
or python -m mytimer
to run this program
Version
mytimer --version
Basic
⚠️ Press Ctrl + C
to exit
mytimer
Time Limit
mytimer --minute=7 --second=30
mytimer --hour=2 --minute=20
Timer Mode
⚠️ The default mode is countdown
mytimer --minute=7 --second=30 --countdown
mytimer --minute=7 --second=30 --countup
Repeat
⚠️ The default value is 1
mytimer --repeat=3 --second=4
- Use
--repeat=-1
for infinite loop
Alarm
⚠️ This mode may not be supported on all systems
mytimer --minute=7 --second=30 --alarm
Alarm Repeat
⚠️ The default value is 1
mytimer --minute=7 --second=30 --alarm --alarm-repeat=5
Tone
⚠️ The default tone is 1
mytimer --minute=7 --second=30 --alarm --tone=2
- Use
--tone=-1
for random mode - Tones List
Face
mytimer --minute=7 --second=30 --face=3
- Use
--face=-1
for random mode - Faces List
mytimer --faces-list
Vertical/Horizontal Shift
⚠️ The vertical and horizontal shift both have default values of 0
mytimer --v-shift=20 --h-shift=30
Timer Sign
⚠️ Valid choices: [""
, "+"
, "-"
]
mytimer --sign="+"
Keep on
In this mode, the timer will continue running after it times out
mytimer --minute=5 --keep-on
Set on
⚠️ Local time
In this mode, the timer sets on the given time. For example, here we set a timer for 15:05
.
mytimer --hour=15 --minute=5 --set-on
Program
mytimer --program=black-tea
- Programs List
mytimer --programs-list
Message
mytimer --minute=7 --second=30 --message="Test message"
Screen Record
Issues & Bug Reports
Just fill an issue and describe it. We'll check it ASAP!
- Please complete the issue template
References
1- Mixkit Free Alarm Sound Effects
2- Online Timer
3- Media College
4- Pomodoro Technique
5- The Rule of 52 and 17: It's Random, But it Ups Your Productivity
6- Desktime’s Productivity Research: An Overview of Our Finds Throughout the Years
7- AnimeDoro Timer
8- Know Your Tea: Your Guide to Tea Steeping Time
9- How Long to Steep Tea: A Complete Guide
10- How Long to Steep French Press: Mastering the Perfect Brew
11- Freesound
Show Your Support
Star This Repo
Give a ⭐️ if this project helped you!
Donate to Our Project
Bitcoin
1KtNLEEeUbTEK9PdN6Ya3ZAKXaqoKUuxCyEthereum
0xcD4Db18B6664A9662123D4307B074aE968535388Litecoin
Ldnz5gMcEeV8BAdsyf8FstWDC6uyYR6pgZDoge
DDUnKpFQbBqLpFVZ9DfuVysBdr249HxVDhTron
TCZxzPZLcJHr2qR3uPUB1tXB6L3FDSSAx7Ripple
rN7ZuRG7HDGHR5nof8nu5LrsbmSB61V1qqBinance Coin
bnb1zglwcf0ac3d0s2f6ck5kgwvcru4tlctt4p5qefTether
0xcD4Db18B6664A9662123D4307B074aE968535388Dash
Xd3Yn2qZJ7VE8nbKw2fS98aLxR5M6WUU3sStellar
GALPOLPISRHIYHLQER2TLJRGUSZH52RYDK6C3HIU4PSMNAV65Q36EGNLZilliqa
zil1knmz8zj88cf0exr2ry7nav9elehxfcgqu3c5e5Coffeete
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Unreleased
1.8 - 2024-10-23
Added
- 5 new tones
- Face random mode
- Tone random mode
get_face
functionget_tone
function
Changed
show_faces_list
function updatedREADME.md
updated- Test system modified
Python 3.13
added totest.yml
1.7 - 2024-10-09
Added
- 2 new programs
mate
french-press
- 9 new tones
Changed
README.md
updated
1.6 - 2024-08-30
Added
- 2 new programs
puer-tea
purple-tea
--set-on
argument
Changed
- Default mode changed from
count-up
tocountdown
white-tea
program duration changed from10
minutes to3
minutes
1.5 - 2024-08-12
Added
- 2 new programs
rooibos-tea
yellow-tea
--keep-on
argument
Changed
README.md
updated- Programs message updated
1.4 - 2024-07-15
Added
- 1 new program
mid-break
--repeat
argument--sign
argument
Changed
long-break
program duration changed from15
minutes to30
minutesREADME.md
updated
1.3 - 2024-05-23
Added
- 1 new program
animedoro
two_step_timer
functionprint_message
functionSECURITY.md
Changed
- Test system modified
nava
added torequirements.txt
- Sound playing system updated
- Python 3.5 dropped
short-break
program duration changed from10
minutes to5
minuteslong-break
program duration changed from30
minutes to15
minutespomodoro
program updatedpomodoro_timer
function modifiedload_params
function modifiedREADME.md
updated
Removed
animedoro_timer
function_112_26_timer
function_52_17_timer
function
1.2 - 2024-02-05
Added
feature_request.yml
templateconfig.yml
for issue template- 2 new programs
52-17
112-26
Changed
- Bug report template modified
run_timer
function modified
1.1 - 2023-12-20
Added
- 1 new program
pomodoro
Changed
TIME_PRINT_TEMPLATE
changedKeyboardInterrupt
exit handling updatedADDITIONAL_INFO
added to argparser epilogPython 3.12
added totest.yml
1.0 - 2023-11-08
Added
--programs-list
argument--faces-list
argument--v-shift
argument--h-shift
argumentDEFAULT_PARAMS
parameterPROGRAMS_DEFAULTS
parameterload_program_params
function
Changed
japanese-green-tea
program bug fixedREADME.md
updated
0.9 - 2023-10-04
Added
- 4 new faces
- 4 new programs
work
short-break
long-break
noodle
Changed
PROGRAMS.md
updated
0.8 - 2023-08-07
Added
- Logo
--alarm-repeat
argument
Changed
- Tones length modified
README.md
updated
0.7 - 2023-07-23
Added
--tone
argumentTONES.md
- 9 new tones
Changed
- Test system modified
input_check
decorator renamed toinput_handler
countup_timer
function inputs modifiedcountdown_timer
function inputs modifiedPROGRAMS.md
updatedFACES.md
updated
0.6 - 2023-07-04
Added
--program
argumentPROGRAMS.md
run_timer
function
Changed
- Inputs type changed to
int
README.md
updatedWRONG_INPUT_ERROR
renamed toINPUT_ERROR_MESSAGE
- Alarm tone changed
0.5 - 2023-05-25
Added
- 5 new faces
--message
argument
Changed
play_sound
function modifiedplaysound
removed fromrequirements.txt
README.md
updated
0.4 - 2023-02-10
Added
- 4 new faces
- Infinite timer mode
Changed
README.md
updated- Parameters moved to
params.py
0.3 - 2022-11-25
Added
--face
argumentFACES.md
Changed
README.md
updated- Minimum
art
library version changed from1.8
to2.9
0.2 - 2022-11-03
Added
--version
flag
Changed
- Test system modified
countdown_timer
function modifiedcountup_timer
function modified
0.1 - 2022-10-18
Added
- Countdown mode
- Count-up mode
- Alarm
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mytimer-1.8.tar.gz
.
File metadata
- Download URL: mytimer-1.8.tar.gz
- Upload date:
- Size: 4.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0509df9693cc9d450a631af8bc7d65040292fa7650b14fbc7ecbbda47c0a65ea |
|
MD5 | d95f84e00da653b3fda9e275a53f88b5 |
|
BLAKE2b-256 | d67c0bbeccdd0817a59929f6553fddb68818282f46796c70a17d3932c291f52e |
File details
Details for the file mytimer-1.8-py3-none-any.whl
.
File metadata
- Download URL: mytimer-1.8-py3-none-any.whl
- Upload date:
- Size: 4.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9133611d77ca89c2940b180535220e9b7fbcfd3880989ea93b4eea1cfad578e |
|
MD5 | 140c77f762da1fb36716a7e714b5e1c6 |
|
BLAKE2b-256 | 5b160be7705b74b6103e56b6e397a5c1644a7efc9c085dc402b8a7064e727c7f |