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')
Metadata
Release files for gqylpy-ssh 1.2.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gqylpy_ssh-1.2.6-py3-none-any.whl | Python 3 | none | any | Details for gqylpy_ssh-1.2.6-py3-none-any.whl |
Release files / gqylpy_ssh-1.2.6-py3-none-any.whl
| Download URL | gqylpy_ssh-1.2.6-py3-none-any.whl |
|---|---|
| Size | 19.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d499e1064379172173213c0cfcf5351aed6311e08e79bfcfca4dfbcbafb62024
|
|
BLAKE2b-256 checksum How to use checksums |
eff614ab88c9a35b41fddd21d22598f9dea648e83c63d2ef90df81f7b2aed437
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Security for gqylpy-ssh 1.2.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.