Registry / devops / copier-templates-extensions

copier-templates-extensions

JSON →
library0.3.2pypypi✓ verified 86d ago

Deprecated package. The project has been renamed to `copier-template-extensions` (singular). Install the new package instead. Current version 0.3.3 provides backward-compatible shims for the old import paths.

pip install copier-template-extensions
INSTALL
IMPORT
SIG · COPIER-TEMPLATES-E
C
copier-templates-extensions
devopspythonv0.3.2
Install
5.3s avg
Import
1539ms
Disk
147MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v? · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 1.588s · 111.5MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 5.3s · import 1.490s · 182MB
147MB installed
● package 147MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ContextHook
from copier_template_extensions import ContextHook
from copier_templates_extensions import ContextHook
Old package name was 'copier-templates-extensions' (plural). The rename changed the import path to singular.

Basic usage of ContextHook. Note the singular import path.

# Install the new package # pip install copier-template-extensions from copier_template_extensions import ContextHook class MyHook(ContextHook): def hook(self, context: dict) -> dict: context['my_key'] = 'value' return context
Debug
Known issues
breakingPackage renamed from 'copier-templates-extensions' to 'copier-template-extensions' (singular). The old package is deprecated and will no longer receive updates.
fix
pip uninstall copier-templates-extensions && pip install copier-template-extensions
affects: >=0.3.2
breakingThe import path changed: from 'copier_templates_extensions' (plural) to 'copier_template_extensions' (singular). Old imports will break in future versions.
fix
Change imports to 'from copier_template_extensions import ...'
affects: >=0.3.2
deprecatedThe old package (copier-templates-extensions) is deprecated. Installing it will pull in the new package but this compatibility shim may be removed.
fix
Install copier-template-extensions directly.
affects: 0.3.3
gotchaRequires Copier >= 9.2. If you have an older Copier version, the extensions may fail to load.
fix
Upgrade Copier: pip install --upgrade copier
affects: >=0.3.1
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'copier_template_extensions'
You installed the old package name but used the new singular import path, or vice versa.
fix
Install the correct package: pip install copier-template-extensions (singular). Then use: from copier_template_extensions import ContextHook
ImportError: cannot import name 'ContextHook' from 'copier_templates_extensions'
You are using the old plural package name but the import path changed.
fix
Switch to the new singular package: pip install copier-template-extensions, then use: from copier_template_extensions import ContextHook
AttributeError: module 'copier_templates_extensions' has no attribute 'ContextHook'
Old package stopped exporting ContextHook directly after rename (shims may be incomplete).
fix
Install and import from the new package: pip install copier-template-extensions; from copier_template_extensions import ContextHook
Upgrade
Version history
0.3.2latest on PyPI · released Jul 15, 2025
Audit
Dependencies
copierrequiredRequired for extension functionality; version >=9.2.
copier-template-extensionsrequiredReplacement package; this deprecated package is a holdover.
Agent activity
8 hits · last 30 days
node
8
Resources
copier-templates-extensions — pip install copier-templates-extensions · libregistry