Skip to main content

GNOST — Codebase Knowledge

Project description

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

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

gnost-0.3.0.tar.gz (103.7 kB view details)

Uploaded Source

Built Distribution

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

gnost-0.3.0-py3-none-any.whl (121.3 kB view details)

Uploaded Python 3

File details

Details for the file gnost-0.3.0.tar.gz.

File metadata

  • Download URL: gnost-0.3.0.tar.gz
  • Upload date:
  • Size: 103.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for gnost-0.3.0.tar.gz
Algorithm Hash digest
SHA256 07df56986f1004938830a82ec2248c2a55bc5e8910505a92da02b394a376d2dd
MD5 8e084b6888067d922c48a79534602406
BLAKE2b-256 c87e811b699f938e6b25a7fa92d6cd048f5e2e50c126a40bfd51f4f39d7db968

See more details on using hashes here.

File details

Details for the file gnost-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: gnost-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 121.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for gnost-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c717a7dce3e908a2511107f68267be89b3d48dd57d158fe0c4fc530d250d06cf
MD5 e4d33d64f701ca88e5bf8ee63ab22eef
BLAKE2b-256 75ab4eb5ffd21c492f72f00f714014bf0fa0aa5e62545ed9a3575720795dc275

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