勤怠管理CLIツール
Project description
kintai
日本時間(JST)で動作する個人用勤怠管理CLIツール。出退勤の記録・修正・月次サマリー生成をターミナルから行えます。
インストール
pipx install kintai
pipxがない場合:pip install pipxまたはbrew install pipx
使い方
kintai in # 出勤打刻
kintai out # 退勤打刻
kintai status # 現在の勤務状態を確認
kintai summary # 今月の勤怠サマリーを表示
記録の修正
kintai edit --date 2025-01-10 --in 09:30 --out 19:00
特定月のサマリー
kintai summary --month 2025-01
クリップボードにコピー(Markdown形式)
kintai summary --copy
記録の削除
kintai delete --date 2025-01-10
データ保存先
勤怠データは ~/.kintai/records.json に保存されます。
KINTAI_DATA_DIR 環境変数でパスを変更できます。
日またぎ勤務
深夜勤務など日付をまたぐ場合も自動で検出します(最大3日前まで未退勤の出勤記録を検索)。
kintai in # 例: 22:00 に実行
# 翌日
kintai out # 例: 07:00 に実行 → 9時間の勤務として記録
要件
- Python 3.10 以上
ライセンス
MIT
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
kintai-0.2.0.tar.gz
(23.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
kintai-0.2.0-py3-none-any.whl
(12.0 kB
view details)
File details
Details for the file kintai-0.2.0.tar.gz.
File metadata
- Download URL: kintai-0.2.0.tar.gz
- Upload date:
- Size: 23.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d8922f3f65cfc1e9dfa3773ec3f68a0dd75b51cb4be3742260588182b01708f
|
|
| MD5 |
58c2c82e621a8d072b6d4f036cd0fea3
|
|
| BLAKE2b-256 |
4f543bfc6f2f573ea54277345513da7c80b8809ce850d1f3fd1b626268085133
|
File details
Details for the file kintai-0.2.0-py3-none-any.whl.
File metadata
- Download URL: kintai-0.2.0-py3-none-any.whl
- Upload date:
- Size: 12.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c83d9be85fc1ff9703ff4ed2a88227df4c43f03831fd0d10cc34a923022065e3
|
|
| MD5 |
32501047a7fbc0eb56eab3ed8f7e9b9f
|
|
| BLAKE2b-256 |
811f340f16fe5ef91fa8950138f185a1133e6eb7697e1e4f0d644a5e7c4c8806
|