Skip to main content

CLI tool that analyzes GDScript codebases and produces a structured JSON graph of files, metrics, and relationships.

Project description

gdscript-code-graph

CI PyPI version Python versions license

CLI tool that statically analyzes GDScript (Godot Engine) projects and outputs a structured JSON graph of files, code metrics, and inter-file relationships.

Installation

Requires Python 3.10+.

pip install gdscript-code-graph

Usage

# Analyze a Godot project (output to stdout)
gdscript-code-graph analyze <project-dir>

# Write output to a file
gdscript-code-graph analyze <project-dir> -o graph.json

# Custom repo name and directory exclusions
gdscript-code-graph analyze <project-dir> -o graph.json --repo-name my-game -e addons -e test

Options

Flag Description
-o, --out Output file path (default: stdout)
--repo-name Repository name in output (default: directory name)
-e, --exclude Directory names to exclude (repeatable)

Output

The output format is documented in simple-code-graph-viewer/docs/schema.md.

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

gdscript_code_graph-1.0.1.tar.gz (39.7 kB view details)

Uploaded Source

Built Distribution

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

gdscript_code_graph-1.0.1-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

Details for the file gdscript_code_graph-1.0.1.tar.gz.

File metadata

  • Download URL: gdscript_code_graph-1.0.1.tar.gz
  • Upload date:
  • Size: 39.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for gdscript_code_graph-1.0.1.tar.gz
Algorithm Hash digest
SHA256 a0af1bf825f30b2fa5620ae32e205cb3530f54f3d2ea65b930d5760ffe4ac5cd
MD5 f9997765a47ce083ced5c23c29c81329
BLAKE2b-256 3462d4e329b333bff05fa13801763853e9bf799d9b9cd8010c7a52b2f7475836

See more details on using hashes here.

File details

Details for the file gdscript_code_graph-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for gdscript_code_graph-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2de0247a450dd7e25d737b64e48e504cc95fe3f4e06821958113b7eb2d92f1b2
MD5 f3139ff36ed6976da2c53b173cea78b8
BLAKE2b-256 15db3cc476e58727362d58ff909c342b068355ad5e06ae6dfc633becd9fa3ae4

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