GDScript API Comment Coverage
Generate a Markdown API index for Godot GDScript projects and enforce configurable comment coverage for public classes, signals, exported properties, constants, and public functions.
The goal is practical maintainability: a codebase-level map that can run in CI and catch undocumented public APIs before they spread.
Install
python -m pip install -e .
When published:
python -m pip install gdscript-api-comment-coverage
Quick Start
gdscript-api-coverage C:\Projects\MyGame --min-all 80
gdscript-api-coverage . --min-public-func 80 --min-signal 100
gdscript-api-coverage . --write-docs docs\API_INDEX.md
gdscript-api-coverage . --format json --output gdscript-api-report.json
Run against the sample:
gdscript-api-coverage examples\tiny-godot-project --write-docs API_INDEX.md --fail-on none
What It Finds
class_namedeclarations.signaldeclarations.@export varproperties, including annotation-on-previous-line style.- Public
funcdeclarations that do not start with_. - Public constants.
- Whether each item has an immediately preceding comment.
- Report metadata and readable threshold explanations in text and JSON output.
Comment Style
Prefer Godot doc comments:
## Emitted when data changes.
signal data_changed(id: String)
Single # comments are accepted, but ## is easier to distinguish as public documentation.
Documentation
Development
python -m pip install -e .
python -m unittest discover -s tests -v
gdscript-api-coverage examples\tiny-godot-project --min-all 60 --write-docs API_INDEX.md
Examples and fixtures are generic and should not expose private project content.
Metadata
Release files for gdscript-api-comment-coverage 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gdscript_api_comment_coverage-0.1.3.tar.gz | 9.6 kB | With provenance | Details for gdscript_api_comment_coverage-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gdscript_api_comment_coverage-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for gdscript_api_comment_coverage-0.1.3-py3-none-any.whl |
Total release size: 20.0 kB
Release files / gdscript_api_comment_coverage-0.1.3.tar.gz
| Download URL | gdscript_api_comment_coverage-0.1.3.tar.gz |
|---|---|
| Size | 9.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8eed4425751b2bfbda3745aff3ca735a0e2394b58de84fb3838ac259d16f7302
|
|
BLAKE2b-256 checksum How to use checksums |
320609035b1cd0666e71df9a61beb97cfd6b83ae20abdf60d26ee49353d4aac6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.
Transparency logRelease files / gdscript_api_comment_coverage-0.1.3-py3-none-any.whl
| Download URL | gdscript_api_comment_coverage-0.1.3-py3-none-any.whl |
|---|---|
| Size | 10.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2f1234b21f2b5b30312cf8ccd12baa6cfc71e52e1f515e3e650eade45a325afa
|
|
BLAKE2b-256 checksum How to use checksums |
5ee433c71d71d21a5fad2b815ec202b1c81587a5143f99cce0e70566d484ebd5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.
Transparency logSecurity for gdscript-api-comment-coverage 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for gdscript_api_comment_coverage-0.1.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.