Skip to main content

Git analytics specifically for Power BI projects

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

GitPowerDash

Empowering Executive Oversight through Git Analytics for Power BI.

gitpowerdash is a lightweight Python CLI and library designed to bridge the gap between technical development history and executive-level project management. It extracts Git repository metadata into a structured format optimized for Power BI's star schema.

🚀 The Value Proposition

Traditional Git viewers are built for developers. gitpowerdash is built for Decision Makers. By integrating this data into Power BI, you can:

  • Visualize Velocity: Correlate commit frequency with project milestones.
  • Identify Volatility: Spot "hot" files or modules that change too frequently.
  • Mitigate Knowledge Silos: See which team members are the sole contributors to critical components.
  • Scale with Fabric: Use as a local CLI or import directly into Microsoft Fabric Notebooks.

🛠️ Installation

gitpowerdash is built with uv and is available via PyPI.

pip install gitpowerdash
# OR using pipx for a global CLI
pipx install gitpowerdash

📖 Usage

CLI (Local Development)

Navigate to any Git repository and run the extraction. By default, this will create an export/ directory containing the CSV files for your Power BI dashboard.

gitpowerdash extract --output ./export

Library (Fabric / Python)

You can also use the core logic directly in Python scripts or Fabric Notebooks to write data directly to a Lakehouse.

from gitpowerdash import get_commits, get_file_changes

# Returns a Pandas DataFrame
commits_df = get_commits()
changes_df = get_file_changes()

📊 Data Model

The CLI generates two primary tables linked by the SHA (Commit ID).

Table Purpose Key Columns
commits_fact.csv High-level "Who, When, What" SHA, Author, Date, Subject
file_changes_fact.csv Granular "Where and How Much" SHA, FilePath, Insertion, Deletion

📋 Recommended Power BI Setup

  1. Load: Import both CSVs into Power BI Desktop.
  2. Relate: Create a One-to-Many relationship from commits_fact[SHA] to file_changes_fact[SHA].
  3. Analyze: Use a Treemap visual with FilePath for size (by Insertions) to identify the most active parts of your codebase.

License

Distributed under the MIT License. See LICENSE for more information.


✨ Contributors

  • George Bennett - City of Memphis Wastewater

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

gitpowerdash-0.1.1.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

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

gitpowerdash-0.1.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file gitpowerdash-0.1.1.tar.gz.

File metadata

  • Download URL: gitpowerdash-0.1.1.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for gitpowerdash-0.1.1.tar.gz
Algorithm Hash digest
SHA256 fa378929c34b409d447f56bb361e6a58b3a939bc92da9ade56c8d2390efdf6a8
MD5 6fa0a14c9e14f5a8e8fb0a3b544ac09e
BLAKE2b-256 9358488ae816890231c21f1c36e815b84d23718d345c5c738b891b648c0b1056

See more details on using hashes here.

Provenance

The following attestation bundles were made for gitpowerdash-0.1.1.tar.gz:

Publisher: publish.yml on City-of-Memphis-Wastewater/gitpowerdash

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gitpowerdash-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: gitpowerdash-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for gitpowerdash-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bdd9354c58d4dee0fbaa4e76238ae10b259042736f92793b431e60842f98a86c
MD5 ac44bcc4cf30aae9cb4b31af2fcbc0ff
BLAKE2b-256 0afb9d77cf50243782f9bd4459ce76ce5c0271314dcabd820142b8d115857b06

See more details on using hashes here.

Provenance

The following attestation bundles were made for gitpowerdash-0.1.1-py3-none-any.whl:

Publisher: publish.yml on City-of-Memphis-Wastewater/gitpowerdash

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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