skillfed

docutils-stubs

PEP 561 type stubs for docutils

docutils-stubs v0.0.22 185.5K downloads/30d#10,010 on PyPI9
Permissive license Unlicense Abandoned released

What it is and what it does

docutils-stubs is a type stub package that adds PEP 561 compliant type information to the docutils library. When installed alongside docutils, it allows static type checkers like mypy and IDEs to understand the types and signatures of docutils functions and classes, enabling better autocompletion, inline documentation, and type-checking errors during development.

The package is a thin wrapper—it contains only type definitions, not runtime code. It depends on docutils itself and is intended to be used as a development dependency. However, the project has been abandoned since early 2022, meaning no updates have been made to reflect changes in docutils or to fix any type stub issues discovered after that date.

Use it for:

  • Enable mypy or other type checkers to validate code that uses docutils without type errors
  • Improve IDE autocomplete and inline help when writing docutils-based document processing scripts
  • Support type-aware refactoring in editors for projects that manipulate reStructuredText or other docutils formats

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides PEP 561 type stubs for docutils, enabling type checking and IDE autocompletion when working with the docutils library.

Yes, if you need type checking for docutils and are using a version released before early 2022. No, if you require active maintenance or are using recent docutils versions—the package is abandoned and may have incomplete or outdated type coverage. Consider checking whether docutils itself now includes inline type hints before installing this stub package.

Install

docutils-stubs on PyPI

pip

pip install docutils-stubs

uv

uv add docutils-stubs

poetry

poetry add docutils-stubs

Installing docutils-stubs

Before you install

Low friction to install as a pure-Python wheel. However, the package is abandoned—last release was 2022-01-02, over 1685 days ago. No active maintenance or updates.

License in practice

Licensed under the Unlicense (permissive), placing the package in the public domain with minimal restrictions on use or modification.

Quickstart

pip install docutils-stubs

import docutils.core
# Type checker now understands docutils APIs

Requires docutils to be installed separately; stubs alone do not provide runtime functionality.

Verify before relying

  • Whether type stub coverage is complete for all docutils APIs or only a subset
  • Compatibility with recent docutils versions released after 2022-01-02
  • Whether the stubs work with current type checkers (mypy, pyright, etc.)

Package facts

License Unlicense (permissive)
Python support supports the current Python release (>=3.5)
Install friction low — pure-Python wheel
Runtime dependencies 1 — docutils
Maintenance abandoned — 1,685 days since the last release
Last repo commit
First released
Downloads 185,508/month — #10,010 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: docutils_stubs-0.0.22-py3-none-any.whl

License :: OSI Approved :: The Unlicense (Unlicense)

Tags

docutils type stubstype hints for docutilsPEP 561 stubsdocutils type checkingdocutils mypy supportdocutils type annotations
type-stubsabandoned

More Documentation packages

docutils

Docutils converts plaintext documentation in…

unclear · top 1,000 on PyPI

Sphinx

Sphinx generates professional documentation…

permissive · top 1,000 on PyPI

griffe

Griffe extracts the complete structure and…

permissive · top 1,000 on PyPI

sphinxcontrib-serializinghtml

A Sphinx extension that outputs documentation…

permissive · top 1,000 on PyPI

alabaster

Alabaster is a clean, responsive Sphinx theme…

permissive · top 1,000 on PyPI

sphinxcontrib-htmlhelp

A Sphinx extension that generates HTML help…

permissive · top 1,000 on PyPI

types-Pillow

Provides type stubs for Pillow, enabling static…

permissive · top 5,000 on PyPI

pybind11-stubgen

Generates PEP 561 type stubs for Python binary…

permissive · top 5,000 on PyPI

types-beautifulsoup4

Provides type hints for beautifulsoup4 code via…

permissive · top 5,000 on PyPI

pyspark-stubs

Provides type stubs for PySpark to enable…

permissive · top 15,000 on PyPI

types-backports

Provides PEP 561 type stubs for the backports…

permissive · top 15,000 on PyPI

pymupdf-stubs

Provides type stubs for PyMuPDF to enable…

permissive · top 15,000 on PyPI

types-humanfriendly

Provides PEP 561 type stubs for the…

permissive · top 15,000 on PyPI

typeshed-client

Retrieves stub file paths, AST nodes, and…

permissive · top 5,000 on PyPI

types-Flask

Provides PEP 561 type stubs for Flask to enable…

permissive · top 5,000 on PyPI

collective.checkdocs

Adds distutils commands to validate and preview…

copyleft · top 15,000 on PyPI