$npx skillfedfor your agent

griffe-typingdoc

Griffe extension for PEP 727 – Documentation Metadata in Typing.

With conditionsPyPI Software DevelopmentReleased Feb 202688.0K downloads / moISCPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — griffe_typingdoc-0.3.1-py3-none-any.whl
v0.3.1 · released 2026-02-20 · Python >=3.10 · 2 runtime deps: griffelib, typing-extensions

Yes, if you use MkDocs with mkdocstrings and want to adopt PEP 727 inline documentation metadata. Low install friction, active maintenance, permissive license, and no known vulnerabilities make it safe to adopt. Not relevant if you don't use mkdocstrings or prefer traditional docstring-only documentation.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; intended for use within a MkDocs project with mkdocstrings configured.
  • Low friction install with only two runtime dependencies (griffelib and typing-extensions).
  • Actively maintained with recent commits; last release 175 days ago.

License · maintenance · safety

ISC (permissive) — ISC license is permissive, allowing commercial and private use with minimal restrictions.

last release 2026-02-20 (175 days) · last repo commit 2026-08-14 · 21 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 88,007 downloads/mo, #13,755 on PyPI

Verify before relying

pip install griffe-typingdoc

# In mkdocs.yml:
plugins:
  - mkdocstrings:
      handlers:
        python:
          options:
            extensions:
              - griffe_typingdoc
  • Whether this extension works with all mkdocstrings handlers or only the Python handler
  • Compatibility with existing Griffe plugins and whether conflicts are possible
  • Performance impact on documentation generation for large codebases
Same gist for agents: .md · .json

What it is and what it does

Griffe TypingDoc is a plugin for the Griffe documentation tool that extends mkdocstrings to support PEP 727 inline documentation metadata. It allows developers to document function parameters, class attributes, return types, and module-level variables directly within their type hints using Python's Annotated type, rather than relying solely on docstrings. This approach keeps documentation closer to the code and enables richer, more structured metadata.

The extension integrates into the mkdocstrings Python handler as a configuration option, processing Annotated hints during documentation generation. It depends on griffelib for core functionality and typing-extensions for compatibility across Python versions. The package is actively maintained and supports modern Python versions from 3.10 onward.

Use it for

  • Document function parameters inline using Annotated without writing separate docstring descriptions
  • Add structured metadata to class attributes that gets rendered in generated API documentation
  • Maintain documentation closer to type definitions for better code-documentation alignment
  • Generate richer API docs in MkDocs projects that already use mkdocstrings
  • Adopt PEP 727 conventions in a codebase to standardize documentation metadata format

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you use MkDocs with mkdocstrings and want to adopt PEP 727 inline documentation metadata.

Low install friction, active maintenance, permissive license, and no known vulnerabilities make it safe to adopt. Not relevant if you don't use mkdocstrings or prefer traditional docstring-only documentation.

Install

griffe-typingdoc on PyPI

Before you install

Low friction install with only two runtime dependencies (griffelib and typing-extensions). Actively maintained with recent commits; last release 175 days ago. Supports Python 3.10 through 3.14.

Requires Python 3.10 or later; intended for use within a MkDocs project with mkdocstrings configured.

License in practice

ISC license is permissive, allowing commercial and private use with minimal restrictions.

Quickstart

pip install griffe-typingdoc

# In mkdocs.yml:
plugins:
  - mkdocstrings:
      handlers:
        python:
          options:
            extensions:
              - griffe_typingdoc

Verify before relying

  • Whether this extension works with all mkdocstrings handlers or only the Python handler
  • Compatibility with existing Griffe plugins and whether conflicts are possible
  • Performance impact on documentation generation for large codebases

Package facts

LicenseISC permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
griffelibtyping-extensions
MaintenanceActively maintained 175 days since the last release
Last repo commit
First released
Downloads88,007 / month, #13,755 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: DocumentationTopic :: Software DevelopmentTopic :: Software Development :: DocumentationTopic :: UtilitiesTyping :: Typed

Evidence: griffe_typingdoc-0.3.1-py3-none-any.whl

Tags

Capabilities
PEP 727 documentation metadatainline parameter documentationannotated type hints documentationgriffe extensionmkdocstrings plugintyped documentation generationclass attribute documentation
Topics
pep-727mkdocs-plugintype-hints

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “PEP 727 documentation metadata”

  • griffe-typingdocGriffe extension that enables inline documentation of function…
  • attributes-docExtracts and stores docstrings for class attributes at runtime,…
  • sphinx-pyprojectLoads Sphinx documentation configuration from pyproject.toml instead…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also griffe-warnings-deprecated · typeapi · griffe-pydantic · griffe · mkdocstrings-python · mkdocstrings · mkdocstrings-python-legacy · griffe2md · pytkdocs