Skip to main content

Simple Timer for Your Terminal

Project description

 __  __         _____  _                        
|  \/  | _   _ |_   _|(_) _ __ ___    ___  _ __ 
| |\/| || | | |  | |  | || '_ ` _ \  / _ \| '__|
| |  | || |_| |  | |  | || | | | | ||  __/| |   
|_|  |_| \__, |  |_|  |_||_| |_| |_| \___||_|   
         |___/                                  
 _  ____        _____  _  _         ____    __    
/ ||___ \   _  |___ / | || |    _  | ___|  / /_   
| |  __) | (_)   |_ \ | || |_  (_) |___ \ | '_ \  
| | / __/   _   ___) ||__   _|  _   ___) || (_) | 
|_||_____| (_) |____/    |_|   (_) |____/  \___/  

MyTimer

PyPI version built with Python3


Table of contents

Overview

Simple timer for your terminal!

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

Alarm

⚠️ This mode may not be supported on all systems

mytimer --minute=7 --second=30 --countdown --alarm

Tone

⚠️ The default tone is 1

mytimer --minute=7 --second=30 --countdown --alarm --tone=2

Face

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

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

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

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-0.7.tar.gz (597.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-0.7-py3-none-any.whl (590.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mytimer-0.7.tar.gz
  • Upload date:
  • Size: 597.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for mytimer-0.7.tar.gz
Algorithm Hash digest
SHA256 57b58087bca26cb1472c5071676226867393907fc6fa6e41c7d3e449278fd984
MD5 1521c0508f2fe2f421d4c3d060ab6da0
BLAKE2b-256 d866404bccd736bf24759b3f5f0ff1b0ba0506588d9281e21810631a87abdb09

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mytimer-0.7-py3-none-any.whl
  • Upload date:
  • Size: 590.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for mytimer-0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 546f77024ba55fb790257cf235df29ca0abb0a360be476790df4203f7f196fc3
MD5 9b1371742b122eccc2b5c28c25cfa1f7
BLAKE2b-256 06cdbe1a59b121020a8c4959641479accc140bfa7fe61962928ba2df219b5505

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