aimen-moten / pomodoro

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pomodoro Timer

Currently in Progress

The Pomodoro Timer is a time management tool that helps you stay focused and productive. It breaks your work into intervals (usually 25 minutes), separated by short breaks. This technique is known as the "Pomodoro Technique."

Constants

The Pomodoro Timer project uses the following constants:

  • PINK: A pink color code for UI elements.
  • RED: A red color code for UI elements.
  • GREEN: A green color code for UI elements.
  • YELLOW: A yellow color code for UI elements.
  • FONT_NAME: The font used in the user interface.
  • WORK_MIN: The duration of a work session in minutes (e.g., 25 minutes).
  • SHORT_BREAK_MIN: The duration of a short break in minutes (e.g., 5 minutes).
  • LONG_BREAK_MIN: The duration of a long break in minutes (e.g., 20 minutes).

Timer Reset

The project includes a timer reset mechanism.

Timer Mechanism

The project also implements the core timer mechanism for tracking work and break intervals.

Countdown Mechanism

Additionally, there is a countdown mechanism to manage time intervals.

UI Setup

The user interface is built using the Tkinter library and includes a canvas to display the timer.

How to Use

  1. Run the Pomodoro Timer program by executing the provided Python script.
python pomodoro.py

About


Languages

Language:Python 100.0%