Skip to main content

my clock

Project description

version: 0.1.6

MyClock is a simple and “programmable” clock program.

Build Status

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 {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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

my_clock-0.1.7.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

my_clock-0.1.7-py2.py3-none-any.whl (6.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file my_clock-0.1.7.tar.gz.

File metadata

  • Download URL: my_clock-0.1.7.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for my_clock-0.1.7.tar.gz
Algorithm Hash digest
SHA256 275fd7ab5f0ec616bc6704bd430cd5d456f127bb4eb7e2515ca65401273899a2
MD5 c062cd852681c406f20d63eca43203f6
BLAKE2b-256 14361d30725f42d6a23912f04a8f3afba5c63401e5b52e9c74974db365055dad

See more details on using hashes here.

File details

Details for the file my_clock-0.1.7-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for my_clock-0.1.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5a46d730af8ef206ce89f5ad551d3e3a6dfc0828fefb46f6c15ec14599b0e7c2
MD5 f4e27ddaa66f8133cacf1c8475937011
BLAKE2b-256 511c0e0aebe23388b7beb94b0fdf7e6c08a1e36c290f67f4bd542523e5218646

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page