MCPcopy Create free account

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

Types & classes60 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:127
↓ 11 callersClassTemplate
Object that represents a template and its current state. See [configuring a template][configuring-a-template]. Attributes: url:
copier/_template.py:207
↓ 7 callersClassSettingsModel
User settings model.
copier/_settings.py:80
↓ 6 callersClassUserMessageError
Exit the program giving a message to the user.
copier/errors.py:60
↓ 5 callersClassForbiddenPathError
The path is forbidden in the given context.
copier/errors.py:118
↓ 4 callersClassSandboxedEnvironment
A Jinja sandbox that keeps capable objects away from templates.
copier/_jinja_ext.py:31
↓ 4 callersClassTask
Object that represents a task to execute. Attributes: cmd: Command to execute. extra_vars: Additional va
copier/_template.py:177
↓ 3 callersClassSettings
User settings.
copier/_settings.py:28
↓ 2 callersClassAnswersMap
Object that gathers answers from different sources. Attributes: user: Answers provided by the user, interactively. i
copier/_user_data.py:70
↓ 2 callersClassInteractiveSessionError
An interactive session is required to run this program.
copier/errors.py:239
↓ 2 callersClassInvalidTypeError
The question type is not among the supported ones.
copier/errors.py:96
↓ 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:74
↓ 1 callersClassCopierAnswersInterrupt
CopierAnswersInterrupt is raised during interactive question prompts. It typically follows a KeyboardInterrupt (i.e. ctrl-c) and provides an
copier/errors.py:129
↓ 1 callersClassCopierTemplateLoader
Jinja2 filesystem loader for a Copier template.
copier/_jinja_ext.py:51
↓ 1 callersClassExtensionNotFoundError
Extensions listed in the configuration could not be loaded.
copier/errors.py:125
↓ 1 callersClassInvalidConfigFileError
Indicates that the config file is wrong.
copier/errors.py:78
↓ 1 callersClassMultipleConfigFilesError
Both copier.yml and copier.yaml found, and that's an error.
copier/errors.py:87
↓ 1 callersClassMultipleYieldTagsError
Multiple yield tags are used in one path name, but it is not allowed.
copier/errors.py:173
↓ 1 callersClassPathNotAbsoluteError
The path is not absolute, but it should be.
copier/errors.py:104
↓ 1 callersClassPathNotRelativeError
The path is not relative, but it should be.
copier/errors.py:111
↓ 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:136
↓ 1 callersClassSettingsError
Exception raised when the settings are invalid.
copier/errors.py:246
↓ 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:157
↓ 1 callersClassUnsupportedVersionError
Copier version does not support template version.
copier/errors.py:70
↓ 1 callersClassYieldContext
copier/_jinja_ext.py:85
↓ 1 callersClassYieldTagInFileError
A yield tag is used in the file content, but it is not allowed.
copier/errors.py:169
↓ 1 callersClass_PathStr
A string that represents a path.
copier/_vcs.py:35
ClassCleanupWarning
Failed to clean up the destination after an error.
copier/errors.py:235
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:56
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:207
ClassDirtyLocalWarning
Changes and untracked files present in template.
copier/errors.py:219
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:231
ClassMissingSettingsWarning
Settings path has been defined but file is missing.
copier/errors.py:227
ClassOldTemplateWarning
Template was designed for an older Copier version.
copier/errors.py:215
ClassPathError
The path is invalid in the given context.
copier/errors.py:100
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:223
ClassSpawn
tests/helpers.py:73
ClassStyle
Common color styles.
copier/_tools.py:28
ClassTaskError
Exception raised when a task fails.
copier/errors.py:177
ClassUnknownCopierVersionWarning
Cannot determine installed Copier version.
copier/errors.py:211
ClassUnsetError
copier/_jinja_ext.py:191
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:100
Class_Loader
Intermediate class to avoid monkey-patching main loader.
copier/_template.py:95
Class_Subcommand
Base class for Copier subcommands.
copier/_cli.py:117