Skip to main content

RepoInsight

RepoInsight 1.0 is a cross-platform Python CLI that produces deterministic repository-health reports without importing or executing repository code. It analyzes local directories and public GitHub repositories with bounded file discovery, Python AST inspection, sanitized Git metadata, transparent scoring, a versioned JSON contract, and a standalone offline HTML report.

Illustrative RepoInsight standalone report preview

Install

RepoInsight requires Python 3.11 or newer.

Until the first PyPI release is published, install from a source checkout:

python -m venv .venv
.venv\Scripts\python -m pip install .
.venv\Scripts\repoinsight version

On macOS or Linux, use .venv/bin/python and .venv/bin/repoinsight.

After publication to PyPI, the recommended isolated installation is:

pipx install repoinsight
repoinsight version

Quick start

repoinsight analyze .
repoinsight analyze . --output reports --format all
repoinsight analyze https://github.com/pypa/sampleproject --output reports
repoinsight analyze . --fail-under 80
repoinsight rules
repoinsight explain RI-SEC-001

analyze prints a compact terminal summary. JSON and HTML output default to repoinsight-report/. The HTML file has no server or network dependency.

Safety and privacy

Repository contents are untrusted input. RepoInsight never imports analyzed modules or runs repository scripts, build tools, tests, hooks, or configuration code. It blocks ordinary traversal and external symlink following, bounds discovery and Git acquisition, redacts secret-like text at trust boundaries, autoescapes report data, and removes temporary clones.

Version 1 does not defend against a concurrent privileged local attacker, a compromised operating system, a malicious system Git installation, a hostile executable PATH, or an adversarial filesystem driver. See Security and privacy and Known limitations.

Documentation

Development

python -m pip install -e . --group dev
python -m pytest -q
python -m ruff format --check .
python -m ruff check .
python -m mypy src tests tools benchmarks

The standard test suite needs no network access. The 100,000-line benchmark and live public-repository smoke are opt-in. See CONTRIBUTING.md.

License

MIT. See LICENSE.

Release files for repoinsight 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for repoinsight 1.0.0
File Size Uploaded
repoinsight-1.0.0.tar.gz 135.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for repoinsight 1.0.0
File Interpreter ABI Platform
repoinsight-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 229.5 kB

Release files / repoinsight-1.0.0.tar.gz

Download URL repoinsight-1.0.0.tar.gz
Size 135.1 kB
Tags Source
SHA-256 checksum
How to use checksums
aec198af40ad79f20f53744ae22551004d6210ccf48a6b242e5fb113cc6ed0ff
BLAKE2b-256 checksum
How to use checksums
e5c58987990c2a1ea833ed97739f9eeab1dad0227d763db4583bde5a3af056d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 24, 2026.

Transparency log

Release files / repoinsight-1.0.0-py3-none-any.whl

Download URL repoinsight-1.0.0-py3-none-any.whl
Size 94.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aa4876fb20bb9d2fcb7c042d6b261ee9b9e05b63b5eccd438bc7f0d1cad18080
BLAKE2b-256 checksum
How to use checksums
4d3507138c49b038c173c86e7a7082ebe0d8a3803fdb7be0a2653fe77dbfbe4c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 24, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release 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