Skip to content

Files

Latest commit

ffc1263 · May 25, 2024

History

History
33 lines (22 loc) · 1.05 KB

README.md

File metadata and controls

33 lines (22 loc) · 1.05 KB

PyShellScript

This project provides a Python-based wrapper for executing and managing local and remote commands without the need for Bash scripting. It leverages paramiko for SSH communication and subprocess for local command execution, and includes live log streaming capabilities.

Features

  • Remote Command Execution: Utilize paramiko to execute commands on remote servers via SSH. You can execute commands and shell scripts!
  • Local Command Execution: Use subprocess to run commands locally on your system.
  • Live Log Streaming: Stream command outputs in real-time, facilitating live monitoring of command execution for both Remote and Local command Executions
  • Python-Centric: Manage all functionalities directly from Python scripts, enhancing script automation and integration.

Getting Started

Installation

Install by pip:

pip install pyshellscript

clone this repository:

git clone https://github.com/dk-tgz/PyShellScript