Python Docstring Extractor

Extracts and indexes Python module documentation using ast.parse and docstring_parser library. Supports Google, NumPy, and Sphinx docstring formats with type hint cross-referencing via typing_inspect.

agentskillexchange Updated 28 repo stars

File contents

Python Docstring Extractor

Extracts and indexes Python module documentation using ast.parse and docstring_parser library. Supports Google, NumPy, and Sphinx docstring formats with type hint cross-referencing via typing_inspect.

Installation

Use the upstream install or setup path that matches your environment:

Requirements and caveats from upstream:

  • Parse Python docstrings. Currently support ReST, Google, Numpydoc-style and
  • python
  • python -m venv venv # create environment

Basic usage or getting-started notes:

Source

agentskillexchange/skills/tree/main/skills/python-docstring-extractor commit 9dc6663e70

Frequently asked questions

npx skillmds@latest add agentskillexchange/python-docstring-extractor