Skip to main content

No project description provided

Project description

LOGO Release Python Versions License Downloads

gqylpy-ssh

在远程服务器执行命令并得到执行结果,它是对 paramiko 库的二次封装。在 Command 对象中,提供了多种方法用于判断命令执行结果是否如期。

pip3 install gqylpy_ssh

>>> from gqylpy_ssh import GqylpySSH, Command

>>> ssh = GqylpySSH('192.168.1.7', 22, username='gqylpy', password=...)
>>> c: Command = ssh.cmd('echo Hi, GQYLPY')

>>> c.status_output
(True, 'Hi, GQYLPY')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

gqylpy_ssh-1.2-py3-none-any.whl (19.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page