Skip to main content

Commit history analysis library.

Project description

diffhouse

diffhouse is a commit history analysis tool for Python. It extracts tabular commit data from a git repository via git log.

diffhouse currently provides data for main-branch commits only.

Requirements

Git version 2.19 or greater.

Quick start

  1. Install diffhouse with pip:
pip install diffhouse
  1. Import the Repo class in Python:
from diffhouse import Repo
  1. Create a Repo instance with the git repository URL as an argument. Commit data will automatically be loaded into its commits property as a pandas DataFrame:
r = Repo('https://github.com/user/name.git')
r.commits.head()

Schema

diffhouse commit history tables have the following structure:

Column Description
commit_hash Full hash of the commit.
author_name Author username.
author_email Author email.
author_date Commit creation date.
committer_name Committer username.
committer_email Committer email.
committer_date Commit apply date.
subject Subject line of the commit message.
body Body of the commit message.

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

diffhouse-0.0.1.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

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

diffhouse-0.0.1-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file diffhouse-0.0.1.tar.gz.

File metadata

  • Download URL: diffhouse-0.0.1.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for diffhouse-0.0.1.tar.gz
Algorithm Hash digest
SHA256 bb26f3c18e8d0acf0e00e0903cb48e4a6d6fcbf778263be7693a18f2731980b6
MD5 6b5acc01e20bb7ac2393064dd6ec7394
BLAKE2b-256 f9f7d37ca6f57a8fbca142be402c43c7de00a688ac067474525eee6ebdcb76f5

See more details on using hashes here.

File details

Details for the file diffhouse-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: diffhouse-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for diffhouse-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0ddc823ed7510265e0a649f615347ac55f97486107ae44510bd2762d013dc3da
MD5 9f81a457a0d3914b87123a8a162bfb07
BLAKE2b-256 704780003adf5fc270ca490b88dac30e0d67e07e6598d76fbe4de5732c9fa968

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