Skip to main content

fulldoc

fulldoc is a Python docstring content checker focused on completeness and consistency.

It validates that docstrings are not only present, but also contain the required structured content for your public and internal API.

What it checks

fulldoc enforces:

  • full argument documentation for all callable parameters, even when no Args / Attributes section is present
  • Attributes section validation for classes and data containers
  • docstrings for private and protected entities, so internal APIs are documented for other developers

Supported docstring styles

  • Google
  • reStructuredText

What makes fulldoc different

Most docstring tools only check whether a docstring exists.

fulldoc checks whether the docstring is actually complete.

That includes:

  • required parameter descriptions
  • attribute documentation
  • internal API documentation
  • consistent parsing of common docstring formats

Requirements

fulldoc is designed for Python projects that want stricter documentation standards.

It is especially useful when you want to enforce documentation for:

  • public functions and classes
  • protected members
  • private members
  • dataclasses and other attribute-heavy classes
  • library code maintained by multiple developers

Status codes

fulldoc reports findings using status codes.

Main status groups

  • D — docstring structure or content issue
  • DOC — missing, incomplete, or invalid documentation
  • N — naming or entity-related issue
  • F — parser or formatting support code used for internal parsing only

Example meanings

Code Meaning
D... documentation rule violation
DOC... docstring content problem
N... naming or entity classification issue
F... parsing helper / internal formatting-related code

Exact code meanings depend on the rule set configured in your project.

Installation

pip install fulldoc
uv add fulldoc --optional lint

Usage

Run fulldoc against your project source tree from the root directory:

fulldoc

Or integrate it into your CI pipeline:

- name: Check docstrings
  run: fulldoc

Or you can help debug library errors running it from python file:

from fulldoc import ProjectParser

ProjectParser().check()

Rules enforced by fulldoc

Arguments

All callable arguments must be documented.

This includes cases where:

  • the docstring has no Args / Attributes section
  • the section exists but is incomplete
  • some parameters are documented and others are missing

Attributes

Class attributes are checked against the docstring Attributes section.

fulldoc can detect missing documentation for class state and related fields.

Private and protected members

fulldoc can require docstrings for internal APIs such as:

  • protected members like _name
  • private members like __name

This helps teams keep internal code understandable and maintainable.

Examples

Google style

def add_user(name: str, age: int) -> None:
    """Add a user.

    Args:
        name: User name.
        age: User age.
    """

reStructuredText style

def add_user(name: str, age: int) -> None:
    """Add a user.

    :param name: User name.
    :param age: User age.
    """

Notes

  • fulldoc is strict by design.
  • It is intended for teams that want documentation quality checks, not just docstring presence checks.
  • Internal and protected code can be included in the documentation policy.

License

MIT

Metadata

Release files for fulldoc 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fulldoc 0.0.5
File Size Uploaded Provenance Actions
fulldoc-0.0.5.tar.gz 22.3 kB Without provenance Details for fulldoc-0.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fulldoc 0.0.5
File Interpreter ABI Platform Actions
fulldoc-0.0.5-py3-none-any.whl Python 3 none any Details for fulldoc-0.0.5-py3-none-any.whl

Total release size: 48.2 kB

Release files / fulldoc-0.0.5.tar.gz

Download URL fulldoc-0.0.5.tar.gz
Size 22.3 kB
Tags Source
SHA-256 checksum
How to use checksums
bbbfeb40b2bd3107de194b3be865103f675bdde65a10aad4fe9c9eaccddf4a96
BLAKE2b-256 checksum
How to use checksums
3038bd0190d34a406884ecf871174babe9d9601fa810f11d2cd5ce1736685323
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / fulldoc-0.0.5-py3-none-any.whl

Download URL fulldoc-0.0.5-py3-none-any.whl
Size 25.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
62bef7c6d8c004b567be37ef15d3f32e10a8c84b11ba6c4ef75aa1a2cf783010
BLAKE2b-256 checksum
How to use checksums
5bac1992564abaf0802d9cdabce84b45bf72de41db9f62ecea163165d0832dc9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for fulldoc 0.0.5

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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

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