Skip to main content

Analyze your GitHub commit history and generate your Engineer Personality Diagnosis

Project description

git-persona

Analyze your GitHub commit history and discover your Engineer Personality Diagnosis.

GitHubのコミット履歴からエンジニアの仕事スタイルを16タイプに診断するCLIツール。

╭────────────────────────────────────────────────────────────────╮
│                                                                │
│  🕵️  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

Usage

# Analyze your own account (includes private repos)
git-persona analyze --token YOUR_GITHUB_TOKEN

# Use GITHUB_TOKEN env var or gh CLI — no --token needed
git-persona analyze

# Analyze another user
git-persona analyze --username torvalds

# Full history (ignore the default 90-day window)
git-persona analyze --deep

# Japanese output
git-persona analyze --lang ja

# JSON output
git-persona analyze --output json

Getting a GitHub Token

  1. Go to https://github.com/settings/tokens
  2. Generate a new token (classic) with repo scope
  3. Pass it via --token or set GITHUB_TOKEN env var

Personality Types

16 types across 4 axes:

Axis Left pole Right pole
S/B Surgeon (small, precise commits) Bulldozer (large changesets)
M/N Morning Lark (daytime coder) Night Owl (late-night coder)
P/R Pioneer (new features) Repairman (fixes & maintenance)
V/T Verbose (detailed messages) Terse (concise messages)

Examples: SNRT = Shadow Debugger, BMPV = Bold Visionary, BNPT = Caffeine-Powered Steamroller

Options

--token TEXT        GitHub personal access token
--username TEXT     GitHub username to analyze (default: authenticated user)
--days INTEGER      Days of history to analyze [default: 90]
--deep              Analyze full commit history (ignores --days)
--no-cache          Bypass local cache and fetch fresh data
--output [terminal|json]  Output format [default: terminal]
--lang [en|ja]      Output language [default: en]
--timezone TEXT     Timezone for time analysis (e.g. Asia/Tokyo)
--no-color          Disable colored output

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

git_persona_cepi-0.1.0.tar.gz (39.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

git_persona_cepi-0.1.0-py3-none-any.whl (31.5 kB view details)

Uploaded Python 3

File details

Details for the file git_persona_cepi-0.1.0.tar.gz.

File metadata

  • Download URL: git_persona_cepi-0.1.0.tar.gz
  • Upload date:
  • Size: 39.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.1

File hashes

Hashes for git_persona_cepi-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4afd335c3457d82acbe9eb974c30bc5ae46a25936f1890d414edbb7e5d346990
MD5 6937759696d495d880f542c5d3b71fbe
BLAKE2b-256 7348d34f0fa97c8f93081fdb4ccab22e23d81502f4d39091abb3b6d909e2931e

See more details on using hashes here.

File details

Details for the file git_persona_cepi-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for git_persona_cepi-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9b7d3747ac042796210ea1373d9698be17e899b9890ddbb7e0eba12350fb71cb
MD5 5f31aec221f490eeadecd50f7b17ec11
BLAKE2b-256 7ed49b0f033c33027af33ae0f756c4bd426e57f06606c203a25b70897b766b76

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page