exclock is a cui extended timer.
Project description
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
Todo
Icon作成
[ ] アイコン作成
[ ] プロジェクトのアイコンをそれにする
[ ] notifyのデフォルトのアイコンもそれにして 変更できるようにする
[ ] 環境にあるclock一覧を表示するコマンドを追加
Exception対応
[x] 音声ファイルがない場合
[x] mainに与える引数の形式が違うとき
[x] json5ファイルがない場合
[x] json5ファイルがloadできないとき
[x] 与えられたjson5ファイルの形式のvalidation
[ ] ‘Error: No available formula with the name “vlc“‘対応
[x] json5ファイルがフォーマット上正しいことのテストを追加
[ ] poetry導入
[x] tox使ってみる
[ ] 真面目にdocumentを書く
[-] black導入
[x] 3.json5作成
[x] 5.json5作成
[x] Clockを表すファイルで自動的にloadされるディレクトリを設定する
[x] Soundを表すファイルで自動的にloadされるディレクトリを設定する
[x] clockからmessageの項目を削除
[x] inv testの出力をいい感じにする
[ ] is_bgm flag
[ ] Add n variable
[ ] 1秒ごとにログに吐くようにする(Soundのmessageも一緒に)
[ ] 指定された時間になったらタイマーを発火させるコマンドを追加
[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
Built Distribution
File details
Details for the file exclock-0.1.4.tar.gz
.
File metadata
- Download URL: exclock-0.1.4.tar.gz
- Upload date:
- Size: 68.5 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04ae4f4875f80467a22f5277df7e014822d09c33f7666052c5921954970db2db |
|
MD5 | 68f5be92d5219b72dedd5ca2a1a2107c |
|
BLAKE2b-256 | fe6c9d51cd89bd394dbf9b0a7dd82195d7181de15915e9b53012b4d2e3bc9f50 |
File details
Details for the file exclock-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: exclock-0.1.4-py3-none-any.whl
- Upload date:
- Size: 176.2 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 121a7cc4df0da7229df0c0ceb512ad93ddb3bd6ab0b078b754db0877199e7157 |
|
MD5 | dfe4e7ce06c532c234d01890166a8c81 |
|
BLAKE2b-256 | 5faccc21ea0cbc6231911d8de74b67a7a23c858c22c702e06d641b4075dc3cfe |