A pretty command line tool to calculate the number of Pomodori available between two points in time.
Project description
Pomodoro Calculator
A command line tool to calculate the number of Pomodoros available between two points in time.
Installation
You can install the Pomodoro Calculator using pip:
$ pip install pomodoro-calculator
Usage
Use the get-pomodori
command from the shell to run Pomodoro Calculator:
$ get-pomodori --help
Calculate the number of Pomodori available within a time period.
Usage:
get-pomodori [--pomodoro=<time>] [--from=<time>] [--break=<minutes>] [--long-break=<minutes>]
[--group=<pomodori>] [--interval] [--json] [--nocolour] [--amount] [--extensive-report] <end-time>
get-pomodori (-h | --help | --version)
Options:
--version show program's version number and exit.
-h, --help show this help message and exit.
-i, --interval specify that the end time is a time interval, not a time of day.
-f, --from=<time> calculate available Pomodori from this time [default: now].
-b, --break=<minutes> the amount of minutes between each Pomodori [default: 5].
-l, --long-break=<minutes> the amount of minutes between every four Pomodori [default: 15].
-p, --pomodoro=<minutes> the amount of minutes for every pomodoro session [default: 25].
-g, --group=<pomodori> the amount of pomodori before a long break [default: 4].
-j, --json output the pomodori schedule in JSON format.
-n, --nocolour do not colourise the output.
-a, --amount specify that the end time is the number of pomodoros you desire to do, not the time of a day.
-x, --extensive-report also write total break time and total session time.
Licence
Copyright © 2023 Matthew Stevens, released under the ISC Licence.
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
Built Distribution
File details
Details for the file pomodoro-calculator-1.0.4.tar.gz
.
File metadata
- Download URL: pomodoro-calculator-1.0.4.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07605d3efc793859ab48e89da9fe4cb82d732e96ac5a4023422514e63fbdc40b |
|
MD5 | be6082d201f70e12cffbd8994395dd32 |
|
BLAKE2b-256 | a9128f884dd5584f2aeaf9db003ec60e93f392bce47942ceae6d4754feaaaf34 |
File details
Details for the file pomodoro_calculator-1.0.4-py2.py3-none-any.whl
.
File metadata
- Download URL: pomodoro_calculator-1.0.4-py2.py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 037823751b1da828f3b5d21498b5d9afeeb986ad822797d475552ed2be378691 |
|
MD5 | b872a4d1c0ab5b433ee181514cdaac7b |
|
BLAKE2b-256 | b1933d6a4352337a853c1f9885c4fa8c579125e938ba9234bcaf0052eb91096c |