steps

Summary list of all ready-made steps in the pypyr estate.

titledescription
custom stepCreate your own custom step.
pypyr.steps.addAdd item to a set.
pypyr.steps.appendAppend item to a list.
pypyr.steps.assertStop pipeline if item in context is not as expected.
pypyr.steps.callCall another step-group. Continue from the same place after the called groups complete.
pypyr.steps.cmdRun any external program, command, script.
pypyr.steps.cmdsRun external programs, commands & scripts concurrently in parallel.
pypyr.steps.configvarsInject variables from config into pipeline.
pypyr.steps.contextclearRemove specified items from context.
pypyr.steps.contextclearallWipe the entire context.
pypyr.steps.contextcopyCopy entire context keys.
pypyr.steps.contextmergeMerges values into context, preserving the existing context hierarchy.
pypyr.steps.contextsetfOld name for set. Use set instead.
pypyr.steps.debugPretty print context to output.
pypyr.steps.defaultSet values if they do not exist already.
pypyr.steps.echoEcho context value of echoMe to the output.
pypyr.steps.envGet, set or unset $ENVs.
pypyr.steps.envgetGet $ENVs & use a default fallback if they don’t exist.
pypyr.steps.fetchjsonLoad json file into pypyr context.
pypyr.steps.fetchtomlLoad toml file into pypyr context.
pypyr.steps.fetchyamlLoad yaml file into pypyr context.
pypyr.steps.fileformatFind & replace substitution {tokens} in any file.
pypyr.steps.fileformatjsonFind & replace substitution {tokens} in a json file.
pypyr.steps.fileformattomlFind & replace substitution {tokens} in a toml file.
pypyr.steps.fileformatyamlFind & replace substitution {tokens} in a yaml file.
pypyr.steps.filereadRead file into pypyr context.
pypyr.steps.filereplaceFind & replace any arbitrary search strings in a file.
pypyr.steps.filewriteWrite payload to file.
pypyr.steps.filewritejsonWrite payload to file in json format.
pypyr.steps.filewritetomlWrite payload to file in toml format.
pypyr.steps.filewriteyamlWrite payload to file in yaml format.
pypyr.steps.globGet paths from glob expression.
pypyr.steps.jsonparseParse json string into pypyr context.
pypyr.steps.jumpJump to another step-group. The rest of the current step-group doesn’t run.
pypyr.steps.nowSaves current local date-time to context now.
pypyr.steps.nowutcSaves current utc date-time to context nowUtc.
pypyr.steps.pathcheckCheck if paths exist on filesystem.
pypyr.steps.pyExecute inline python code.
pypyr.steps.pyimportUse external libraries in your !py expressions.
pypyr.steps.pypeCall another pipeline from the current pipeline.
pypyr.steps.pypyrversionWrite current pypyr version number to output.
pypyr.steps.pythonGet the absolute path of the current Python executable.
pypyr.steps.safeshellDeprecated alias for cmd
pypyr.steps.setSet & format context keys.
pypyr.steps.shellRun commands in the default shell. Use for pipes, wildcards, $ENVs, ~
pypyr.steps.shellsRun shell statements concurrently in parallel.
pypyr.steps.stopStop pypyr entirely.
pypyr.steps.stoppipelineStop current pipeline.
pypyr.steps.stopstepgroupStop current step-group.
pypyr.steps.switchConditional branching for IF-THEN-ELSE control-of-flow.
pypyr.steps.tarArchive and/or extract tars with/without compression. Supports gzip, bzip2 & lzma.
pypyr.steps.venvCreate a virtual environment (venv).
pypyraws.steps.clientExecute any low-level AWS client method.
pypyraws.steps.ecswaitprepRun me after an ecs task run or stop to prepare an ecs waiter.
pypyraws.steps.s3fetchjsonFetch a json file from s3 into the pypyr context.
pypyraws.steps.s3fetchyamlFetch a yaml file from s3 into the pypyr context.
pypyraws.steps.waitWait for an aws client waiter method to complete.
pypyraws.steps.waitforWait for any aws client method to complete, even when it doesn’t have an official waiter.
pypyrslack.steps.sendSend messages or notifications to slack.
last updated on .