pybenutils 7.9.2__tar.gz → 7.10.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pybenutils-7.9.2/pybenutils.egg-info → pybenutils-7.10.0}/PKG-INFO +1 -2
- {pybenutils-7.9.2 → pybenutils-7.10.0}/pybenutils/network/ssh_utils.py +3 -3
- {pybenutils-7.9.2 → pybenutils-7.10.0/pybenutils.egg-info}/PKG-INFO +1 -2
- {pybenutils-7.9.2 → pybenutils-7.10.0}/pybenutils.egg-info/requires.txt +0 -1
- {pybenutils-7.9.2 → pybenutils-7.10.0}/pyproject.toml +1 -2
- {pybenutils-7.9.2 → pybenutils-7.10.0}/DEPLOYMENT.md +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/LICENSE +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/MANIFEST.in +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/README.md +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/deploy_requirements.txt +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/pybenutils/__init__.py +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/pybenutils/amazon_boto3/__init__.py +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/pybenutils/amazon_boto3/amazon_obj.py +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/pybenutils/autogui/__init__.py +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/pybenutils/autogui/__main__.py +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/pybenutils/autogui/auto_gui_cls.py +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/pybenutils/browsers/__init__.py +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/pybenutils/browsers/chrome.py +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/pybenutils/browsers/firefox.py +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/pybenutils/browsers/selenium_utils.py +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/pybenutils/browsers/simple_browser_controller_cls.py +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/pybenutils/browsers/web_driver.py +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/pybenutils/browsers/windows_browsers_keywords.py +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/pybenutils/cli_tools.py +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/pybenutils/network/__init__.py +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/pybenutils/network/download_manager.py +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/pybenutils/network/http_cert_info.py +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/pybenutils/network/s3_bucket_cls.py +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/pybenutils/network/ssh_helper.py +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/pybenutils/os_operations/__init__.py +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/pybenutils/os_operations/files_and_directories.py +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/pybenutils/os_operations/mac_application_control.py +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/pybenutils/os_operations/mac_input_control.py +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/pybenutils/os_operations/mac_operations.py +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/pybenutils/os_operations/mac_popup_handler.py +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/pybenutils/os_operations/process.py +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/pybenutils/os_operations/window_operations.py +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/pybenutils/proxmox_utils.py +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/pybenutils/tests_files_utils.py +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/pybenutils/useful.py +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/pybenutils/utils_logger/__init__.py +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/pybenutils/utils_logger/config_logger.py +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/pybenutils/windows_registry.py +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/pybenutils.egg-info/SOURCES.txt +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/pybenutils.egg-info/dependency_links.txt +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/pybenutils.egg-info/top_level.txt +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/setup.cfg +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/tests/test_self_import.py +0 -0
- {pybenutils-7.9.2 → pybenutils-7.10.0}/webserver/pyserver.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pybenutils
|
|
3
|
-
Version: 7.
|
|
3
|
+
Version: 7.10.0
|
|
4
4
|
Summary: PyBEN Utilities repository contains a variety of useful methods and classes designed to allow easy access to high-level operations
|
|
5
5
|
Author: Ben Moskovitch
|
|
6
6
|
Author-email: Ben Moskovitch <darkflameben@gmail.com>
|
|
@@ -29,7 +29,6 @@ Requires-Dist: selenium>=4.39.0
|
|
|
29
29
|
Requires-Dist: multiprocess>=0.70.18
|
|
30
30
|
Requires-Dist: boto>=2.49.0
|
|
31
31
|
Requires-Dist: pysocks>=1.7.1
|
|
32
|
-
Requires-Dist: typing>=3.7.4.3
|
|
33
32
|
Requires-Dist: idna>=3.11
|
|
34
33
|
Requires-Dist: pyOpenSSL>=25.3.0
|
|
35
34
|
Requires-Dist: cryptography>=46.0.3
|
|
@@ -23,7 +23,7 @@ def run_commands(server: str,
|
|
|
23
23
|
commands: List[str],
|
|
24
24
|
stop_on_exception=False,
|
|
25
25
|
stop_on_error=False,
|
|
26
|
-
|
|
26
|
+
**kwargs):
|
|
27
27
|
"""Execute the given commands through ssh connection
|
|
28
28
|
|
|
29
29
|
Special commands:
|
|
@@ -38,14 +38,14 @@ def run_commands(server: str,
|
|
|
38
38
|
:param commands: List of commands to execute
|
|
39
39
|
:param stop_on_exception: Will stop executing commands if an exception occurred
|
|
40
40
|
:param stop_on_error: Will stop executing commands if an execution returned an stderr string
|
|
41
|
-
:param
|
|
41
|
+
:param kwargs: Arguments to pass to ssh.connect
|
|
42
42
|
:return: List of return objects [{'ssh_stdin': str, 'ssh_stdout': str, 'ssh_stderr': str}]
|
|
43
43
|
"""
|
|
44
44
|
transition_responses = []
|
|
45
45
|
ssh = SSHClient()
|
|
46
46
|
ssh.set_missing_host_key_policy(AutoAddPolicy())
|
|
47
47
|
print(f'Connecting to {server}')
|
|
48
|
-
ssh.connect(server, username=username, password=password,
|
|
48
|
+
ssh.connect(server, username=username, password=password, **kwargs)
|
|
49
49
|
for command in commands:
|
|
50
50
|
try:
|
|
51
51
|
if command.startswith('RECURSIVE-GET') or command.startswith('GET'):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pybenutils
|
|
3
|
-
Version: 7.
|
|
3
|
+
Version: 7.10.0
|
|
4
4
|
Summary: PyBEN Utilities repository contains a variety of useful methods and classes designed to allow easy access to high-level operations
|
|
5
5
|
Author: Ben Moskovitch
|
|
6
6
|
Author-email: Ben Moskovitch <darkflameben@gmail.com>
|
|
@@ -29,7 +29,6 @@ Requires-Dist: selenium>=4.39.0
|
|
|
29
29
|
Requires-Dist: multiprocess>=0.70.18
|
|
30
30
|
Requires-Dist: boto>=2.49.0
|
|
31
31
|
Requires-Dist: pysocks>=1.7.1
|
|
32
|
-
Requires-Dist: typing>=3.7.4.3
|
|
33
32
|
Requires-Dist: idna>=3.11
|
|
34
33
|
Requires-Dist: pyOpenSSL>=25.3.0
|
|
35
34
|
Requires-Dist: cryptography>=46.0.3
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "pybenutils"
|
|
7
|
-
version = "7.
|
|
7
|
+
version = "7.10.0"
|
|
8
8
|
description = "PyBEN Utilities repository contains a variety of useful methods and classes designed to allow easy access to high-level operations"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.8"
|
|
@@ -46,7 +46,6 @@ dependencies = [
|
|
|
46
46
|
"multiprocess>=0.70.18",
|
|
47
47
|
"boto>=2.49.0",
|
|
48
48
|
"pysocks>=1.7.1",
|
|
49
|
-
"typing>=3.7.4.3",
|
|
50
49
|
"idna>=3.11",
|
|
51
50
|
"pyOpenSSL>=25.3.0",
|
|
52
51
|
"cryptography>=46.0.3",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|