my clock
Project description
version: 0.1.4
MyClock is a simple and “programmable” clock program.
Usage
my_clock [options] [times]
where [times] is a list of syntax of {num}s, {num}m, {num}h or {num}.
MyClock program spends 60 * 60 * h + 60 * m + s times and notice by popup.
How to install
% pip install my_clock
or
% python setup.py install
at root directory of this project.
Requirements
afplay
Options
–version: show program’s version number and exit
-h, –help: show this help message and exit
-g MESSAGE, –message=MESSAGE: set message string default: “MyClock”
-t TITLE, –title=TITLE: set title string. default: “MyClock”
-T TASK, –task=TASK: set task string default: “default”
-V, –verbose: verbose
-f {filename}, –conf-file {filename}: set configure filename string default: “~/.clock.json”
-r, –ring-bell: ring bell or not after timer
-l, –list: show task names
About Configure File
You can define configure in configure file for json5 format. Default configure file path is ~/.clock.json. You can change configure file path by –conf-file option.
For example,
{
"default": {
"title": "MyTitle",
"message": "MyMessage",
"time": ["3s"]
},
"pomodoro-job": {
"title": "Pomodoro Job",
"message": "finished",
"time": ["25m"]
},
"pomodoro-rest": {
"title": "Pomodoro Rest",
"message": "Rest is finished",
"time": ["5m"]
}
}
LICENSE
MIT
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 my_clock-0.1.4.tar.gz
.
File metadata
- Download URL: my_clock-0.1.4.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55dd6d8214b48da84ab3c5d3db8277ab916e01fa71dc6cba7b2b0197192bc5c8 |
|
MD5 | 36ce25714f4339fea60f5097f4210f33 |
|
BLAKE2b-256 | a429529a3040c4720e5945dd209cfc2731d1e6fbfa02a3f72e668e40a900c86d |
File details
Details for the file my_clock-0.1.4-py2.py3-none-any.whl
.
File metadata
- Download URL: my_clock-0.1.4-py2.py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ecd1319ac9c463cc069e4b63d9c581ae9f8f36f6f0d4fb1c521d00fa47e67c6 |
|
MD5 | f36b2bdce31afbe7e1b951bd0332223d |
|
BLAKE2b-256 | ffa4b515cd5ead2ac147fa67043d2dca625b00335bac17f33fcf95f2559a2654 |