docspec
Docspec is a JSON object specification for representing API documentation of programming languages.
Decision gist · record as of 2026-08-14
Yes, if you need to work with Docspec JSON format for documentation tooling. The package has low install friction and no known vulnerabilities. However, the aging maintenance status (465 days since last release) and unclear license warrant caution: verify the license terms and assess whether infrequent updates align with your project's stability requirements.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.8 or newer.
- Low install friction with a pure-wheel distribution.
- Maintenance status is aging—last release was 465 days ago—so expect infrequent updates and potential staleness relative to evolving Python ecosystems.
License · maintenance · safety
(unclear) — License status is unclear; no SPDX identifier or raw license text is available in the package metadata. Verify the actual license terms before use in proprietary or copyleft-sensitive projects.
last release 2025-05-06 (465 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 270,647 downloads/mo, #8,231 on PyPI
Alternatives
Verify before relying
import docspec
import sys
for module in docspec.load_modules(sys.stdin):
module.members = [m for m in module.members if m.docstring]
docspec.dump_module(sys.stdout)- Whether the package is actively maintained or has entered long-term maintenance mode given the 465-day gap since last release.
- Actual license terms and any restrictions on commercial or derivative use.
- Compatibility with recent Python versions beyond the stated 3.8+ requirement.
What it is and what it does
Docspec is a JSON schema and toolset for representing API documentation in a language-agnostic format. It provides both a Python library for programmatic serialization and deserialization of Docspec JSON payloads, and a command-line interface for validating and inspecting those payloads. The library depends on databind-core and databind-json for JSON marshaling, plus the deprecated package for backward compatibility.
Typical use involves reading documentation metadata from JSON, filtering or transforming module and member structures in memory, and writing the result back out. The CLI offers tree-view inspection of documentation hierarchies. The package targets Python 3.8 and newer and is positioned as a bridge format for tools that need to exchange or standardize API documentation across different languages.
Use it for
- Validate and transform API documentation JSON before publishing or consuming it in a documentation pipeline.
- Filter documentation members by presence of docstrings or other metadata criteria programmatically.
- Inspect the structure of a Docspec JSON file from the command line without writing custom parsing code.
- Serialize Python documentation metadata into a standardized JSON format for cross-language tooling.
- Build documentation aggregation or translation tools that work with a common interchange format.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to work with Docspec JSON format for documentation tooling.
The package has low install friction and no known vulnerabilities. However, the aging maintenance status (465 days since last release) and unclear license warrant caution: verify the license terms and assess whether infrequent updates align with your project's stability requirements.
Install
docspec on PyPI
Before you install
Low install friction with a pure-wheel distribution. Maintenance status is aging—last release was 465 days ago—so expect infrequent updates and potential staleness relative to evolving Python ecosystems.
Requires Python 3.8 or newer.
License in practice
License status is unclear; no SPDX identifier or raw license text is available in the package metadata. Verify the actual license terms before use in proprietary or copyleft-sensitive projects.
Quickstart
import docspec
import sys
for module in docspec.load_modules(sys.stdin):
module.members = [m for m in module.members if m.docstring]
docspec.dump_module(sys.stdout)
Verify before relying
- Whether the package is actively maintained or has entered long-term maintenance mode given the 465-day gap since last release.
- Actual license terms and any restrictions on commercial or derivative use.
- Compatibility with recent Python versions beyond the stated 3.8+ requirement.
Package facts
| License | Not declared unclear |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesdatabind-coredatabind-jsondeprecated |
| Maintenance | Aging 465 days since the last release |
| First released | |
| Downloads | 270,647 / month, #8,231 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: docspec-2.2.2-py3-none-any.whl
Tags
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 › “docspec json serialization”
- docspecDocspec provides a library and CLI to serialize, deserialize, and…
- docspec-pythonParses Python source code into structured docspec data, extracting…
- pydoc-markdownPydoc-Markdown parses Python source code and generates API…
Give your agent the search over MCP, or paste the wish link into any chat.
More Documentation packages
Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.
Sphinx generates professional documentation from reStructuredText source files, producing HTML, PDF, EPUB, and other formats with automatic cross-references, code highlighting, and hierarchical navigation.
Griffe extracts the complete structure and signatures of Python programs to generate API documentation or detect breaking changes in your project's public API.
Install it if you need to programmatically inspect Python code structure, generate API docs, or enforce API stability in CI.
A Sphinx extension that outputs documentation in serialized HTML formats (JSON and pickle) alongside standard HTML.
Alabaster is a clean, responsive Sphinx theme for documentation that requires Python 3.10 or newer and Sphinx 6.2 or newer.
A Sphinx extension that generates HTML help files from reStructuredText documentation source.
See also docspec-python · microsoft-kiota-serialization-json · colander · databind.json · microsoft-kiota-serialization-text · json-spec · pydoc-markdown · bioc · apischema · databind.core