$npx skillfedfor your agent

mkdocstrings-python-legacy

A legacy Python handler for mkdocstrings.

With conditionsPyPI Software DevelopmentReleased May 2025228.7K downloads / moISCPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — mkdocstrings_python_legacy-0.2.7-py3-none-any.whl
v0.2.7 · released 2025-05-22 · Python >=3.9 · 3 runtime deps: mkdocstrings, mkdocs-autorefs, pytkdocs

Yes, if you are maintaining an existing MkDocs site already using this handler and do not need to migrate. No, if you are starting a new documentation project—use the recommended newer mkdocstrings-python handler instead. The legacy package is stable and permissively licensed, but aging (449 days since last release) and explicitly superseded; install only for backward compatibility.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires mkdocstrings >=0.18 and Python >=3.9; intended as a fallback for projects already using the legacy handler.
  • Low install friction with a pure-Python wheel.
  • Maintenance is aging—last release was 449 days ago and the repository has only 3 stars—but the codebase remains active (last commit 2026-01-13) and the package is explicitly marked as legacy in favor of a newer handler.

License · maintenance · safety

ISC (permissive) — ISC license is permissive and poses no restrictions on use, modification, or distribution in commercial or private projects.

last release 2025-05-22 (449 days) · last repo commit 2026-01-13 · 3 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 228,741 downloads/mo, #9,147 on PyPI

Verify before relying

# Install via mkdocstrings extra or directly
pip install mkdocstrings[python-legacy]
# or
pip install mkdocstrings-python-legacy

# In mkdocs.yml, configure the handler
plugins:
  - mkdocstrings:
      handlers:
        python:
          handler: python-legacy
  • Whether the legacy handler remains compatible with the latest mkdocstrings releases and MkDocs Material theme.
  • Performance and feature parity compared to the recommended newer mkdocstrings-python handler.
  • Active maintenance timeline and whether critical bug fixes are still applied.
Same gist for agents: .md · .json

What it is and what it does

mkdocstrings-python-legacy is a plugin handler that integrates Python API documentation generation into MkDocs sites. It uses pytkdocs to extract object trees and docstrings from Python source code, then renders them as Markdown with support for Google, Numpydoc, and Sphinx docstring styles. It displays type annotations, recursive module documentation, documented attributes, and source code listings, with each object appearing as a navigable heading in the table of contents.

This is a legacy package—the project recommends using the newer mkdocstrings-python handler instead. It remains available for projects with existing configurations or specific compatibility needs. The package depends on mkdocstrings, mkdocs-autorefs, and pytkdocs, and supports Python 3.9 through 3.14.

Use it for

  • Maintaining existing MkDocs documentation sites that were built with the legacy Python handler and do not require migration.
  • Generating API reference documentation from Python docstrings without manually writing Markdown files.
  • Displaying type hints and function signatures alongside docstrings in auto-generated documentation.
  • Converting Google-style or Numpydoc-style docstrings into admonitions and formatted Markdown.
  • Building a searchable table of contents for Python module and class documentation in Material theme sites.

Worth the install?

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

With conditions

Yes, if you are maintaining an existing MkDocs site already using this handler and do not need to migrate.

No, if you are starting a new documentation project—use the recommended newer mkdocstrings-python handler instead. The legacy package is stable and permissively licensed, but aging (449 days since last release) and explicitly superseded; install only for backward compatibility.

Install

mkdocstrings-python-legacy on PyPI

Before you install

Low install friction with a pure-Python wheel. Maintenance is aging—last release was 449 days ago and the repository has only 3 stars—but the codebase remains active (last commit 2026-01-13) and the package is explicitly marked as legacy in favor of a newer handler.

Requires mkdocstrings >=0.18 and Python >=3.9; intended as a fallback for projects already using the legacy handler.

License in practice

ISC license is permissive and poses no restrictions on use, modification, or distribution in commercial or private projects.

Quickstart

# Install via mkdocstrings extra or directly
pip install mkdocstrings[python-legacy]
# or
pip install mkdocstrings-python-legacy

# In mkdocs.yml, configure the handler
plugins:
  - mkdocstrings:
      handlers:
        python:
          handler: python-legacy

Verify before relying

  • Whether the legacy handler remains compatible with the latest mkdocstrings releases and MkDocs Material theme.
  • Performance and feature parity compared to the recommended newer mkdocstrings-python handler.
  • Active maintenance timeline and whether critical bug fixes are still applied.

Package facts

LicenseISC permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
mkdocstringsmkdocs-autorefspytkdocs
MaintenanceAging 449 days since the last release
Last repo commit
First released
Downloads228,741 / month, #9,147 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.14Programming Language :: Python :: 3.9Topic :: DocumentationTopic :: Software DevelopmentTopic :: UtilitiesTyping :: Typed

Evidence: mkdocstrings_python_legacy-0.2.7-py3-none-any.whl

Tags

Capabilities
python api documentation generatormkdocstrings python handlerauto-generate python docsdocstring to markdowntype annotation documentationpython source code documentationlegacy python mkdocs plugin
Topics
documentation-generationmkdocs-pluginlegacy-package

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 › “mkdocstrings python handler”

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 mkdocstrings · mkdocstrings-python · pytkdocs · mkdocs-api-autonav · haystack-pydoc-tools · mkdocs-github-admonitions-plugin · docrep · pdoc3 · mkdocs-techdocs-core · griffe-typingdoc