Skip to main content

exclock is a cui extended timer.

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.

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対応

    • [ ] ‘Error: No available formula with the name “vlc“‘対応

  • [x] 0病後にSoundが指定されていた場合 そのSoundのとき tqdmを使わない

  • [x] プログレスバーの出力をいい感じにする

  • [ ] Add n variable

  • [x] secの変数名を_secというようにする

  • [x] KeyboardInteraptのエラー処理を書く

  • [ ] is_bgm flag

  • [ ] poetry導入

  • [ ] setup.pyでPipenvのpackagesを使うようにする

  • [ ] 指定された時間になったらタイマーを発火させるコマンドを追加

  • [ ] 真面目にdocumentを書く

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

Uploaded Source

Built Distributions

exclock-0.1.6-py3.8.egg (184.4 kB view details)

Uploaded Source

exclock-0.1.6-py3-none-any.whl (178.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: exclock-0.1.6.tar.gz
  • Upload date:
  • Size: 69.8 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.6.tar.gz
Algorithm Hash digest
SHA256 c55965898ab9f70e8cf59fef9d03e51c36dd0d0d889a0d9aeb3cc666bdd40db3
MD5 75410418f72f288781f220f2109369d6
BLAKE2b-256 6f32e1211cf712227c6243bbbcf9c79f17758d8712dafc542facb76540ad8ceb

See more details on using hashes here.

File details

Details for the file exclock-0.1.6-py3.8.egg.

File metadata

  • Download URL: exclock-0.1.6-py3.8.egg
  • Upload date:
  • Size: 184.4 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.6-py3.8.egg
Algorithm Hash digest
SHA256 a7ef7bddfd1b5c2dacb00e1557993bd6279f31ff525027776d6a6db9b085b5bc
MD5 cc147e11f7a7014fbd85dc9053b85715
BLAKE2b-256 aa54c1df078f27c35bf6f8f87e3af6bd9856767007ebe4ad6067399315a97fd3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: exclock-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 178.6 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 0d9e51b50cfc38cb55cb24800145be424850c26d7746e3e3239d31f9507190d6
MD5 dd26d176baab6463be48cb759c1e8ca0
BLAKE2b-256 1a1527409a785d86d32a791755d6da5ddb71a64594a83e9c81609377b680ebef

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