Skip to content

Latest commit

 

History

History
57 lines (37 loc) · 1.39 KB

File metadata and controls

57 lines (37 loc) · 1.39 KB

Star Badge Open Source Love

Pomodoro Timer

🛠️ Description

A simple command-line Pomodoro timer to help you stay focused. It follows the Pomodoro Technique — work for 25 minutes, take a 5 minute break, and after every 4 sessions take a longer 15 minute break. All times are customizable.

⚙️ Languages or Frameworks Used

You only need Python 3 to run this script. No extra libraries needed — it uses only built-in modules (time, os, sys).

You can visit here to download Python.

🌟 How to run

Start with default settings (25 min work / 5 min break / 15 min long break / 4 sessions):

python pomodoro.py

Use custom times (all values in minutes):

python pomodoro.py 25 5 15 4
Arguments: [work_time] [short_break] [long_break] [number_of_sessions]

Stop anytime with Ctrl + C.

📺 Demo

==============================
  POMODORO TIMER
==============================

  Work:        25 min
  Short break: 5 min
  Long break:  15 min
  Sessions:    4

Press Enter to start session 1/4...

Session 1/4 - WORK
==============================
  Time left: 24:37

🤖 Author

Kaligotla Sri Datta Sai Vithal