The cross-platform tool to execute bash commands remotely.
Project description
Plinux
Cross-platform tool to work with remote Linux OS.
Plinux based on paramiko project. It can establish ssh connection to a remote server, execute command as user or with sudo rights. Plinux returns object with exit code, sent command, stdout/sdtderr response.
Installation
For most users, the recommended method to install is via pip:
pip install plinux
Usage
client = Plinux(host='172.16.0.124', username='bobby', password='qawsedrf')
response = client.run_cmd('hostname')
print(response.stdout) # WebServer
print(response.ok) # True
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
plinux-1.0.3.tar.gz
(6.9 kB
view hashes)
Built Distribution
plinux-1.0.3-py3-none-any.whl
(19.5 kB
view hashes)