Skip to main content

GNOST — Codebase Knowledge

PyPI Python Tests License Downloads

GNOST is a lightweight static analysis CLI tool that helps developers understand unfamiliar codebases in minutes.
It automatically detects entry points, maps execution flow, identifies critical files, and generates onboarding documentation and Mermaid diagrams.

It also performs quality analysis (gnost analyze) for maintainability, robustness, observability, and readability to provide a fast quality score and prioritized findings.

Perfect for first-day onboarding, audits, and codebase exploration.

🚀 Why GNOST?

  • Quickly build a mental model of a new codebase
  • See how execution flows without reading everything
  • Generate onboarding docs and Mermaid diagrams with one command

🧠 What GNOST Does

  • Detects where execution starts
  • Infers high-level execution flow
  • Identifies hotspot files (most important code)
  • Generates onboarding documentation
  • Produces Mermaid flow diagrams
  • Runs code quality analysis for maintainability, robustness, observability, and readability

Install

pip install gnost

Run the onboarding scan:

gnost onboard .

Minimal usage examples

gnost summary .
gnost stats .

New in 0.3.0 (Analysis)

gnost analyze .
gnost analyze . --parallel -o
gnost open report

Analysis report preview

GNOST analysis report

Analysis scope

  • gnost analyze currently supports Python codebases only.
  • JavaScript/TypeScript/Java analysis is planned for future releases.

🌍 Supported Languages

Python JavaScript TypeScript Java

🎯 Who Is This For?

  • Developers joining a new team
  • Engineers reviewing legacy code
  • Startup founders auditing repos
  • Tech leads onboarding new hires
  • Open-source contributors

📊 Example Use Cases

  • First-day onboarding automation
  • Codebase documentation generation
  • Architecture visualization
  • Legacy system analysis
  • Rapid technical due diligence

📚 Documentation:

Docs

📜 Changelog:

Changelog

🧩 Philosophy

GNOST prioritizes:

  • Fast insights over deep AST complexity
  • Practical developer onboarding
  • Clear summaries over raw metrics
  • Zero-config usage

It is designed to be simple, fast, and immediately useful.

License

MIT License

Metadata

Release files for gnost 0.3.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 gnost 0.3.0
File Size Uploaded
gnost-0.3.0.tar.gz 103.7 kB Details

Built distribution (wheel)

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

Total release size: 225.0 kB

Release files / gnost-0.3.0.tar.gz

Download URL gnost-0.3.0.tar.gz
Size 103.7 kB
Tags Source
SHA-256 checksum
How to use checksums
07df56986f1004938830a82ec2248c2a55bc5e8910505a92da02b394a376d2dd
BLAKE2b-256 checksum
How to use checksums
c87e811b699f938e6b25a7fa92d6cd048f5e2e50c126a40bfd51f4f39d7db968
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release files / gnost-0.3.0-py3-none-any.whl

Download URL gnost-0.3.0-py3-none-any.whl
Size 121.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c717a7dce3e908a2511107f68267be89b3d48dd57d158fe0c4fc530d250d06cf
BLAKE2b-256 checksum
How to use checksums
75ab4eb5ffd21c492f72f00f714014bf0fa0aa5e62545ed9a3575720795dc275
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

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