The project "PomoWave" is a Pomodoro timer implementation written in Python.
I use this Pomodoro timer for work.
This timer is created to incorporate two distinctive features:
- Quick startup:
Many Pomodoro timers take a long time to start up due to dependencies.
However, this timer is designed to launch quickly. - Time ticking sound:
The ticking sound of a clock helps me stay focused and keep track of time,
especially when I get distracted.
The timer looks like below:
To download the repository, you have a few options
If you have Git installed on your system, you can clone the repository using
the following command in your terminal or command prompt:
# Clone repo via SSH
$ REPO_URL='git@github.com:linxuil/pomow.git'&&\
GOAL_DIR_NAME='pomow'&&\
git clone "${REPO_URL}" "${GOAL_DIR_NAME}"This will create a local copy of the repository on your machine.
Alternatively, you can download the repository as a ZIP file.
Simply navigate to the repository's page here and click on the "Code" button.
Then select "Download ZIP" to save the ZIP file to your computer.
After downloading, extract the contents of the ZIP file to access the repository files.
Installation or verification of two packages is required:
- Tkinter for the GUI
- Simpleaudio for audio playback. Documentation for Simpleaudio installation: https://simpleaudio.readthedocs.io/en/latest/installation.html
Tested on Ubuntu 23.10:
$ sudo apt-get install python3-tk
$ sudo apt-get install python3-pip
$ pip install --upgrade pip setuptools --break-system-packages
$ sudo apt-get install -y python3-dev libasound2-dev
$ pip install simpleaudio --break-system-packagesTo install Simpleaudio, you must first install the C++ Build Tools from the following link: https://visualstudio.microsoft.com/ru/visual-cpp-build-tools/
After downloading the "Visual Studio Installer" vs_BuildTools.exe.
Open "Visual Studio Installer" and select only the C/C++ checkbox.
After htis you can install simpleaudio without errors:
> pip install simpleaudioTry use python script via cmd without install:
$ cd pomow
$ ./pomowYou can install via pip in venv:
$ cd pomow
# Install venv if needed
$ sudo apt install python3-venv
# Create and activate venv in directory "venv"
$ VENV_DIR_NAME='venv'&&\
python3 -m venv "${VENV_DIR_NAME}"&&\
source venv/bin/activate
# Install module and check it
$ pip install -e .
$ pip list | grep pomow
# Try use console command
$ pomowThen you need exit from venv
$ deactivateUninstall packet via pip in venv:
$ pip uninstall pomowYou can create an EXE file on Windows using PyInstaller by following these steps:
- Add the following code at the end of the
pomow.pyfile:
if __name__ == "__main__":
main()- Build the EXE file using the following PowerShell commands:
> cd <!pomow_src_root_dir!>
> python -m PyInstaller --onefile --windowed --debug=all --add-data="src/*:src" pomow.pyAfterwards, navigate to the <!pomow_src_root_dir!>/dist directory to find the newly created pomow.exe
If you have a suggestion that would make this better,
please fork the repo and create a pull request.
You can also simply open an issue with the tag "enhancement".
Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/YouFeature) - Write any changes in code
- Add changes to index (
git add -A) - Commit your Changes (
git commit -m 'You description') - Push to the Branch (
git push origin feature/YouFeature) - Open a Pull Request on github
Distributed under the MIT License. See LICENSE.md for more information.
voiduin - voiduin@gmail.com
Project Link: https://github.com/voiduin/pomow
