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

Uploaded Python 3

File details

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

File metadata

  • Download URL: repo_archaeologist-0.1.2.tar.gz
  • Upload date:
  • Size: 24.9 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.2.tar.gz
Algorithm Hash digest
SHA256 d01f8ff91d23d29dc39ba1d10bfbe0cc00df5e92131bfa68b66eb1b1f29326b8
MD5 2d1b6917755c13d82c5590f26c53d671
BLAKE2b-256 d5c6d67942ddb90a0151aa762c4148122e0207dddfc2b353e4e9721afbf0592f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for repo_archaeologist-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1ec804e9304839bd419adc62f9bf688f38b712167f0d1a18603652184426175d
MD5 e42d00fd504669987de6977d120efce1
BLAKE2b-256 90c55706c9513b9800efe0fe3d44320fa747e0d314e176983cbce5be59c32b1b

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