Python Google Docstring Generator

•
11k
•

Automates the creation of Google-style Python docstrings for modules, classes, and methods to ensure consistent documentation.

This skill streamlines the documentation process for Python projects by generating standardized Google-style docstrings. It intelligently scans modules or specific classes to identify missing documentation in constructors, public methods, dataclasses, and enums while preserving existing high-quality comments. By enforcing strict formatting rules and action-oriented language, it ensures that codebase documentation remains professional, consistent, and compatible with documentation generators like Sphinx.

Características Principales

01Comprehensive documentation of constructors, public methods, and type hints
02Intelligent class search within project source directories
03Smart detection to skip private methods and existing complete docstrings
04Specialized formatting for dataclasses, configuration fields, and enums
05Automated Google-style docstring generation for modules and classes
0610,844 GitHub stars

Casos de Uso

01Standardizing documentation across a large Python codebase or library
02Quickly adding docstrings to new modules or complex class hierarchies
03Ensuring consistent API documentation for public-facing Python frameworks