{"repo":"SagarBiswas-MultiHAT/PyAlarmClock","free":true,"listed":false,"github":"https://github.com/SagarBiswas-MultiHAT/PyAlarmClock","clone":"git clone https://github.com/SagarBiswas-MultiHAT/PyAlarmClock.git","description":"PyAlarmClock — a focused, testable Python CLI alarm that accepts HH:MM:SS AM/PM input, displays a live time table while waiting, and plays a sound (default alarm.mp3). Windows uses MCI/wave playback; other platforms fall back to a console beep. Supports one-shot or repeating rings and includes pytest tests.","language":"Python","stars":11,"topics":["alarm-clock","audio","cli","python","testing","windows","automation","productivity","scheduler","utilities"],"license":null,"category":"cli-tools","readme_excerpt":"Python Alarm Clock A small, focused alarm clock that waits for a specific time and then plays a sound. It is optimized for Windows (using winsound for .wav files) and otherwise uses Windows MCI to support files like alarm.mp3 . What This Project Does - Set a time in HH:MM:SS AM/PM format. - Show live time updates while waiting. - Play a sound at the exact second the alarm triggers. - Play mp3-ready sounds via Windows MCI (and fall back to a console beep). - Stop cleanly with Ctrl+C . --- --- Quick Start (No Install) Make sure you have a sound file named alarm.mp3 (or your preferred .mp3/.wav ) in the project root, then run: You will be prompted for a time like 07:30:00 AM . Full Install (Recommended) Run the CLI with an mp3 sound file (default alarm.mp3 ): Or: CLI Options Sound File - The default sound path is alarm.mp3 in the current working directory (Windows falls back to alarm.wav if provided). - You can pass a .wav or any supported .mp3 / .wav using --sound path/to/alarm.mp3 . - If the file is missing, the app prints a warning and uses a short console beep. Project Structure Design Notes - Core logic is in alarm clock.core to keep it testable. - The CLI is a thin layer that validates inputs and manages the loop. - Platform-specific sound playback is isolated behind a single function. Testing Tests focus on time parsing and trigger logic to keep them stable across platforms. CI (GitHub Actions) The workflow in .github/workflows/python-ci.yml runs tests on Ubuntu for Pytho","default_branch":null,"files":null,"tree":[],"storefront":"/r/SagarBiswas-MultiHAT","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/SagarBiswas-MultiHAT/PyAlarmClock/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}