$npx skillfedfor your agent

docspec

Docspec is a JSON object specification for representing API documentation of programming languages.

With conditionsPyPI DocumentationReleased May 2025270.6K downloads / moPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — docspec-2.2.2-py3-none-any.whl
v2.2.2 · released 2025-05-06 · Python >=3.8 · 3 runtime deps: databind-core, databind-json, deprecated

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

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.
Same gist for agents: .md · .json

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.

With conditions

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

LicenseNot declared unclear
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
databind-coredatabind-jsondeprecated
MaintenanceAging 465 days since the last release
First released
Downloads270,647 / month, #8,231 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: docspec-2.2.2-py3-none-any.whl

Tags

Capabilities
docspec json serializationapi documentation formatdocstring parsing librarydocumentation json schemaapi doc validation tooldocspec cli validatordocumentation interchange format
Topics
documentation-formatjson-schemaapi-docs

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 With conditions
PyPI · Software Development · released May 2026

Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.

BSD-3-Clausepure Python · 3.9+
225.6Mdownloads / mo
Sphinx Worth it
PyPI · Software Development · released Dec 2025

Sphinx generates professional documentation from reStructuredText source files, producing HTML, PDF, EPUB, and other formats with automatic cross-references, code highlighting, and hierarchical navigation.

BSD-2-Clausepure Python · 3.12+
91.8Mdownloads / mo
griffe Worth it
PyPI · Software Development · released Jun 2026

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.

ISCpure Python · 3.10+
32.4Mdownloads / mo
sphinxcontrib-serializinghtml With conditions
PyPI · Utilities · released Jul 2024

A Sphinx extension that outputs documentation in serialized HTML formats (JSON and pickle) alongside standard HTML.

BSD-3-Clausepure Python · 3.9+dormant
30.5Mdownloads / mo
alabaster Worth it
PyPI · Documentation · released Jul 2024

Alabaster is a clean, responsive Sphinx theme for documentation that requires Python 3.10 or newer and Sphinx 6.2 or newer.

BSD-3-Clausepure Python · 3.10+dormant
30.4Mdownloads / mo
sphinxcontrib-htmlhelp With conditions
PyPI · Utilities · released Jul 2024

A Sphinx extension that generates HTML help files from reStructuredText documentation source.

BSD-3-Clausepure Python · 3.9+dormant
27.7Mdownloads / mo

See also docspec-python · microsoft-kiota-serialization-json · colander · databind.json · microsoft-kiota-serialization-text · json-spec · pydoc-markdown · bioc · apischema · databind.core