Skip to main content

A Geeky Timer for Terminal Enthusiasts

Project description

MyTimer: A Geeky Timer for Terminal Enthusiasts


PyPI version built with Python3

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 CodeFactor codebeat badge

Installation

Source Code

PyPI

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 count-up

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

Face

mytimer --minute=7 --second=30 --face=3

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="+"

Program

mytimer --program=black-tea

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

Show Your Support

Star This Repo

Give a ⭐️ if this project helped you!

Donate to Our Project

Bitcoin

1KtNLEEeUbTEK9PdN6Ya3ZAKXaqoKUuxCy

Ethereum

0xcD4Db18B6664A9662123D4307B074aE968535388

Litecoin

Ldnz5gMcEeV8BAdsyf8FstWDC6uyYR6pgZ

Doge

DDUnKpFQbBqLpFVZ9DfuVysBdr249HxVDh

Tron

TCZxzPZLcJHr2qR3uPUB1tXB6L3FDSSAx7

Ripple

rN7ZuRG7HDGHR5nof8nu5LrsbmSB61V1qq

Binance Coin

bnb1zglwcf0ac3d0s2f6ck5kgwvcru4tlctt4p5qef

Tether

0xcD4Db18B6664A9662123D4307B074aE968535388

Dash

Xd3Yn2qZJ7VE8nbKw2fS98aLxR5M6WUU3s

Stellar

GALPOLPISRHIYHLQER2TLJRGUSZH52RYDK6C3HIU4PSMNAV65Q36EGNL

Zilliqa

zil1knmz8zj88cf0exr2ry7nav9elehxfcgqu3c5e5

Coffeete

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.4 - 2024-07-15

Added

  • 1 new program
    1. mid-break
  • --repeat argument
  • --sign argument

Changed

  • long-break program duration changed from 15 minutes to 30 minutes
  • README.md updated

1.3 - 2024-05-23

Added

  • 1 new program
    1. animedoro
  • two_step_timer function
  • print_message function
  • SECURITY.md

Changed

  • Test system modified
  • nava added to requirements.txt
  • Sound playing system updated
  • Python 3.5 dropped
  • short-break program duration changed from 10 minutes to 5 minutes
  • long-break program duration changed from 30 minutes to 15 minutes
  • pomodoro program updated
  • pomodoro_timer function modified
  • load_params function modified
  • README.md updated

Removed

  • animedoro_timer function
  • _112_26_timer function
  • _52_17_timer function

1.2 - 2024-02-05

Added

  • feature_request.yml template
  • config.yml for issue template
  • 2 new programs
    1. 52-17
    2. 112-26

Changed

  • Bug report template modified
  • run_timer function modified

1.1 - 2023-12-20

Added

  • 1 new program
    1. pomodoro

Changed

  • TIME_PRINT_TEMPLATE changed
  • KeyboardInterrupt exit handling updated
  • ADDITIONAL_INFO added to argparser epilog
  • Python 3.12 added to test.yml

1.0 - 2023-11-08

Added

  • --programs-list argument
  • --faces-list argument
  • --v-shift argument
  • --h-shift argument
  • DEFAULT_PARAMS parameter
  • PROGRAMS_DEFAULTS parameter
  • load_program_params function

Changed

  • japanese-green-tea program bug fixed
  • README.md updated

0.9 - 2023-10-04

Added

  • 4 new faces
  • 4 new programs
    1. work
    2. short-break
    3. long-break
    4. 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 argument
  • TONES.md
  • 9 new tones

Changed

  • Test system modified
  • input_check decorator renamed to input_handler
  • countup_timer function inputs modified
  • countdown_timer function inputs modified
  • PROGRAMS.md updated
  • FACES.md updated

0.6 - 2023-07-04

Added

  • --program argument
  • PROGRAMS.md
  • run_timer function

Changed

  • Inputs type changed to int
  • README.md updated
  • WRONG_INPUT_ERROR renamed to INPUT_ERROR_MESSAGE
  • Alarm tone changed

0.5 - 2023-05-25

Added

  • 5 new faces
  • --message argument

Changed

  • play_sound function modified
  • playsound removed from requirements.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 argument
  • FACES.md

Changed

  • README.md updated
  • Minimum art library version changed from 1.8 to 2.9

0.2 - 2022-11-03

Added

  • --version flag

Changed

  • Test system modified
  • countdown_timer function modified
  • countup_timer function modified

0.1 - 2022-10-18

Added

  • Countdown mode
  • Count-up mode
  • Alarm

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

mytimer-1.4.tar.gz (608.2 kB view details)

Uploaded Source

Built Distribution

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

mytimer-1.4-py3-none-any.whl (596.2 kB view details)

Uploaded Python 3

File details

Details for the file mytimer-1.4.tar.gz.

File metadata

  • Download URL: mytimer-1.4.tar.gz
  • Upload date:
  • Size: 608.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for mytimer-1.4.tar.gz
Algorithm Hash digest
SHA256 b50d11a19ec59efae01f30fcc5604ca3f0021bb876606c41f6de3c938adac090
MD5 c0c8f6c4cf17ab3823681c67bd592dc6
BLAKE2b-256 ab5f06e335f498be096810a874188d6424c259ce28820e88bbbbabbd693eaca4

See more details on using hashes here.

File details

Details for the file mytimer-1.4-py3-none-any.whl.

File metadata

  • Download URL: mytimer-1.4-py3-none-any.whl
  • Upload date:
  • Size: 596.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for mytimer-1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1894744bc5b0941156bd466581a49a1f934c2196e3d9093b2ced02c3379fec6b
MD5 984cbb87113d93d2a6e0c167b0fb2f8e
BLAKE2b-256 f4e0acc2c194fe772dd20e94f86ff1ac1a67037e81bff7479a2589a8213f833e

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