Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/copier-org/copier
/ types & classes
Types & classes
57 in github.com/copier-org/copier
⨍
Functions
643
◇
Types & classes
57
↳
Endpoints
9
↓ 18 callers
Class
Worker
Copier process state manager. This class represents the state of a copier work, and contains methods to actually produce the desired work.
copier/_main.py:117
↓ 11 callers
Class
Template
Object that represents a template and its current state. See [configuring a template][configuring-a-template]. Attributes: url:
copier/_template.py:192
↓ 6 callers
Class
SettingsModel
User settings model.
copier/_settings.py:78
↓ 6 callers
Class
UserMessageError
Exit the program giving a message to the user.
copier/errors.py:59
↓ 4 callers
Class
Task
Object that represents a task to execute. Attributes: cmd: Command to execute. extra_vars: Additional va
copier/_template.py:162
↓ 3 callers
Class
ForbiddenPathError
The path is forbidden in the given context.
copier/errors.py:117
↓ 3 callers
Class
Settings
User settings.
copier/_settings.py:26
↓ 2 callers
Class
AnswersMap
Object that gathers answers from different sources. Attributes: user: Answers provided by the user, interactively. i
copier/_user_data.py:71
↓ 2 callers
Class
InteractiveSessionError
An interactive session is required to run this program.
copier/errors.py:234
↓ 2 callers
Class
InvalidTypeError
The question type is not among the supported ones.
copier/errors.py:95
↓ 2 callers
Class
LazyDict
A dict where values are functions that get evaluated only once when requested.
copier/_types.py:71
↓ 1 callers
Class
ConfigFileError
Parent class defining problems with the config file.
copier/errors.py:73
↓ 1 callers
Class
CopierAnswersInterrupt
CopierAnswersInterrupt is raised during interactive question prompts. It typically follows a KeyboardInterrupt (i.e. ctrl-c) and provides an
copier/errors.py:128
↓ 1 callers
Class
ExtensionNotFoundError
Extensions listed in the configuration could not be loaded.
copier/errors.py:124
↓ 1 callers
Class
InvalidConfigFileError
Indicates that the config file is wrong.
copier/errors.py:77
↓ 1 callers
Class
MultipleConfigFilesError
Both copier.yml and copier.yaml found, and that's an error.
copier/errors.py:86
↓ 1 callers
Class
MultipleYieldTagsError
Multiple yield tags are used in one path name, but it is not allowed.
copier/errors.py:172
↓ 1 callers
Class
PathNotAbsoluteError
The path is not absolute, but it should be.
copier/errors.py:103
↓ 1 callers
Class
PathNotRelativeError
The path is not relative, but it should be.
copier/errors.py:110
↓ 1 callers
Class
Question
One question asked to the user. All attributes are init kwargs. Attributes: var_name: Question name in the answers dict.
copier/_user_data.py:137
↓ 1 callers
Class
SettingsError
Exception raised when the settings are invalid.
copier/errors.py:241
↓ 1 callers
Class
Subproject
Object that represents the subproject and its current state. Attributes: local_abspath: Absolute path on local disk pointing
copier/_subproject.py:23
↓ 1 callers
Class
UnsafeTemplateError
Unsafe Copier template features are used without explicit consent.
copier/errors.py:156
↓ 1 callers
Class
UnsupportedVersionError
Copier version does not support template version.
copier/errors.py:69
↓ 1 callers
Class
YieldContext
copier/_jinja_ext.py:19
↓ 1 callers
Class
YieldTagInFileError
A yield tag is used in the file content, but it is not allowed.
copier/errors.py:168
↓ 1 callers
Class
_PathStr
A string that represents a path.
copier/_vcs.py:35
Class
CopierApp
The Copier CLI application.
copier/_cli.py:95
Class
CopierCheckUpdateSubApp
The `copier check-update` subcommand. Use this subcommand to check if an existing subproject is using the latest version of a template.
copier/_cli.py:471
Class
CopierCopySubApp
The `copier copy` subcommand. Use this subcommand to bootstrap a new subproject from a template, or to override a preexisting subproject igno
copier/_cli.py:216
Class
CopierError
Base class for all other Copier errors.
copier/errors.py:55
Class
CopierFixture
tests/test_prompt.py:995
Class
CopierRecopySubApp
The `copier recopy` subcommand. Use this subcommand to update an existing subproject from a template that supports updates, ignoring any subp
copier/_cli.py:289
Class
CopierUpdateSubApp
The `copier update` subcommand. Use this subcommand to update an existing subproject from a template that supports updates, respecting that s
copier/_cli.py:376
Class
CopierWarning
Base class for all other Copier warnings.
copier/errors.py:206
Class
DirtyLocalWarning
Changes and untracked files present in template.
copier/errors.py:218
Class
FilterExtension
Jinja2 extension to add a filter to the Jinja2 environment.
tests/test_jinja2_extensions.py:15
Class
GlobalsExtension
Jinja2 extension to add global variables to the Jinja2 environment.
tests/test_jinja2_extensions.py:27
Class
JinjaExtension
tests/test_unsafe.py:20
Class
Keyboard
tests/helpers.py:79
Class
MissingFileWarning
I still couldn't find what I'm looking for.
copier/errors.py:230
Class
MissingSettingsWarning
Settings path has been defined but file is missing.
copier/errors.py:226
Class
OldTemplateWarning
Template was designed for an older Copier version.
copier/errors.py:214
Class
PathError
The path is invalid in the given context.
copier/errors.py:99
Class
Phase
The known execution phases.
copier/_types.py:98
Class
Prompt
tests/test_templated_prompt.py:39
Class
QuestionTreeFixture
tests/test_prompt.py:968
Class
ShallowCloneWarning
The template repository is a shallow clone.
copier/errors.py:222
Class
Spawn
tests/helpers.py:73
Class
Style
Common color styles.
copier/_tools.py:28
Class
TaskError
Exception raised when a task fails.
copier/errors.py:176
Class
UnknownCopierVersionWarning
Cannot determine installed Copier version.
copier/errors.py:210
Class
UnsetError
copier/_jinja_ext.py:125
Class
VcsRef
copier/_types.py:129
Class
YieldExtension
Jinja2 extension for the `yield` tag. If `yield` tag is used in a template, this extension stores the yield context which can be accessed via
copier/_jinja_ext.py:34
Class
_Loader
Intermediate class to avoid monkey-patching main loader.
copier/_template.py:92
Class
_Subcommand
Base class for Copier subcommands.
copier/_cli.py:117