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

Uploaded Python 3

File details

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

File metadata

  • Download URL: diffhouse-0.0.2.tar.gz
  • Upload date:
  • Size: 5.9 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.2.tar.gz
Algorithm Hash digest
SHA256 6175b2bde4423c03f29f91e973ca41fff3bf0f7b4a2d0e2a997e0542339ed915
MD5 da3284f5cb0ed1e0690b5b035a473b88
BLAKE2b-256 37bc129b6e3d753663ddeee2e9b78373c40fb294367425a36775ec9764a5b6a5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: diffhouse-0.0.2-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.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 31822f7f7905d14f628d7be4ebed2a74ffdf1de8e4f747409ce41edbacca692b
MD5 077aa816328e4bf130267561452f5105
BLAKE2b-256 ec9893cbd71e9bd1b5ffe944a547f4ae5036f2687e091187b5dbead8c3e84c54

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