$npx skillfedfor your agent

sphinxcontrib-towncrier

An RST directive for injecting a Towncrier-generated changelog draft containing fragments for the unreleased (next) project version

With conditionsPyPI UtilitiesReleased Feb 2025163.1K downloads / moBSD 3-Clause LicensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — sphinxcontrib_towncrier-0.5.0a0-py3-none-any.whl
v0.5.0a0 · released 2025-02-28 · Python >=3.9 · 2 runtime deps: sphinx, towncrier

Yes, if you use both Sphinx and Towncrier for your project. The extension solves a real integration gap and is actively maintained. However, note that it is still alpha-stage software (version 0.5.0a0), so expect potential API changes. Install it when you want unreleased changelog fragments visible in your documentation builds without manual duplication.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires towncrier to be pre-configured in your project's pyproject.toml; the extension reads towncrier's configuration from that file.
  • Low install friction with only two runtime dependencies (sphinx and towncrier).
  • Actively maintained with a recent release in February 2025 and ongoing repository activity.

License · maintenance · safety

BSD 3-Clause License (permissive) — BSD 3-Clause License is permissive, allowing commercial and private use with minimal restrictions beyond attribution and liability disclaimers.

last release 2025-02-28 (532 days) · last repo commit 2026-07-06 · 20 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 163,082 downloads/mo, #10,577 on PyPI

Verify before relying

pip install sphinxcontrib-towncrier

# In conf.py:
extensions = ['sphinxcontrib.towncrier.ext']
towncrier_draft_autoversion_mode = 'draft'
towncrier_draft_working_directory = PROJECT_ROOT_DIR

# In changelog.rst:
.. towncrier-draft-entries::
  • Whether the alpha version (0.5.0a0) is stable enough for production documentation builds.
  • Performance characteristics when handling large numbers of changelog fragments.
  • Compatibility with custom towncrier fragment types beyond the defaults.
Same gist for agents: .md · .json

What it is and what it does

sphinxcontrib-towncrier is a Sphinx extension that bridges Sphinx documentation builds with Towncrier, a changelog management tool. It provides an RST directive that automatically renders a draft changelog containing unreleased fragments into your documentation. The extension reads your project's towncrier configuration and injects the generated changelog at build time, allowing you to display work-in-progress release notes alongside your main documentation.

The package has two runtime dependencies: sphinx and towncrier. It supports Python 3.9 through 3.13 and is classified as alpha-stage software. The extension offers configurable version title generation modes (draft, sphinx-version, or sphinx-release) and allows you to override the title with custom text. It's used by projects like ansible/pylibssh and pypa/pip to keep changelog drafts visible during documentation builds.

Use it for

  • Display unreleased changelog fragments in your project's documentation site during development.
  • Automatically generate a draft release notes section in Sphinx docs without manual maintenance.
  • Keep contributors and users informed of upcoming changes by embedding the towncrier draft in your docs.
  • Integrate changelog management into your Sphinx build pipeline for single-source documentation.
  • Override auto-generated version titles with custom release labels or status markers in the changelog.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you use both Sphinx and Towncrier for your project.

The extension solves a real integration gap and is actively maintained. However, note that it is still alpha-stage software (version 0.5.0a0), so expect potential API changes. Install it when you want unreleased changelog fragments visible in your documentation builds without manual duplication.

Install

sphinxcontrib-towncrier on PyPI

Before you install

Low install friction with only two runtime dependencies (sphinx and towncrier). Actively maintained with a recent release in February 2025 and ongoing repository activity.

Requires towncrier to be pre-configured in your project's pyproject.toml; the extension reads towncrier's configuration from that file.

License in practice

BSD 3-Clause License is permissive, allowing commercial and private use with minimal restrictions beyond attribution and liability disclaimers.

Quickstart

pip install sphinxcontrib-towncrier

# In conf.py:
extensions = ['sphinxcontrib.towncrier.ext']
towncrier_draft_autoversion_mode = 'draft'
towncrier_draft_working_directory = PROJECT_ROOT_DIR

# In changelog.rst:
.. towncrier-draft-entries::

Verify before relying

  • Whether the alpha version (0.5.0a0) is stable enough for production documentation builds.
  • Performance characteristics when handling large numbers of changelog fragments.
  • Compatibility with custom towncrier fragment types beyond the defaults.

Package facts

LicenseBSD 3-Clause License permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
sphinxtowncrier
MaintenanceActively maintained 532 days since the last release
Last repo commit
First released
Downloads163,082 / month, #10,577 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaFramework :: SphinxFramework :: Sphinx :: ExtensionIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Topic :: Documentation :: SphinxTopic :: Software Development :: DocumentationTopic :: System :: Software DistributionTopic :: Utilities

Evidence: sphinxcontrib_towncrier-0.5.0a0-py3-none-any.whl

Tags

Capabilities
sphinx changelog directivetowncrier sphinx integrationunreleased changelog in docssphinx extension documentationtowncrier draft entrieschangelog fragment injectionsphinx documentation automation
Topics
sphinx-extensionchangelog-managementdocumentation-automation

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 changelog directive”

Give your agent the search over MCP, or paste the wish link into any chat.

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

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.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

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.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

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.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

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.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

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.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

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.

MITpure Python
1.2Bdownloads / mo

See also changelog · towncrier · sphinxcontrib-video · sphinx_mdinclude · sphinxcontrib-youtube · sphinx-substitution-extensions · sphinxcontrib-typer · sphinx-panels · m2r2 · sphinxcontrib-programoutput