{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/15"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/9"}],"enrichment":{"capability":"Provides a Jinja2 extension for Copier that loads custom template extensions from file paths relative to the template root, plus a context hook mechanism for modifying template rendering context.","skillfed_tags":["copier-plugin","jinja2-extension","template-engine"],"use_cases":["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."],"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.\n\nThe 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\u2014adding computed values, inferring answers from user input, or fetching external data\u2014without 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.","worth_installing":"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\u2014the 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."},"id":"copier-templates-extensions","links":{"html":"https://skillfed.io/packages/copier-templates-extensions","md":"https://skillfed.io/packages/copier-templates-extensions.md","pypi":"https://pypi.org/project/copier-templates-extensions/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-07-15","license_spdx":"ISC","license_treatment":"permissive","name":"copier-templates-extensions","python_support":"supports_current","summary":"Deprecated (renamed). Install `copier-template-extensions` instead."},"popularity":{"monthly_downloads":138153,"position":11342,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.3.2"}
