Analyze your GitHub commit history and generate your Engineer Personality Diagnosis
Project description
git-persona
GitHubのコミット履歴からエンジニアの仕事スタイルを16タイプに診断するCLIツール。
Analyze your GitHub commit history and discover your Engineer Personality Diagnosis.
╭────────────────────────────────────────────────────────────────╮
│ │
│ 🕵️ The Shadow Debugger [SNRT] │
│ │
│ Midnight, minimal messages, maximum fixes. You materialise │
│ in the git log like a ghost, resolve the issue, and vanish │
│ before anyone asks questions. │
│ │
│ Verdict: Forensics teams would love your diffs. │
│ Your commit messages, not so much. │
│ │
╰────────────────────────────────────────────────────────────────╯
インストール / Installation
pip install git-persona-cepi
使い方 / Usage
GitHubトークンの取得
- https://github.com/settings/tokens を開く
- Generate new token (classic) をクリック
repoスコープにチェックを入れてトークンを発行- 発行されたトークン(
ghp_で始まる文字列)をコピー
gh CLI を使っている場合はトークン不要です。
gh auth login済みならgit-persona analyzeだけで動きます。
基本の使い方
# 自分のアカウントを診断(プライベートリポジトリも含む)
git-persona analyze --token ghp_XXXXXXXXXX
# gh CLI でログイン済みならトークン不要
git-persona analyze
# 日本語で出力
git-persona analyze --lang ja
# 他のユーザーを診断
git-persona analyze --username torvalds
# 全コミット履歴を対象にする(デフォルトは直近90日)
git-persona analyze --deep
# JSON形式で出力
git-persona analyze --output json
診断タイプ / Personality Types
4つの軸から16タイプを判定します:
| 軸 | 左極 | 右極 |
|---|---|---|
| S/B | Surgeon(小さく精密なコミット) | Bulldozer(大きな変更セット) |
| M/N | Morning Lark(昼型) | Night Owl(夜型) |
| P/R | Pioneer(新機能志向) | Repairman(修正・保守志向) |
| V/T | Verbose(詳細なメッセージ) | Terse(簡潔なメッセージ) |
例:SNRT = Shadow Debugger、BMPV = Bold Visionary、BNPT = Caffeine-Powered Steamroller
オプション一覧 / Options
--token TEXT GitHubパーソナルアクセストークン
--username TEXT 診断対象のGitHubユーザー名(省略時: 自分)
--days INTEGER 分析対象の日数 [デフォルト: 90]
--deep 全コミット履歴を対象にする(--days を無視)
--no-cache キャッシュを使わず最新データを取得
--output [terminal|json] 出力形式 [デフォルト: terminal]
--lang [en|ja] 出力言語 [デフォルト: en]
--timezone TEXT 時間分析に使うタイムゾーン(例: Asia/Tokyo)
--no-color カラー出力を無効にする
License
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
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
File details
Details for the file git_persona_cepi-0.1.1.tar.gz.
File metadata
- Download URL: git_persona_cepi-0.1.1.tar.gz
- Upload date:
- Size: 39.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af10e9ba6754de09cb4fb922bc311f80d4150d8763cb59675d38556585e70a62
|
|
| MD5 |
1aae30e8ed3d559dd81d14ab5e7a0d71
|
|
| BLAKE2b-256 |
6716431c3846b72ba587ddad77c96c7982befbe0ce29c26c6252f77a505a124f
|
File details
Details for the file git_persona_cepi-0.1.1-py3-none-any.whl.
File metadata
- Download URL: git_persona_cepi-0.1.1-py3-none-any.whl
- Upload date:
- Size: 31.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
226e32eb302c73cae130c5dde881964b02260efc4da6af4cff227242c54060a6
|
|
| MD5 |
cf0773fcc42e69aafa6676c1fe76cea6
|
|
| BLAKE2b-256 |
1e25ae5bb27030fb3786f054dba142f7cdf384b8699507017cd3ed6fb00af8e4
|