rda-python-globus 1.0.17__tar.gz → 1.0.19__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.
- {rda_python_globus-1.0.17/src/rda_python_globus.egg-info → rda_python_globus-1.0.19}/PKG-INFO +6 -5
- {rda_python_globus-1.0.17 → rda_python_globus-1.0.19}/README.md +5 -4
- {rda_python_globus-1.0.17 → rda_python_globus-1.0.19}/pyproject.toml +1 -1
- {rda_python_globus-1.0.17 → rda_python_globus-1.0.19}/src/rda_python_globus/task_management.py +2 -2
- {rda_python_globus-1.0.17 → rda_python_globus-1.0.19/src/rda_python_globus.egg-info}/PKG-INFO +6 -5
- {rda_python_globus-1.0.17 → rda_python_globus-1.0.19}/LICENSE +0 -0
- {rda_python_globus-1.0.17 → rda_python_globus-1.0.19}/setup.cfg +0 -0
- {rda_python_globus-1.0.17 → rda_python_globus-1.0.19}/src/rda_python_globus/__init__.py +0 -0
- {rda_python_globus-1.0.17 → rda_python_globus-1.0.19}/src/rda_python_globus/file_management.py +0 -0
- {rda_python_globus-1.0.17 → rda_python_globus-1.0.19}/src/rda_python_globus/lib/__init__.py +0 -0
- {rda_python_globus-1.0.17 → rda_python_globus-1.0.19}/src/rda_python_globus/lib/auth.py +0 -0
- {rda_python_globus-1.0.17 → rda_python_globus-1.0.19}/src/rda_python_globus/lib/config.py +0 -0
- {rda_python_globus-1.0.17 → rda_python_globus-1.0.19}/src/rda_python_globus/list.py +0 -0
- {rda_python_globus-1.0.17 → rda_python_globus-1.0.19}/src/rda_python_globus/main.py +0 -0
- {rda_python_globus-1.0.17 → rda_python_globus-1.0.19}/src/rda_python_globus/transfer.py +0 -0
- {rda_python_globus-1.0.17 → rda_python_globus-1.0.19}/src/rda_python_globus.egg-info/SOURCES.txt +0 -0
- {rda_python_globus-1.0.17 → rda_python_globus-1.0.19}/src/rda_python_globus.egg-info/dependency_links.txt +0 -0
- {rda_python_globus-1.0.17 → rda_python_globus-1.0.19}/src/rda_python_globus.egg-info/entry_points.txt +0 -0
- {rda_python_globus-1.0.17 → rda_python_globus-1.0.19}/src/rda_python_globus.egg-info/requires.txt +0 -0
- {rda_python_globus-1.0.17 → rda_python_globus-1.0.19}/src/rda_python_globus.egg-info/top_level.txt +0 -0
- {rda_python_globus-1.0.17 → rda_python_globus-1.0.19}/tests/test_example.py +0 -0
{rda_python_globus-1.0.17/src/rda_python_globus.egg-info → rda_python_globus-1.0.19}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rda_python_globus
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.19
|
|
4
4
|
Summary: Tools for managing Globus transfers supporting the NSF NCAR Geoscience Data Exchange (GDEX) project.
|
|
5
5
|
Author-email: Thomas Cram <tcram@ucar.edu>
|
|
6
6
|
Project-URL: Homepage, https://github.com/NCAR/rda-python-globus
|
|
@@ -20,7 +20,7 @@ Dynamic: license-file
|
|
|
20
20
|
# dsglobus
|
|
21
21
|
|
|
22
22
|
This application is a command-line tool for Globus data transfer and management of files
|
|
23
|
-
archived in the NSF NCAR
|
|
23
|
+
archived in the [NSF NCAR Geoscience Data Exchange (GDEX)](https://gdex.ucar.edu).
|
|
24
24
|
|
|
25
25
|
## Installation
|
|
26
26
|
|
|
@@ -43,6 +43,7 @@ The `dsglobus` app is run with the following subcommands. Each supports a
|
|
|
43
43
|
dsglobus transfer --help
|
|
44
44
|
dsglobus get-task --help
|
|
45
45
|
dsglobus task-list --help
|
|
46
|
+
dsglobus task-event-list --help
|
|
46
47
|
dsglobus cancel-task --help
|
|
47
48
|
dsglobus ls --help
|
|
48
49
|
dsglobus mkdir --help
|
|
@@ -51,12 +52,12 @@ dsglobus delete --help
|
|
|
51
52
|
```
|
|
52
53
|
|
|
53
54
|
### Example usage
|
|
54
|
-
1. Transfer a single file from the `NCAR
|
|
55
|
+
1. Transfer a single file from the `NCAR GDEX GLADE` endpoint to the `NCAR GDEX Quasar`
|
|
55
56
|
endpoint:
|
|
56
57
|
```
|
|
57
58
|
$ dsglobus transfer \
|
|
58
|
-
--source-endpoint
|
|
59
|
-
--destination-endpoint
|
|
59
|
+
--source-endpoint gdex-glade \
|
|
60
|
+
--destination-endpoint gdex-quasar \
|
|
60
61
|
--source-file /data/d999009/file.txt \
|
|
61
62
|
--destination-file /d999009/file.txt
|
|
62
63
|
```
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# dsglobus
|
|
2
2
|
|
|
3
3
|
This application is a command-line tool for Globus data transfer and management of files
|
|
4
|
-
archived in the NSF NCAR
|
|
4
|
+
archived in the [NSF NCAR Geoscience Data Exchange (GDEX)](https://gdex.ucar.edu).
|
|
5
5
|
|
|
6
6
|
## Installation
|
|
7
7
|
|
|
@@ -24,6 +24,7 @@ The `dsglobus` app is run with the following subcommands. Each supports a
|
|
|
24
24
|
dsglobus transfer --help
|
|
25
25
|
dsglobus get-task --help
|
|
26
26
|
dsglobus task-list --help
|
|
27
|
+
dsglobus task-event-list --help
|
|
27
28
|
dsglobus cancel-task --help
|
|
28
29
|
dsglobus ls --help
|
|
29
30
|
dsglobus mkdir --help
|
|
@@ -32,12 +33,12 @@ dsglobus delete --help
|
|
|
32
33
|
```
|
|
33
34
|
|
|
34
35
|
### Example usage
|
|
35
|
-
1. Transfer a single file from the `NCAR
|
|
36
|
+
1. Transfer a single file from the `NCAR GDEX GLADE` endpoint to the `NCAR GDEX Quasar`
|
|
36
37
|
endpoint:
|
|
37
38
|
```
|
|
38
39
|
$ dsglobus transfer \
|
|
39
|
-
--source-endpoint
|
|
40
|
-
--destination-endpoint
|
|
40
|
+
--source-endpoint gdex-glade \
|
|
41
|
+
--destination-endpoint gdex-quasar \
|
|
41
42
|
--source-file /data/d999009/file.txt \
|
|
42
43
|
--destination-file /d999009/file.txt
|
|
43
44
|
```
|
{rda_python_globus-1.0.17 → rda_python_globus-1.0.19}/src/rda_python_globus/task_management.py
RENAMED
|
@@ -250,10 +250,10 @@ def task_event_list(task_id: uuid.UUID, limit: int, offset: int, error_only: boo
|
|
|
250
250
|
if not task_id:
|
|
251
251
|
raise click.UsageError("TASK_ID is required.")
|
|
252
252
|
|
|
253
|
+
filters = {"filter": "is_error:1"} if error_only else None
|
|
254
|
+
|
|
253
255
|
tc = transfer_client(namespace=namespace)
|
|
254
256
|
try:
|
|
255
|
-
if error_only:
|
|
256
|
-
filters = {"filter": "is_error:1"}
|
|
257
257
|
for event in tc.task_event_list(task_id, limit=limit, offset=offset, query_params=filters):
|
|
258
258
|
print(f"Event on Task({task_id}) at {event['time']}:\n{event['code']}\n{event['description']}\n{event['details']}\n")
|
|
259
259
|
except (GlobusAPIError, NetworkError) as e:
|
{rda_python_globus-1.0.17 → rda_python_globus-1.0.19/src/rda_python_globus.egg-info}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rda_python_globus
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.19
|
|
4
4
|
Summary: Tools for managing Globus transfers supporting the NSF NCAR Geoscience Data Exchange (GDEX) project.
|
|
5
5
|
Author-email: Thomas Cram <tcram@ucar.edu>
|
|
6
6
|
Project-URL: Homepage, https://github.com/NCAR/rda-python-globus
|
|
@@ -20,7 +20,7 @@ Dynamic: license-file
|
|
|
20
20
|
# dsglobus
|
|
21
21
|
|
|
22
22
|
This application is a command-line tool for Globus data transfer and management of files
|
|
23
|
-
archived in the NSF NCAR
|
|
23
|
+
archived in the [NSF NCAR Geoscience Data Exchange (GDEX)](https://gdex.ucar.edu).
|
|
24
24
|
|
|
25
25
|
## Installation
|
|
26
26
|
|
|
@@ -43,6 +43,7 @@ The `dsglobus` app is run with the following subcommands. Each supports a
|
|
|
43
43
|
dsglobus transfer --help
|
|
44
44
|
dsglobus get-task --help
|
|
45
45
|
dsglobus task-list --help
|
|
46
|
+
dsglobus task-event-list --help
|
|
46
47
|
dsglobus cancel-task --help
|
|
47
48
|
dsglobus ls --help
|
|
48
49
|
dsglobus mkdir --help
|
|
@@ -51,12 +52,12 @@ dsglobus delete --help
|
|
|
51
52
|
```
|
|
52
53
|
|
|
53
54
|
### Example usage
|
|
54
|
-
1. Transfer a single file from the `NCAR
|
|
55
|
+
1. Transfer a single file from the `NCAR GDEX GLADE` endpoint to the `NCAR GDEX Quasar`
|
|
55
56
|
endpoint:
|
|
56
57
|
```
|
|
57
58
|
$ dsglobus transfer \
|
|
58
|
-
--source-endpoint
|
|
59
|
-
--destination-endpoint
|
|
59
|
+
--source-endpoint gdex-glade \
|
|
60
|
+
--destination-endpoint gdex-quasar \
|
|
60
61
|
--source-file /data/d999009/file.txt \
|
|
61
62
|
--destination-file /d999009/file.txt
|
|
62
63
|
```
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rda_python_globus-1.0.17 → rda_python_globus-1.0.19}/src/rda_python_globus/file_management.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rda_python_globus-1.0.17 → rda_python_globus-1.0.19}/src/rda_python_globus.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rda_python_globus-1.0.17 → rda_python_globus-1.0.19}/src/rda_python_globus.egg-info/requires.txt
RENAMED
|
File without changes
|
{rda_python_globus-1.0.17 → rda_python_globus-1.0.19}/src/rda_python_globus.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|