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
- Install diffhouse with pip:
pip install diffhouse
- Import the
Repoclass in Python:
from diffhouse import Repo
- Create a
Repoinstance with the git repository URL as an argument. Commit data will automatically be loaded into itscommitsproperty as a pandasDataFrame:
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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb26f3c18e8d0acf0e00e0903cb48e4a6d6fcbf778263be7693a18f2731980b6
|
|
| MD5 |
6b5acc01e20bb7ac2393064dd6ec7394
|
|
| BLAKE2b-256 |
f9f7d37ca6f57a8fbca142be402c43c7de00a688ac067474525eee6ebdcb76f5
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ddc823ed7510265e0a649f615347ac55f97486107ae44510bd2762d013dc3da
|
|
| MD5 |
9f81a457a0d3914b87123a8a162bfb07
|
|
| BLAKE2b-256 |
704780003adf5fc270ca490b88dac30e0d67e07e6598d76fbe4de5732c9fa968
|