{"id":50977915,"url":"https://github.com/emcd/copier-template-validator","last_synced_at":"2026-06-19T10:30:57.950Z","repository":{"id":364676398,"uuid":"1268800440","full_name":"emcd/copier-template-validator","owner":"emcd","description":null,"archived":false,"fork":false,"pushed_at":"2026-06-14T02:33:49.000Z","size":127,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-06-14T03:10:24.110Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emcd.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-14T00:26:49.000Z","updated_at":"2026-06-14T02:16:58.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/emcd/copier-template-validator","commit_stats":null,"previous_names":["emcd/copier-template-validator"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/emcd/copier-template-validator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emcd%2Fcopier-template-validator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emcd%2Fcopier-template-validator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emcd%2Fcopier-template-validator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emcd%2Fcopier-template-validator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emcd","download_url":"https://codeload.github.com/emcd/copier-template-validator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emcd%2Fcopier-template-validator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34528134,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-19T10:30:56.999Z","updated_at":"2026-06-19T10:30:57.927Z","avatar_url":"https://github.com/emcd.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":".. vim: set fileencoding=utf-8:\n.. -*- coding: utf-8 -*-\n.. +--------------------------------------------------------------------------+\n   |                                                                          |\n   | Licensed under the Apache License, Version 2.0 (the \"License\");          |\n   | you may not use this file except in compliance with the License.         |\n   | You may obtain a copy of the License at                                  |\n   |                                                                          |\n   |     http://www.apache.org/licenses/LICENSE-2.0                           |\n   |                                                                          |\n   | Unless required by applicable law or agreed to in writing, software      |\n   | distributed under the License is distributed on an \"AS IS\" BASIS,        |\n   | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |\n   | See the License for the specific language governing permissions and      |\n   | limitations under the License.                                           |\n   |                                                                          |\n   +--------------------------------------------------------------------------+\n\n*******************************************************************************\n                                    copiertv                                   \n*******************************************************************************\n\n.. image:: https://img.shields.io/pypi/v/copiertv\n   :alt: Package Version\n   :target: https://pypi.org/project/copiertv/\n\n.. image:: https://img.shields.io/pypi/status/copiertv\n   :alt: PyPI - Status\n   :target: https://pypi.org/project/copiertv/\n\n.. image:: https://github.com/emcd/copier-template-validator/actions/workflows/tester.yaml/badge.svg?branch=master\u0026event=push\n   :alt: Tests Status\n   :target: https://github.com/emcd/copier-template-validator/actions/workflows/tester.yaml\n\n.. image:: https://emcd.github.io/copier-template-validator/coverage.svg\n   :alt: Code Coverage Percentage\n   :target: https://github.com/emcd/copier-template-validator/actions/workflows/tester.yaml\n\n.. image:: https://img.shields.io/github/license/emcd/copier-template-validator\n   :alt: Project License\n   :target: https://github.com/emcd/copier-template-validator/blob/master/LICENSE.txt\n\n.. image:: https://img.shields.io/pypi/pyversions/copiertv\n   :alt: Python Versions\n   :target: https://pypi.org/project/copiertv/\n\n\n📋 A generic validator for `Copier \u003chttps://github.com/copier-org/copier\u003e`_\ntemplates. Instantiates templates with various preset answer files\n(variants) and runs configurable validation commands against the\ngenerated projects.\n\nKey Features\n-------------------------------------------------------------------------------\n\n- **Configurable validation commands**: Define validation commands in a\n  TOML configuration file. The tool is agnostic about what gets validated.\n- **Configurable answers directory**: Specify where variant answer files\n  live. No hardcoded convention imposed.\n- **Placeholder interpolation**: Use ``{template_directory}``,\n  ``{project_directory}``, ``{temporary_directory}``, and ``{variant}``\n  in command args and working directories.\n- **Copier Python API**: Uses ``copier.run_copy`` directly instead of\n  shelling out to a subprocess.\n- **Configuration hierarchy**: CLI arguments, per-project config, and\n  per-user config (via ``emcd-appcore``) with clear precedence.\n- **Structured error handling**: Domain-specific exceptions with\n  Markdown rendering for terminal display.\n\n\nInstallation 📦\n===============================================================================\n\nMethod: Install Executable Script\n-------------------------------------------------------------------------------\n\nInstall via the `uv \u003chttps://github.com/astral-sh/uv/blob/main/README.md\u003e`_\n``tool`` command:\n\n::\n\n    uv tool install copiertv\n\nor, run directly with `uvx\n\u003chttps://github.com/astral-sh/uv/blob/main/README.md\u003e`_:\n\n::\n\n    uvx copiertv\n\nOr, install via `pipx \u003chttps://pipx.pypa.io/stable/how-to/install-pipx/\u003e`_:\n\n::\n\n    pipx install copiertv\n\nMethod: Install Python Package\n-------------------------------------------------------------------------------\n\nInstall via `uv \u003chttps://github.com/astral-sh/uv/blob/main/README.md\u003e`_ ``pip``\ncommand:\n\n::\n\n    uv pip install copiertv\n\nOr, install via ``pip``:\n\n::\n\n    pip install copiertv\n\n\nUsage\n===============================================================================\n\nSurvey Variants\n-------------------------------------------------------------------------------\n\nList available template variants (reads answers directory from\nconfiguration)::\n\n    copiertv survey\n\nValidate a Variant\n-------------------------------------------------------------------------------\n\nValidate a template variant::\n\n    copiertv validate default\n\nPreserve the generated project for inspection::\n\n    copiertv validate --preserve default\n\nConfiguration File\n-------------------------------------------------------------------------------\n\nCreate ``.auxiliary/configuration/copiertv/general.toml`` in your\ntemplate repository::\n\n    [answers]\n    directory = \"data/copier\"\n\n    [[commands]]\n    args = [\"hatch\", \"env\", \"prune\"]\n\n    [[commands]]\n    args = [\"hatch\", \"--env\", \"develop\", \"run\", \"make-all\"]\n\n    [options]\n    preserve = false\n    unsafe = false\n\nCommands support placeholder interpolation for paths::\n\n    [[commands]]\n    args = [\"make\", \"check\", \"--source\", \"{project_directory}\"]\n    cwd = \"{template_directory}\"\n\nAvailable placeholders: ``{template_directory}``, ``{project_directory}``,\n``{temporary_directory}``, ``{variant}``.\n\n\nContribution 🤝\n===============================================================================\n\nContribution to this project is welcome! However, it must follow the `code of\nconduct\n\u003chttps://emcd.github.io/python-project-common/stable/sphinx-html/common/conduct.html\u003e`_\nfor the project.\n\nPlease file bug reports and feature requests in the `issue tracker\n\u003chttps://github.com/emcd/copier-template-validator/issues\u003e`_ or submit `pull\nrequests \u003chttps://github.com/emcd/copier-template-validator/pulls\u003e`_ to\nimprove the source code or documentation.\n\nFor development guidance and standards, please see the `development guide\n\u003chttps://emcd.github.io/copier-template-validator/stable/sphinx-html/contribution.html#development\u003e`_.\n\n\nAdditional Indicia\n===============================================================================\n\n.. image:: https://img.shields.io/github/last-commit/emcd/copier-template-validator\n   :alt: GitHub last commit\n   :target: https://github.com/emcd/copier-template-validator\n\n.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/copier-org/copier/master/img/badge/badge-grayscale-inverted-border-orange.json\n   :alt: Copier\n   :target: https://github.com/copier-org/copier\n\n.. image:: https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg\n   :alt: Hatch\n   :target: https://github.com/pypa/hatch\n\n.. image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit\n   :alt: pre-commit\n   :target: https://github.com/pre-commit/pre-commit\n\n.. image:: https://microsoft.github.io/pyright/img/pyright_badge.svg\n   :alt: Pyright\n   :target: https://microsoft.github.io/pyright\n\n.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json\n   :alt: Ruff\n   :target: https://github.com/astral-sh/ruff\n\n.. image:: https://img.shields.io/pypi/implementation/copiertv\n   :alt: PyPI - Implementation\n   :target: https://pypi.org/project/copiertv/\n\n.. image:: https://img.shields.io/pypi/wheel/copiertv\n   :alt: PyPI - Wheel\n   :target: https://pypi.org/project/copiertv/\n\n\nOther Projects by This Author 🌟\n===============================================================================\n\n\n* `python-absence \u003chttps://github.com/emcd/python-absence\u003e`_ (`absence \u003chttps://pypi.org/project/absence/\u003e`_ on PyPI) \n\n  🕳️ A Python library package which provides a **sentinel for absent values** - a falsey, immutable singleton that represents the absence of a value in contexts where ``None`` or ``False`` may be valid values.\n* `python-accretive \u003chttps://github.com/emcd/python-accretive\u003e`_ (`accretive \u003chttps://pypi.org/project/accretive/\u003e`_ on PyPI) \n\n  🌌 A Python library package which provides **accretive data structures** - collections which can grow but never shrink.\n* `python-classcore \u003chttps://github.com/emcd/python-classcore\u003e`_ (`classcore \u003chttps://pypi.org/project/classcore/\u003e`_ on PyPI) \n\n  🏭 A Python library package which provides **foundational class factories and decorators** for providing classes with attributes immutability and concealment and other custom behaviors.\n* `python-detextive \u003chttps://github.com/emcd/python-detextive\u003e`_ (`detextive \u003chttps://pypi.org/project/detextive/\u003e`_ on PyPI) \n\n  🕵️ A Python library which provides consolidated text detection capabilities for reliable content analysis. Offers MIME type detection, character set detection, and line separator processing.\n* `python-dynadoc \u003chttps://github.com/emcd/python-dynadoc\u003e`_ (`dynadoc \u003chttps://pypi.org/project/dynadoc/\u003e`_ on PyPI) \n\n  📝 A Python library package which bridges the gap between **rich annotations** and **automatic documentation generation** with configurable renderers and support for reusable fragments.\n* `python-falsifier \u003chttps://github.com/emcd/python-falsifier\u003e`_ (`falsifier \u003chttps://pypi.org/project/falsifier/\u003e`_ on PyPI) \n\n  🎭 A very simple Python library package which provides a **base class for falsey objects** - objects that evaluate to ``False`` in boolean contexts.\n* `python-frigid \u003chttps://github.com/emcd/python-frigid\u003e`_ (`frigid \u003chttps://pypi.org/project/frigid/\u003e`_ on PyPI) \n\n  🔒 A Python library package which provides **immutable data structures** - collections which cannot be modified after creation.\n* `python-icecream-truck \u003chttps://github.com/emcd/python-icecream-truck\u003e`_ (`icecream-truck \u003chttps://pypi.org/project/icecream-truck/\u003e`_ on PyPI) \n\n  🍦 **Flavorful Debugging** - A Python library which enhances the powerful and well-known ``icecream`` package with flavored traces, configuration hierarchies, customized outputs, ready-made recipes, and more.\n* `python-librovore \u003chttps://github.com/emcd/python-librovore\u003e`_ (`librovore \u003chttps://pypi.org/project/librovore/\u003e`_ on PyPI) \n\n  🐲 **Documentation Search Engine** - An intelligent documentation search and extraction tool that provides both a command-line interface for humans and an MCP (Model Context Protocol) server for AI agents. Search across Sphinx and MkDocs sites with fuzzy matching, extract clean markdown content, and integrate seamlessly with AI development workflows.\n* `python-mimeogram \u003chttps://github.com/emcd/python-mimeogram\u003e`_ (`mimeogram \u003chttps://pypi.org/project/mimeogram/\u003e`_ on PyPI) \n\n  📨 A command-line tool for **exchanging collections of files with Large Language Models** - bundle multiple files into a single clipboard-ready document while preserving directory structure and metadata... good for code reviews, project sharing, and LLM interactions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femcd%2Fcopier-template-validator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femcd%2Fcopier-template-validator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femcd%2Fcopier-template-validator/lists"}