MCPcopy Create free account

hub / github.com/copier-org/copier / types & classes

Types & classes57 in github.com/copier-org/copier

↓ 18 callersClassWorker
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 callersClassTemplate
Object that represents a template and its current state. See [configuring a template][configuring-a-template]. Attributes: url:
copier/_template.py:192
↓ 6 callersClassSettingsModel
User settings model.
copier/_settings.py:78
↓ 6 callersClassUserMessageError
Exit the program giving a message to the user.
copier/errors.py:59
↓ 4 callersClassTask
Object that represents a task to execute. Attributes: cmd: Command to execute. extra_vars: Additional va
copier/_template.py:162
↓ 3 callersClassForbiddenPathError
The path is forbidden in the given context.
copier/errors.py:117
↓ 3 callersClassSettings
User settings.
copier/_settings.py:26
↓ 2 callersClassAnswersMap
Object that gathers answers from different sources. Attributes: user: Answers provided by the user, interactively. i
copier/_user_data.py:71
↓ 2 callersClassInteractiveSessionError
An interactive session is required to run this program.
copier/errors.py:234
↓ 2 callersClassInvalidTypeError
The question type is not among the supported ones.
copier/errors.py:95
↓ 2 callersClassLazyDict
A dict where values are functions that get evaluated only once when requested.
copier/_types.py:71
↓ 1 callersClassConfigFileError
Parent class defining problems with the config file.
copier/errors.py:73
↓ 1 callersClassCopierAnswersInterrupt
CopierAnswersInterrupt is raised during interactive question prompts. It typically follows a KeyboardInterrupt (i.e. ctrl-c) and provides an
copier/errors.py:128
↓ 1 callersClassExtensionNotFoundError
Extensions listed in the configuration could not be loaded.
copier/errors.py:124
↓ 1 callersClassInvalidConfigFileError
Indicates that the config file is wrong.
copier/errors.py:77
↓ 1 callersClassMultipleConfigFilesError
Both copier.yml and copier.yaml found, and that's an error.
copier/errors.py:86
↓ 1 callersClassMultipleYieldTagsError
Multiple yield tags are used in one path name, but it is not allowed.
copier/errors.py:172
↓ 1 callersClassPathNotAbsoluteError
The path is not absolute, but it should be.
copier/errors.py:103
↓ 1 callersClassPathNotRelativeError
The path is not relative, but it should be.
copier/errors.py:110
↓ 1 callersClassQuestion
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 callersClassSettingsError
Exception raised when the settings are invalid.
copier/errors.py:241
↓ 1 callersClassSubproject
Object that represents the subproject and its current state. Attributes: local_abspath: Absolute path on local disk pointing
copier/_subproject.py:23
↓ 1 callersClassUnsafeTemplateError
Unsafe Copier template features are used without explicit consent.
copier/errors.py:156
↓ 1 callersClassUnsupportedVersionError
Copier version does not support template version.
copier/errors.py:69
↓ 1 callersClassYieldContext
copier/_jinja_ext.py:19
↓ 1 callersClassYieldTagInFileError
A yield tag is used in the file content, but it is not allowed.
copier/errors.py:168
↓ 1 callersClass_PathStr
A string that represents a path.
copier/_vcs.py:35
ClassCopierApp
The Copier CLI application.
copier/_cli.py:95
ClassCopierCheckUpdateSubApp
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
ClassCopierCopySubApp
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
ClassCopierError
Base class for all other Copier errors.
copier/errors.py:55
ClassCopierFixture
tests/test_prompt.py:995
ClassCopierRecopySubApp
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
ClassCopierUpdateSubApp
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
ClassCopierWarning
Base class for all other Copier warnings.
copier/errors.py:206
ClassDirtyLocalWarning
Changes and untracked files present in template.
copier/errors.py:218
ClassFilterExtension
Jinja2 extension to add a filter to the Jinja2 environment.
tests/test_jinja2_extensions.py:15
ClassGlobalsExtension
Jinja2 extension to add global variables to the Jinja2 environment.
tests/test_jinja2_extensions.py:27
ClassJinjaExtension
tests/test_unsafe.py:20
ClassKeyboard
tests/helpers.py:79
ClassMissingFileWarning
I still couldn't find what I'm looking for.
copier/errors.py:230
ClassMissingSettingsWarning
Settings path has been defined but file is missing.
copier/errors.py:226
ClassOldTemplateWarning
Template was designed for an older Copier version.
copier/errors.py:214
ClassPathError
The path is invalid in the given context.
copier/errors.py:99
ClassPhase
The known execution phases.
copier/_types.py:98
ClassPrompt
tests/test_templated_prompt.py:39
ClassQuestionTreeFixture
tests/test_prompt.py:968
ClassShallowCloneWarning
The template repository is a shallow clone.
copier/errors.py:222
ClassSpawn
tests/helpers.py:73
ClassStyle
Common color styles.
copier/_tools.py:28
ClassTaskError
Exception raised when a task fails.
copier/errors.py:176
ClassUnknownCopierVersionWarning
Cannot determine installed Copier version.
copier/errors.py:210
ClassUnsetError
copier/_jinja_ext.py:125
ClassVcsRef
copier/_types.py:129
ClassYieldExtension
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