Tomato Clock is a simple command line pomodoro app
Project description
🍅 Tomato Clock
Tomato Clock is a simple command line pomodoro app.
Pomodoro 番茄工作法 https://en.wikipedia.org/wiki/Pomodoro_Technique
Installation
Install python from https://www.python.org/
- Install via pip:
$ pip install tomato-clock
- Install via source code:
$ git clone https://github.com/coolcode/tomato-clock.git
$ cd tomato-clock
$ chmod +x tomato.py
How to use
- if you install via pip
$ tomato # start a 25 minutes tomato clock + 5 minutes break
$ tomato -t # start a 25 minutes tomato clock
$ tomato -t <n> # start a <n> minutes tomato clock
$ tomato -b # take a 5 minutes break
$ tomato -b <n> # take a <n> minutes break
$ tomato -h # help
- if you install via source code
$ ./tomato.py # start a 25 minutes tomato clock + 5 minutes break
$ ./tomato.py -t # start a 25 minutes tomato clock
$ ./tomato.py -t <n> # start a <n> minutes tomato clock
$ ./tomato.py -b # take a 5 minutes break
$ ./tomato.py -b <n> # take a <n> minutes break
$ ./tomato.py -h # help
Terminal Output
🍅 tomato 25 minutes. Ctrl+C to exit
🍅🍅---------------------------------------------- [8%] 23:4 ⏰
Desktop Notification
- MacOS
$ brew install terminal-notifier
terminal-notifier
actually is a cross-platform desktop notifier, please refer to ➜ terminal-notifier
- Ubuntu
notify-send
Voice Notification
We use say
(text-to-speech) for voice notification
- MacOS
MacOS already has say
. see here or more detail
- Ubuntu
see this link: say
sudo apt-get install gnustep-gui-runtime
Package & Publish
pip install setuptools wheel twine
rm -rf dist && python setup.py sdist bdist_wheel
twine upload dist/*
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tomato-clock-0.0.10.tar.gz
(4.3 kB
view hashes)
Built Distribution
Close
Hashes for tomato_clock-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd5fc860b0eba7710e2bd096b8fdbe8fdc9cabc51290dbe1000f8e611325617a |
|
MD5 | a6c23d68d1f8d01c4d57a4960508f0b4 |
|
BLAKE2b-256 | 4e0901f52f018c42ad1bb5dafca426ea0f5af51b766e2107d9440105f1ac738b |