my clock
Project description
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
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: set configure filename string default: “~/.clock.json”
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
Hashes for my_clock-0.1.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec9c6bae0043a8b95bbc0d80e139f393565babc15c011b00be47290110782db6 |
|
MD5 | 32a6b09b2cbb766eab616e56979544d3 |
|
BLAKE2b-256 | 926dbdb0cef1e069a42eb6b4d5b00be13b5a745e66b4c61d18d141154d111e08 |