sphinxcontrib-blockdiag
Sphinx "blockdiag" extension
Decision gist · record as of 2026-08-14
Yes, if your Sphinx documentation is stable and you need simple block diagrams without external image management. No, if you require active maintenance, need to support future Sphinx versions, or prefer a maintained alternative. The low install friction and permissive license are offset by the project's abandonment status—use it only when you're confident your Sphinx and Python environment will remain compatible.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Sphinx and blockdiag as runtime dependencies; blockdiag itself may have system-level dependencies for diagram rendering.
- Low friction to install, but the project is abandoned—last release was 2021-12-05 and last commit 2022-09-29.
- It works with current Python versions (3.7+) but receives no active maintenance.
License · maintenance · safety
BSD (permissive) — BSD license is permissive; you can use this in commercial and open-source projects with minimal restrictions, though you must include the license notice.
last release 2021-12-05 (1713 days) · last repo commit 2022-09-29 · 16 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 75,350 downloads/mo, #14,724 on PyPI
Alternatives
Verify before relying
pip install sphinxcontrib-blockdiag
In conf.py:
extensions = ['sphinxcontrib.blockdiag']
In your .rst file:
.. blockdiag::
diagram {
A -> B -> C;
B -> D;
}- Whether blockdiag's own dependencies (e.g., Pillow, graphviz) are automatically satisfied or require separate installation.
- Compatibility with Sphinx versions beyond those tested at release; the extension may not work with very recent Sphinx releases.
- Whether the generated diagrams render correctly in modern Sphinx output formats (HTML5, PDF).
What it is and what it does
sphinxcontrib-blockdiag is a Sphinx extension that lets you embed block diagrams directly in your documentation source using blockdiag's simple syntax. You write diagram definitions in reStructuredText code blocks and the extension renders them as images during the Sphinx build process. It integrates seamlessly with Sphinx's documentation workflow, allowing you to keep diagrams close to the text that describes them.
The package depends on blockdiag for the actual rendering and Sphinx for integration. It's classified as Production/Stable and supports Python 3.7 through 3.9, but the project has been abandoned since late 2022—no updates have been released in over three years. If your documentation toolchain is stable and you don't need ongoing maintenance or support for newer Sphinx versions, it can still work, but you should be aware that bugs or incompatibilities with future Sphinx releases will not be fixed.
Use it for
- Add flowcharts and block diagrams to API documentation or architecture guides without external image files.
- Create system component diagrams in technical documentation that stay synchronized with source code.
- Generate visual process flows in user guides or runbooks embedded directly in Sphinx-built docs.
- Document data pipeline or workflow stages as part of a larger Sphinx documentation project.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if your Sphinx documentation is stable and you need simple block diagrams without external image management.
No, if you require active maintenance, need to support future Sphinx versions, or prefer a maintained alternative. The low install friction and permissive license are offset by the project's abandonment status—use it only when you're confident your Sphinx and Python environment will remain compatible.
Install
sphinxcontrib-blockdiag on PyPI
Before you install
Low friction to install, but the project is abandoned—last release was 2021-12-05 and last commit 2022-09-29. It works with current Python versions (3.7+) but receives no active maintenance.
Requires Sphinx and blockdiag as runtime dependencies; blockdiag itself may have system-level dependencies for diagram rendering.
License in practice
BSD license is permissive; you can use this in commercial and open-source projects with minimal restrictions, though you must include the license notice.
Quickstart
pip install sphinxcontrib-blockdiag
In conf.py:
extensions = ['sphinxcontrib.blockdiag']
In your .rst file:
.. blockdiag::
diagram {
A -> B -> C;
B -> D;
}
Verify before relying
- Whether blockdiag's own dependencies (e.g., Pillow, graphviz) are automatically satisfied or require separate installation.
- Compatibility with Sphinx versions beyond those tested at release; the extension may not work with very recent Sphinx releases.
- Whether the generated diagrams render correctly in modern Sphinx output formats (HTML5, PDF).
Package facts
| License | BSD permissive |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesblockdiagSphinx |
| Maintenance | Abandoned 1,713 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 75,350 / month, #14,724 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: ConsoleEnvironment :: Web EnvironmentFramework :: Sphinx :: ExtensionIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: DocumentationTopic :: Documentation :: SphinxTopic :: Utilities |
Evidence: sphinxcontrib_blockdiag-3.0.0-py2.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 › “sphinx block diagram extension”
- sphinxcontrib-blockdiagA Sphinx extension that embeds block diagrams into documentation by…
- sphinxcontrib-drawioA Sphinx extension that embeds draw.io diagrams into documentation by…
- sphinxcontrib-mermaidEmbeds Mermaid diagrams (flowcharts, sequence diagrams, Gantt charts,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also blockdiag · jupyter-sphinx · sphinxcontrib-mermaid · sphinxcontrib-video · sphinxcontrib-drawio · sphinxcontrib-programoutput · sphinxcontrib-plantuml · mkdocs-kroki-plugin · breathe · sphinxcontrib-youtube