gdscript-code-graph
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.
Release files for gdscript-code-graph 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gdscript_code_graph-1.0.1.tar.gz | 39.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gdscript_code_graph-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 56.0 kB
Release files / gdscript_code_graph-1.0.1.tar.gz
| Download URL | gdscript_code_graph-1.0.1.tar.gz |
|---|---|
| Size | 39.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a0af1bf825f30b2fa5620ae32e205cb3530f54f3d2ea65b930d5760ffe4ac5cd
|
|
BLAKE2b-256 checksum How to use checksums |
3462d4e329b333bff05fa13801763853e9bf799d9b9cd8010c7a52b2f7475836
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Release files / gdscript_code_graph-1.0.1-py3-none-any.whl
| Download URL | gdscript_code_graph-1.0.1-py3-none-any.whl |
|---|---|
| Size | 16.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2de0247a450dd7e25d737b64e48e504cc95fe3f4e06821958113b7eb2d92f1b2
|
|
BLAKE2b-256 checksum How to use checksums |
15db3cc476e58727362d58ff909c342b068355ad5e06ae6dfc633becd9fa3ae4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|