Using pyinfra
How pyinfra Works
API Documentation
Elsewhere
pyinfra.facts.util.files.
parse_ls_output