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.2.tar.gz (9.0 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.2-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gitpowerdash-0.1.2.tar.gz
  • Upload date:
  • Size: 9.0 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.2.tar.gz
Algorithm Hash digest
SHA256 1cbf9c25efd7f3355f189a68409cc5cbf74c3e790001d39535847decf60f9b3f
MD5 ed49b4ef5d05bc4fab8ec31c2b97d0c4
BLAKE2b-256 61dff6aba603827cb2a25b157ab21510311383d8bfea85d33c838d75dea01557

See more details on using hashes here.

Provenance

The following attestation bundles were made for gitpowerdash-0.1.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: gitpowerdash-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 10.0 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 66cd62af58d41e17bcb6a093c38ddea599c992176142aac5b2197990eac52656
MD5 da4b4fe1a4fd7bd81c13a5d2492e1ec5
BLAKE2b-256 7e2042b7fb4f1515209938a3422136a9688812bb34ed494fcfe5b28dd2acd27e

See more details on using hashes here.

Provenance

The following attestation bundles were made for gitpowerdash-0.1.2-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