$npx skillfedfor your agent

copier-templates-extensions

Deprecated (renamed). Install `copier-template-extensions` instead.

With conditionsPyPI Software DevelopmentReleased Jul 2025138.2K downloads / moISCPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — copier_templates_extensions-0.3.2-py3-none-any.whl
v0.3.2 · released 2025-07-15 · Python >=3.9 · 1 runtime deps: copier-template-extensions

Yes, if you maintain or author Copier templates and need to bundle custom Jinja extensions or dynamic context logic. The package is stable, permissively licensed, and has low install friction. The aging maintenance status (395 days since last release) is a minor concern but not a blocker—the repository is not archived, and the package supports current Python versions. Install it only if you are actively using Copier templates; it has no standalone utility.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later; intended for use within Copier template projects, not standalone.
  • Low friction install with a single runtime dependency.
  • Maintenance status is aging—last release was 395 days ago—but the repository remains active and the package supports current Python versions through 3.14.

License · maintenance · safety

ISC (permissive) — Licensed under ISC (permissive), allowing free use, modification, and distribution with minimal restrictions.

last release 2025-07-15 (395 days) · last repo commit 2025-07-15 · 35 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 138,153 downloads/mo, #11,342 on PyPI

Verify before relying

pip install copier-template-extensions

# In copier.yml:
_jinja_extensions:
  - copier_template_extensions.TemplateExtensionLoader
  - extensions/context.py:ContextUpdater

# In extensions/context.py:
from copier_template_extensions import ContextHook

class ContextUpdater(ContextHook):
    def hook(self, context):
        context["derived_value"] = some_computation(context)
  • Whether the package is actively maintained or in maintenance-only mode given the 395-day gap since last release.
  • Real-world performance or stability impact when context hooks run across multiple Copier rendering phases.
Same gist for agents: .md · .json

What it is and what it does

Copier Template-Extensions is a Jinja2 extension for the Copier project templating tool that solves a specific problem: loading custom Jinja2 extensions from file paths relative to your template root instead of requiring Python dotted import paths. This is useful when you want to bundle custom filters, tests, or macros directly inside your template project without publishing them as separate packages.

The package provides two main features. First, the TemplateExtensionLoader extension lets you register custom extensions by specifying a relative file path and class name (e.g., `extensions/slugify.py:SlugifyExtension`). Second, it includes a ContextHook base class that lets you modify the template rendering context programmatically—adding computed values, inferring answers from user input, or fetching external data—without cluttering your template files with complex Jinja logic. This is particularly useful in template projects where you want to keep template filenames and logic clean while still supporting dynamic behavior.

Use it for

  • Add custom Jinja filters (like slugify) to a Copier template without publishing a separate package.
  • Infer template variables from user answers (e.g., derive module names based on project type) using a context hook.
  • Organize template-specific extensions in a dedicated directory within your template project.
  • Fetch or compute context data from external sources during template rendering phases.
  • Keep template filenames simple and readable by computing derived values in Python instead of Jinja macros.

Worth the install?

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

With conditions

Yes, if you maintain or author Copier templates and need to bundle custom Jinja extensions or dynamic context logic.

The package is stable, permissively licensed, and has low install friction. The aging maintenance status (395 days since last release) is a minor concern but not a blocker—the repository is not archived, and the package supports current Python versions. Install it only if you are actively using Copier templates; it has no standalone utility.

Install

copier-templates-extensions on PyPI

Before you install

Low friction install with a single runtime dependency. Maintenance status is aging—last release was 395 days ago—but the repository remains active and the package supports current Python versions through 3.14.

Requires Python 3.9 or later; intended for use within Copier template projects, not standalone.

License in practice

Licensed under ISC (permissive), allowing free use, modification, and distribution with minimal restrictions.

Quickstart

pip install copier-template-extensions

# In copier.yml:
_jinja_extensions:
  - copier_template_extensions.TemplateExtensionLoader
  - extensions/context.py:ContextUpdater

# In extensions/context.py:
from copier_template_extensions import ContextHook

class ContextUpdater(ContextHook):
    def hook(self, context):
        context["derived_value"] = some_computation(context)

Verify before relying

  • Whether the package is actively maintained or in maintenance-only mode given the 395-day gap since last release.
  • Real-world performance or stability impact when context hooks run across multiple Copier rendering phases.

Package facts

LicenseISC permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
copier-template-extensions
MaintenanceAging 395 days since the last release
Last repo commit
First released
Downloads138,153 / month, #11,342 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Topic :: Software DevelopmentTopic :: UtilitiesTyping :: Typed

Evidence: copier_templates_extensions-0.3.2-py3-none-any.whl

Tags

Capabilities
copier jinja2 extensionstemplate extension loadercopier context hookrelative path jinja extensionscopier template customizationdynamic template contextcopier plugin system
Topics
copier-pluginjinja2-extensiontemplate-engine

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 › “copier context hook”

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

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also copier-template-extensions · copier · Jinja2 · mkdocs-macros-plugin · ruamel.yaml.jinja2 · sphinx-jinja · django-debug-toolbar-template-profiler · jinja_partials · mkdocs-include-markdown-plugin · djhtml