Hasty Briefsbeta

A library and CLI app for rendering project templates

a day ago
  • #project-templates
  • #python
  • #cli
  • Copier is a library and CLI app for rendering project templates.
  • It works with local paths and Git URLs, dynamically replacing values in text files.
  • Copier generates output carefully, avoiding overwriting files unless instructed.
  • Installation requires Python 3.9+ and Git 2.27+.
  • Install via pipx, pip, conda, Nix flake, or Homebrew.
  • Quick start involves creating a template with a copier.yml configuration.
  • Templates can include dynamic file and folder names using Jinja2 syntax.
  • Generate projects via CLI or Python code with run_copy.
  • Basic concepts include Templates, Questionnaires, and Projects.
  • Target audiences are Template creators and consumers.
  • Templates support code scaffolding and lifecycle management.
  • Public templates can be browsed on GitHub using the copier-template topic.
  • Support Copier by adding a badge to your project.
  • Credits to original creator jpsca and contributors like pykong, yajo, pawamoy, and sisp.