Binary package “python3-plumbum” in ubuntu hirsute

library for writing shell script-like programs in Python 3

 python-plumbum provides shell-like syntax and handy shortcuts for writing shell
 script one-liners in Python using shell combinators. It supports local and
 remote command execution (over SSH), local and remote file-system paths,
 easy working-directory and environment manipulation and a programmatic
 Command-Line Interface (CLI) application toolkit.
 This is the Python 3 version.