Skip to main content

A CLI tool that scans git repositories to find dead code, stale files, unused dependencies, and abandoned branches.

Project description

Repo Archaeologist

A CLI tool that scans git repositories to find dead code, stale files, unused dependencies, and abandoned branches.

Installation

pip install repo-archaeologist

Usage

# Scan a repository
repo-archaeologist scan /path/to/repo

# Generate a markdown report
repo-archaeologist scan /path/to/repo --format markdown --output report.md

# Scan only Python files
repo-archaeologist scan /path/to/repo --language python

# Show only high-risk findings
repo-archaeologist scan /path/to/repo --min-score 70

# Analyze abandoned branches only
repo-archaeologist branches /path/to/repo

# Analyze unused dependencies only
repo-archaeologist deps /path/to/repo

Features

  • Dead Symbol Detection: Find functions and classes that are never referenced
  • Stale File Detection: Identify files untouched for months or years
  • Unused Dependency Detection: Find packages declared but never imported
  • Abandoned Branch Detection: Locate old, unmerged branches
  • Ownership Risk Analysis: Identify files owned by a single contributor
  • Decay Scoring: Rank findings by risk level (0-100)

Supported Languages

  • Python
  • JavaScript/TypeScript

License

MIT

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

repo_archaeologist-0.1.0.tar.gz (19.6 kB view details)

Uploaded Source

Built Distribution

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

repo_archaeologist-0.1.0-py3-none-any.whl (25.0 kB view details)

Uploaded Python 3

File details

Details for the file repo_archaeologist-0.1.0.tar.gz.

File metadata

  • Download URL: repo_archaeologist-0.1.0.tar.gz
  • Upload date:
  • Size: 19.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for repo_archaeologist-0.1.0.tar.gz
Algorithm Hash digest
SHA256 17ce1491c166b6c710310aae10b497faf3e2f9d5bfc4e1738aaacac2b008dab8
MD5 7cb4227abfda5c15241a2e256880e72b
BLAKE2b-256 72a0883bceaf6c79d144cac6de585800568326d28d38f0f561e84095474bba78

See more details on using hashes here.

File details

Details for the file repo_archaeologist-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for repo_archaeologist-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0a0609bd3dabe4585f59efe01141c85d0a966a8f8e11f5db97aed51bcbd94dc2
MD5 a507573b8e247c40a8a615214cd3575d
BLAKE2b-256 67c894aa6f4d9777b7088b4734c76307791341b68d2b6fe3ba2b637efa5da022

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