Metadata extraction tool for git repositories.
Project description
diffhouse
diffhouse is a git metadata extraction tool for Python that retrieves high-quality repository information such as commit history, branches, tags and more.
Requirements
Git 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. Expect a few seconds of wait time as the repository metadata is extracted.
r = Repo(url='https://github.com/user/name.git')
- Access data through the following pandas
DataFrames:
| Table | Description |
|---|---|
Repo.commits |
Commit history. |
Repo.branches |
Branch names. |
Repo.tags |
Tag names. |
For a full list of metadata tables and columns, see the documentation.
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
diffhouse-0.1.0.tar.gz
(5.7 kB
view details)
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.1.0.tar.gz.
File metadata
- Download URL: diffhouse-0.1.0.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0cfdb42a90604867261d5e274a87374bb91dd8b61555e542f296f662581dc3a
|
|
| MD5 |
c7c7d3b15033bf4fea5e2feef3c6d6bf
|
|
| BLAKE2b-256 |
f4c97727f021dce751efe172fb9e84428e9fe2810e7b762f3edf35ee24c4ecf3
|
File details
Details for the file diffhouse-0.1.0-py3-none-any.whl.
File metadata
- Download URL: diffhouse-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.2 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 |
be0c79a97e2c1ff47422f3f896d80f298e683890399d8a94bd9e8c73b1a90587
|
|
| MD5 |
ad3bb30e512ac852ef0a89f2b20b995a
|
|
| BLAKE2b-256 |
72a260eb539e222e2f6446af827eae83b55cc53947b6ba8d7a11f0846066b8e5
|