A high-precision desktop alarm clock with a clean, responsive interface.
Features Β· How It Works Β· Installation
Py-Clock Pro is a lightweight, multithreaded desktop application built with Python. It provides a seamless user experience by separating the clock logic from the graphical interface, ensuring the app remains responsive even while the alarm is active.
- β Live Digital Display: A real-time, second-accurate clock synchronized with your system time.
- π§΅ Multithreaded Execution: Uses the
threadinglibrary to prevent the window from freezing while waiting for the alarm. - π‘οΈ Input Validation: Built-in safeguards to prevent invalid time settings.
- π Professional UI: A dark-themed, minimalist design built entirely with Tkinter.
- π Native Alerts: Uses system-level notification logic for immediate awareness.
The application operates on a dual-thread system:
- Main Thread: Handles the Window, buttons, and time selection menus.
- Background Thread: Runs a continuous
whileloop that compares the current time to the user's set time every 1000ms.
# 1. Clone the repository
git clone [https://github.com/YOUR_USERNAME/PY-Clock-PRO.git](https://github.com/YOUR_USERNAME/PY-Clock-Pro.git)
# 2. Enter the project folder
cd PY-Clock-PRO
# 3. Run the application
python main.pyWe β€οΈ contributions! Whether you're fixing a bug or suggesting a new feature, feel free to dive in.
- Find an Issue: Or open a new one to discuss your ideas.
- Style Guide: Please keep the code clean .
- Be Kind: We follow a basic code of conduct - be helpful and respectful!