Skip to main content

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.

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)

Source distribution for gdscript-code-graph 1.0.1
File Size Uploaded
gdscript_code_graph-1.0.1.tar.gz 39.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gdscript-code-graph 1.0.1
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.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