Skip to content
Back to skills

Python Docstring Extractor

ASecurity

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.

  • 36 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added June 2, 2026
ai-agentspythongoshellgitapisecuritydocumentation

Works with

  • api

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned June 2, 2026

npx -y skills add agentskillexchange/skills --skill python-docstring-extractor --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Python Docstring Extractor?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Python Docstring Extractor
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-python-docstring-extractor/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-python-docstring-extractor)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "Python Docstring Extractor"
slug: "python-docstring-extractor"
description: "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."
github_stars: 266
verification: "security_reviewed"
source: "https://github.com/rr-/docstring_parser"
author: "rr-"
category: "Library & API Reference"
framework: "Claude Agents"
tool_ecosystem:
  github_repo: "rr-/docstring_parser"
  github_stars: 266
---

# 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:
- pip install docstring_parser
- python -m pip install docstring_parser
- git clone https://github.com/rr-/docstring_parser.git
- pip install -e ".[dev]" # install as editable

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:
- Example usage:
- shell
- # or if you want to install it in a virtual environment

- Source: https://github.com/rr-/docstring_parser
- Extracted from upstream docs: https://raw.githubusercontent.com/rr-/docstring_parser/HEAD/README.md

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/python-docstring-extractor/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.