Thứ Bảy, 30 tháng 7, 2022

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

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/DmTQXiC July 29, 2022 at 11:28PM

Không có nhận xét nào:

Đăng nhận xét