Gqylpy-ssh

Latest version: v1.2.6

Safety actively analyzes 623626 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

1.2.6

1. Resolve the issue of `SSHCommandError` exception not being properly handled. 1
2. Fix the issue where the output would include automatically appended commands when a command failed (the "automatically appended command" is the solution used to determine the success of the current command). 2
3. Improve the optional parameter `auto_sudo` (whether to automatically prepend the `sudo` command to the command) by only applying it when the remote user is not the `root` user (the `sudo` command will only be added to the command if the remote user is not root). 3
4. Improve the `SSHCommandError` exception class by changing its inheritance from `Exception` to `paramiko.SSHException`.
5. Refactor (improve) the method of obtaining version information in the `setup` by directly extracting it from `package.__doc__` instead of opening a file.
6. Make some other small optimizations.
7. Adjust the open-source library category information on PyPi.
8. Update the README file.

1.解决 `SSHCommandError` 异常无法被妥善处理的问题。1
2.修复当命令异常时输出中会包含自动追加的命令的问题(“自动追加的命令” 是用于判断当前命令是否执行成功的方案)。2
3.改进可选参数 `auto_sudo` (是否在命令前自动添加 `sudo` 指令),只有当远程用户不是 `root` 用户时该参数才会生效(才会在命令前添加 `sudo` 指令)。3
4.改进 `SSHCommandError` 异常类,从继承 `Exception` 改为继承 `paramiko.SSHException`。
5.重构(改进) `setup` 中获得版本信息的方案,直接从 `package.__doc__` 中提取,而不再打开文件。
6.其它一些小的优化。
7.调整在PyPi上的开源库分类信息。
8.更新自述文件。

1.2.5

1.Optimize logical blocks for real code imports.
2.Fix the error that may occur when the SSH connection is automatically closed, in `GqylpySSH.__del__`.
3.Raise the stack level of warning message, in `GqylpySSH.cmd_many`.
4.Upgrade the unique dependent library version.
5.Update the code format in the readme and sample file.
6.Improve scheme for creating global pointer (pointer to the instance of `GqylpySSH`).
(Note: The bigger changes will come in the next version and will not be compatible with older versions.)

1.优化真实代码导入的逻辑块。
2.修复自动关闭SSH连接时可能发生的错误,在 `GqylpySSH.__del__`。
3.提高警告信息的堆栈级别,在 `GqylpySSH.cmd_many`。
4.升级唯一依赖库版本。
5.更新自述文件和示例文件中的代码格式。
6.改进创建全局指针(指向 `GqylpySSH` 实例的指针)的方案。
(提醒:更大的变化将在下个版本,不会与旧版本兼容。)

1.2.4

1.Ignoring character case is supported in method `contain`.
2.Optimize some code specifications and parameter annotations.

1.2.3

1.Improved command parsing method `output_else_raise`, standard error output is now ignored.
2.Fixed a minor error that could have occurred in the `output` method.

1.2.2

1.Fixed a minor bug.

1.2.1

1.Add method `line2list`.
2.Change method name `output2dict` to `table2dict`.
3.To make it easier for developers to call, we have introduced all the exception classes for `paramiko`.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.