{"categories":[{"label":"Documentation","url":"https://skillfed.io/packages/category/documentation"}],"enrichment":{"capability":"Parses Python source code into structured docspec data, extracting module, class, function, and data documentation metadata using lib2to3.","skillfed_tags":["code-parser","documentation-generation"],"use_cases":["Generate structured documentation from Python source code for doc generation systems.","Extract API metadata (classes, functions, signatures) for code analysis or IDE tooling.","Build code introspection pipelines that need reliable Python syntax parsing without executing code.","Feed docspec data into custom documentation renderers or static analysis tools.","Audit or catalog Python module structure in large codebases programmatically."],"what_it_does":"docspec-python is a parser that converts Python source code into structured docspec objects\u2014a standardized format for representing module, class, function, and data documentation. It uses lib2to3 as its parsing foundation, which means it handles Python syntax reliably without requiring the Python interpreter itself. The package is typically used in documentation generation pipelines, code analysis tools, and introspection systems where you need programmatic access to Python code structure and docstrings.\n\nThe package works by reading Python source (from stdin or a file) and emitting docspec data that can be dumped, transformed, or fed into downstream tools. It depends on black for code formatting utilities, docspec for the data model, and nr-util for utility functions. The aging maintenance status (465 days since last release) suggests the core functionality is stable but may not receive rapid updates for new Python features or bug fixes.","worth_installing":"Yes, if you need reliable Python source parsing into docspec format and can accept aging maintenance. The package has no known vulnerabilities, low install friction, and a stable core function. However, verify the unclear license status before use in proprietary contexts, and be aware that bug fixes or Python feature support may lag behind active projects."},"id":"docspec-python","links":{"html":"https://skillfed.io/packages/docspec-python","md":"https://skillfed.io/packages/docspec-python.md","pypi":"https://pypi.org/project/docspec-python/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-05-06","license_spdx":null,"license_treatment":"unclear","name":"docspec-python","python_support":"supports_current","summary":"A parser based on lib2to3 producing docspec data from Python source code."},"popularity":{"monthly_downloads":279366,"position":8121,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.2.2"}
