data-transfer-cli 0.3.11__tar.gz → 0.4.1__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.
- {data_transfer_cli-0.3.11 → data_transfer_cli-0.4.1}/PKG-INFO +2 -2
- {data_transfer_cli-0.3.11 → data_transfer_cli-0.4.1}/data_transfer_cli/dtcli.py +3 -4
- {data_transfer_cli-0.3.11 → data_transfer_cli-0.4.1}/pyproject.toml +6 -2
- data_transfer_cli-0.3.11/data_transfer_cli/.env +0 -1
- {data_transfer_cli-0.3.11 → data_transfer_cli-0.4.1}/README.md +0 -0
- {data_transfer_cli-0.3.11 → data_transfer_cli-0.4.1}/data_transfer_cli/__init__.py +0 -0
- {data_transfer_cli-0.3.11 → data_transfer_cli-0.4.1}/data_transfer_cli/conf/cli.cfg +0 -0
- {data_transfer_cli-0.3.11 → data_transfer_cli-0.4.1}/data_transfer_cli/dtcli.cfg +0 -0
- {data_transfer_cli-0.3.11 → data_transfer_cli-0.4.1}/data_transfer_cli/dtproxy.py +0 -0
- {data_transfer_cli-0.3.11 → data_transfer_cli-0.4.1}/data_transfer_cli/parser/__init__.py +0 -0
- {data_transfer_cli-0.3.11 → data_transfer_cli-0.4.1}/data_transfer_cli/parser/cli_parser.py +0 -0
- {data_transfer_cli-0.3.11 → data_transfer_cli-0.4.1}/dtcli +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: data-transfer-cli
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.4.1
|
|
4
4
|
Summary: HiDALGO Data Transfer CLI provides commands to transfer data between different data providers and consumers using NIFI pipelines
|
|
5
5
|
License: APL-2.0
|
|
6
6
|
Author: Jesús Gorroñogoitia
|
|
@@ -12,7 +12,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.12
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.13
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.14
|
|
15
|
-
Requires-Dist: hid_data_transfer_lib (>=0.
|
|
15
|
+
Requires-Dist: hid_data_transfer_lib (>=0.4.1)
|
|
16
16
|
Requires-Dist: paramiko (>=3.3.1)
|
|
17
17
|
Requires-Dist: pyyaml (>=6.0.2,<7.0.0)
|
|
18
18
|
Requires-Dist: requests (>=2.31.0)
|
|
@@ -132,10 +132,9 @@ class ThreadRaisingExceptions(threading.Thread):
|
|
|
132
132
|
self._target(*self._args, **self._kwargs)
|
|
133
133
|
if self.accounting: # Report accounting information
|
|
134
134
|
transfer_time = accounting_info.pipeline_timespan
|
|
135
|
-
number_transfer_files =
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
accounting_info.flowfiles_sizes.values())/(1024*1024)
|
|
135
|
+
number_transfer_files = accounting_info.flowfiles_sizes['flowFilesIn']
|
|
136
|
+
transfer_size = \
|
|
137
|
+
accounting_info.flowfiles_sizes['bytesRead']/(1024*1024)
|
|
139
138
|
transfer_rate = transfer_size / transfer_time
|
|
140
139
|
|
|
141
140
|
msg = "Data transfer report:\n"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "data-transfer-cli"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.4.1"
|
|
4
4
|
description = "HiDALGO Data Transfer CLI provides commands to transfer data between different data providers and consumers using NIFI pipelines"
|
|
5
5
|
authors = [
|
|
6
6
|
{ name = "Jesús Gorroñogoitia", email = "jesus.gorronogoitia@eviden.com" },
|
|
@@ -11,7 +11,7 @@ requires-python = ">=3.11, <4.0"
|
|
|
11
11
|
dependencies = [
|
|
12
12
|
"requests>=2.31.0",
|
|
13
13
|
"paramiko>=3.3.1",
|
|
14
|
-
"hid_data_transfer_lib>=0.
|
|
14
|
+
"hid_data_transfer_lib>=0.4.1",
|
|
15
15
|
"pyyaml (>=6.0.2,<7.0.0)",
|
|
16
16
|
# "hid-data-transfer-lib @ file:///home/yosu/Projects/Hidalgo2/git/hid-data-management/data-transfer/nifi/hid_data_transfer_lib/dist/hid_data_transfer_lib-0.3.11-py3-none-any.whl",
|
|
17
17
|
]
|
|
@@ -38,6 +38,10 @@ pytest-env = "^1.1.3"
|
|
|
38
38
|
types-paramiko = "^3.4.0.20240311"
|
|
39
39
|
types-requests = "^2.31.0.20240311"
|
|
40
40
|
|
|
41
|
+
|
|
42
|
+
[tool.poetry.group.test.dependencies]
|
|
43
|
+
python-dotenv = "^1.2.3"
|
|
44
|
+
|
|
41
45
|
[build-system]
|
|
42
46
|
requires = ["poetry-core"]
|
|
43
47
|
build-backend = "poetry.core.masonry.api"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
PYTHONPATH=./src
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|