Skip to main content

Git Archaeologist

A python CLI tool for quickly analyzing and exploring the history of Git repositories.

Problem

Understanding a Git repository's history can be very time consuming when done manually. Git provides a huge amount of information, but finding useful patterns-such as the repository's lifespan, periods of inactivity, most active months, contributors, and commit history-often requires running multiple commands and manually interpreting the results.

Git Archaeologist simplifies this process by collecting important repository statistics and presenting them in a clear human-readable format or a JSON format for developers.

Features

  • Repository summary

    • Total commits
    • Number of contributors
    • Number of lines changed
    • Total insertions
    • Total deletions
    • Total lines changed
  • Timeline analysis

    • First commit
    • Latest commit
    • Repo Lifespan
  • Activity analysis

    • Most active month
    • Number of commits during the most active month
    • Longest period of inactivity
    • Commits marking the begining and end of the longest gap
  • Commit History

    • Commit SHA1
    • Commit data
    • Commit message
    • Author
  • JSON output

    • Machine-readable repository statistics
    • Useful for scripts, automation and other apps

Installation

Clone the repository:

$ git clone https://github.com/omarelhalaby76-coder/git-archaeologist
$ cd git-archaeologist

Install the dependencies:

$ pip install -r requirments.txt

Or install the project directly:

$ pip install .

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

git_archaeologist-1.0.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

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

git_archaeologist-1.0.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file git_archaeologist-1.0.0.tar.gz.

File metadata

  • Download URL: git_archaeologist-1.0.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.6

File hashes

Hashes for git_archaeologist-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a5d868e39f9210531512c2ddf48dfa752a2aeb1689783548e1eff7bb08157c1f
MD5 2792ae3bb7271fbe236df939395b9fd8
BLAKE2b-256 3cd8cfedb9e0301682159e1949e65ce87a51cbc6ea1c6e04d78c77892f4cc1dc

See more details on using hashes here.

File details

Details for the file git_archaeologist-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for git_archaeologist-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 644fe50b1b912539e8faa651d1fa33368a0ca52395f29b0e93e3cae69d9484d3
MD5 8e05bc957781abb8f5435583e4e9e759
BLAKE2b-256 3f2825e5fae8e7d74895b9e9b32db51617c0f5fb97996bf8b1883550c663753a

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.1

2 files

This release

1.0.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page