Skip to main content

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

  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. Expect a few seconds of wait time as the repository metadata is extracted.
r = Repo(url='https://github.com/user/name.git')
  1. 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


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)

Uploaded Source

Built Distribution

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

diffhouse-0.1.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

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

Hashes for diffhouse-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b0cfdb42a90604867261d5e274a87374bb91dd8b61555e542f296f662581dc3a
MD5 c7c7d3b15033bf4fea5e2feef3c6d6bf
BLAKE2b-256 f4c97727f021dce751efe172fb9e84428e9fe2810e7b762f3edf35ee24c4ecf3

See more details on using hashes here.

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

Hashes for diffhouse-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 be0c79a97e2c1ff47422f3f896d80f298e683890399d8a94bd9e8c73b1a90587
MD5 ad3bb30e512ac852ef0a89f2b20b995a
BLAKE2b-256 72a260eb539e222e2f6446af827eae83b55cc53947b6ba8d7a11f0846066b8e5

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