Skip to main content

my clock

Project description

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


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.1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

my_clock-0.1.1-py2.py3-none-any.whl (5.2 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for my_clock-0.1.1.tar.gz
Algorithm Hash digest
SHA256 119781dc8ef14d94a6bbe64b1290a1cf897e011c17084370f2227266fa8ad01f
MD5 01e3435c2eb4022328572958ad9ce331
BLAKE2b-256 f1dff8194b48af161ba155f86205b2b5ee5a28d1401ef8a5152a85684e396ad9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for my_clock-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8671f9864479a5fa6f575ed235ed8041f54356f1c8f404f7b62e5ba7ab5dff34
MD5 76366894f365ac80202ab2e37b09a05b
BLAKE2b-256 6a58c887c34c26fdf90afe93deec95ec03d8aac398a0e432b2778208c9546936

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