Skip to main content

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')

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

If you're not sure about the file name format, learn more about wheel file names.

gqylpy_ssh-1.2.6-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

Details for the file gqylpy_ssh-1.2.6-py3-none-any.whl.

File metadata

  • Download URL: gqylpy_ssh-1.2.6-py3-none-any.whl
  • Upload date:
  • Size: 19.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for gqylpy_ssh-1.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d499e1064379172173213c0cfcf5351aed6311e08e79bfcfca4dfbcbafb62024
MD5 6968660d336336b7cb50972697422bb6
BLAKE2b-256 eff614ab88c9a35b41fddd21d22598f9dea648e83c63d2ef90df81f7b2aed437

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.2.6 This release

1 file

1.2.5

1 file

1.2.4

1 file

1.2.3

1 file

1.2.2

1 file

1.2.1

1 file

1.2

1 file

1.1

1 file

1.0.3

1 file

1.0.2

1 file

1.0.1

1 file

1.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page