pyinfra.local module

pyinfra.local.include(filename, hosts=None)

Executes a local python file within the pyinfra.pseudo_state.deploy_dir directory.

pyinfra.local.shell(commands)

Subprocess based implementation of pyinfra/api/ssh.py’s run_shell_command.