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
Release history Release notifications | RSS feed
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.1.tar.gz
(23.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file repo_archaeologist-0.1.1.tar.gz.
File metadata
- Download URL: repo_archaeologist-0.1.1.tar.gz
- Upload date:
- Size: 23.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e6b6799d0aa7b932e3994ef623756d73c3f9ffa36fc133580d1c9632cff9a2f
|
|
| MD5 |
78d1e36b6d61417691832890bfa9fb07
|
|
| BLAKE2b-256 |
321429305894c39368b4304b66e6c41ebf2f9442cf133c3fe2a2178f0341db99
|
File details
Details for the file repo_archaeologist-0.1.1-py3-none-any.whl.
File metadata
- Download URL: repo_archaeologist-0.1.1-py3-none-any.whl
- Upload date:
- Size: 30.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c80fa924f795885b1e5bca239033988210989b94056ea4af9a24bf1edb83dc0
|
|
| MD5 |
e26866f4d8cfe5c75ec8aa12b588c736
|
|
| BLAKE2b-256 |
497c927209cfafda5c8e1efe7c46f3220ac74fbcbf46680a5ef64df0d245371f
|