Skip to main content

exclock is a cui extended timer for mac OS.

Project description

https://gitlab.com/yassu/exclock/badges/master/pipeline.svg https://gitlab.com/yassu/exclock/badges/master/coverage.svg

exclock is a cui extended timer for mac OS.

Required

  • vlc

  • notify for * Windows 10 * MaxOS 10 >= 10.10 * Linux with libnotify

Usage

$ exclock {json5-filename}

Example

{
  "message": "Pomodoro",
  "sounds": {
    "0": {
      "message": "Begin Working! {count}-1",
      "sound_filename": "silent.mp3",
    },
    "25m":{
    "message": "It's time to finish work. Let's time a break.",
    "sound_filename": "warning.mp3",
  },
    "30m":{
    "message": "It's time to finish the break. Let's start work. {count}-2",
    "sound_filename": "warning.mp3",
  },
    "55m":{
    "message": "It's time to finish work. Let's time a break.",
    "sound_filename": "warning.mp3",
  },
  "60m": {
    "message": "It's time to finish the break. Let's start work. {count}-3",
    "sound_filename": "warning.mp3",
  },
  "85m": {
    "message": "It's time to finish work. Let's time a break.",
    "sound_filename": "warning.mp3",
  },
  "90m": {
    "message": "It's time to finish the break. Let's start work. {count}-4",
    "sound_filename": "warning.mp3",
  },
  "115m": {
    "message": "It's time to finish work. Let's time a long break.",
    "sound_filename": "warning.mp3",
  },
  "145m": {
    "message": "",
    "sound_filename": "silent.mp3",
  },
 },
  "loop": 2
}

LICENSE

Apache 2.0

Todo

  • Icon作成

    • [ ] アイコン作成

    • [ ] プロジェクトのアイコンをそれにする

    • [ ] notifyのデフォルトのアイコンもそれにして 変更できるようにする

  • [ ] 環境にあるclock一覧を表示するコマンドを追加

  • Exception対応

    • [x] 音声ファイルがない場合

    • [x] mainに与える引数の形式が違うとき

    • [x] json5ファイルがない場合

    • [x] json5ファイルがloadできないとき

    • [x] 与えられたjson5ファイルの形式のvalidation

  • [x] json5ファイルがフォーマット上正しいことのテストを追加

  • [ ] poetry導入

  • [ ] tox使ってみる

  • [ ] 真面目にdocumentを書く

  • [-] black導入

  • [x] 3.json5作成

  • [x] 5.json5作成

  • [x] Clockを表すファイルで自動的にloadされるディレクトリを設定する

  • [x] Soundを表すファイルで自動的にloadされるディレクトリを設定する

  • [x] clockからmessageの項目を削除

  • [x] inv testの出力をいい感じにする

  • [x] package_dataとか整える

  • バッジを出す

    • [x] build passing or not

    • [x] coverage

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

exclock-0.1.3.0.tar.gz (68.3 kB view details)

Uploaded Source

Built Distribution

exclock-0.1.3.0-py3-none-any.whl (176.1 kB view details)

Uploaded Python 3

File details

Details for the file exclock-0.1.3.0.tar.gz.

File metadata

  • Download URL: exclock-0.1.3.0.tar.gz
  • Upload date:
  • Size: 68.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for exclock-0.1.3.0.tar.gz
Algorithm Hash digest
SHA256 02bbea83279a1dadc05987ed8b7c05c520c624b54df1f4031f20b567d9b53f0e
MD5 945b04ea33e60eb301e0afec5caac741
BLAKE2b-256 824de9d0c00e0c3b2d2bf91d8fde069b25d152a8a2b2ec5e2ff594848dcb77dc

See more details on using hashes here.

File details

Details for the file exclock-0.1.3.0-py3-none-any.whl.

File metadata

  • Download URL: exclock-0.1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 176.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for exclock-0.1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9ce208bc9c62454ad6f89c501d01e0dbde5d26e1ff84172456a7f09923248e2a
MD5 ba7a4717d05aaced1698a1a5022659d3
BLAKE2b-256 92c8ddd6470118ed047f1d1825601ced020b0cdeaae95eb140c30f7c5a48446c

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