Saturday, July 30, 2022

Show HN: SSHScript – shell script-like Python script https://ift.tt/AWYQmf9

Show HN: SSHScript – shell script-like Python script I have many Python scripts which run commands and deal with outputs on localhost and remote hosts. Between these scripts, there are many common routines. Eg. making ssh connections, execution and collecting data. Based on the subprocess and Paramiko, I created the SSHScript. With it, I could embed shell commands in Python scripts. This kind of script is converted to a regular Python script by SSHScript for execution . Working with SSHScript, I feel like writing shell scripts with Python and all Python packages. For backend engineers who want to automate tasks with Python scripts instead of shell script s , hope you enjoy the SSHScript. https://ift.tt/texn2KA July 30, 2022 at 04:28AM

Labels:

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home