rda-python-globus 1.0.0__tar.gz → 1.0.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.
- {rda_python_globus-1.0.0/src/rda_python_globus.egg-info → rda_python_globus-1.0.1}/PKG-INFO +4 -2
- {rda_python_globus-1.0.0 → rda_python_globus-1.0.1}/README.md +3 -1
- {rda_python_globus-1.0.0 → rda_python_globus-1.0.1}/pyproject.toml +1 -1
- {rda_python_globus-1.0.0 → rda_python_globus-1.0.1}/src/rda_python_globus/task_management.py +13 -13
- {rda_python_globus-1.0.0 → rda_python_globus-1.0.1/src/rda_python_globus.egg-info}/PKG-INFO +4 -2
- {rda_python_globus-1.0.0 → rda_python_globus-1.0.1}/LICENSE +0 -0
- {rda_python_globus-1.0.0 → rda_python_globus-1.0.1}/setup.cfg +0 -0
- {rda_python_globus-1.0.0 → rda_python_globus-1.0.1}/src/rda_python_globus/__init__.py +0 -0
- {rda_python_globus-1.0.0 → rda_python_globus-1.0.1}/src/rda_python_globus/file_management.py +0 -0
- {rda_python_globus-1.0.0 → rda_python_globus-1.0.1}/src/rda_python_globus/lib/__init__.py +0 -0
- {rda_python_globus-1.0.0 → rda_python_globus-1.0.1}/src/rda_python_globus/lib/auth.py +0 -0
- {rda_python_globus-1.0.0 → rda_python_globus-1.0.1}/src/rda_python_globus/lib/config.py +0 -0
- {rda_python_globus-1.0.0 → rda_python_globus-1.0.1}/src/rda_python_globus/list.py +0 -0
- {rda_python_globus-1.0.0 → rda_python_globus-1.0.1}/src/rda_python_globus/main.py +0 -0
- {rda_python_globus-1.0.0 → rda_python_globus-1.0.1}/src/rda_python_globus/transfer.py +0 -0
- {rda_python_globus-1.0.0 → rda_python_globus-1.0.1}/src/rda_python_globus.egg-info/SOURCES.txt +0 -0
- {rda_python_globus-1.0.0 → rda_python_globus-1.0.1}/src/rda_python_globus.egg-info/dependency_links.txt +0 -0
- {rda_python_globus-1.0.0 → rda_python_globus-1.0.1}/src/rda_python_globus.egg-info/entry_points.txt +0 -0
- {rda_python_globus-1.0.0 → rda_python_globus-1.0.1}/src/rda_python_globus.egg-info/requires.txt +0 -0
- {rda_python_globus-1.0.0 → rda_python_globus-1.0.1}/src/rda_python_globus.egg-info/top_level.txt +0 -0
- {rda_python_globus-1.0.0 → rda_python_globus-1.0.1}/tests/test_example.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rda_python_globus
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.1
|
|
4
4
|
Summary: Tools for managing Globus transfers supporting the NSF NCAR Research Data Archive
|
|
5
5
|
Author-email: Thomas Cram <tcram@ucar.edu>
|
|
6
6
|
Project-URL: Homepage, https://github.com/NCAR/rda-python-globus
|
|
@@ -28,7 +28,9 @@ Use the package manager [pip](https://pip.pypa.io/en/stable/) to
|
|
|
28
28
|
install `rda_python_globus`.
|
|
29
29
|
|
|
30
30
|
From within your Python virtual environment:
|
|
31
|
-
|
|
31
|
+
```
|
|
32
|
+
pip install rda-python-globus
|
|
33
|
+
```
|
|
32
34
|
|
|
33
35
|
After installation, the cli command `dsglobus` will be available in
|
|
34
36
|
the /bin directory of your virtual environment.
|
|
@@ -9,7 +9,9 @@ Use the package manager [pip](https://pip.pypa.io/en/stable/) to
|
|
|
9
9
|
install `rda_python_globus`.
|
|
10
10
|
|
|
11
11
|
From within your Python virtual environment:
|
|
12
|
-
|
|
12
|
+
```
|
|
13
|
+
pip install rda-python-globus
|
|
14
|
+
```
|
|
13
15
|
|
|
14
16
|
After installation, the cli command `dsglobus` will be available in
|
|
15
17
|
the /bin directory of your virtual environment.
|
{rda_python_globus-1.0.0 → rda_python_globus-1.0.1}/src/rda_python_globus/task_management.py
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import click
|
|
2
2
|
import uuid
|
|
3
|
-
|
|
3
|
+
from typing import Sequence, Union
|
|
4
4
|
import collections.abc
|
|
5
5
|
import datetime
|
|
6
6
|
from globus_sdk import GlobusAPIError, NetworkError
|
|
@@ -51,9 +51,9 @@ SUCCESSFUL_TRANSFER_FIELDS = [
|
|
|
51
51
|
]
|
|
52
52
|
|
|
53
53
|
def _format_date_callback(
|
|
54
|
-
ctx: click.Context
|
|
54
|
+
ctx: Union[click.Context, None],
|
|
55
55
|
param: click.Parameter,
|
|
56
|
-
value: datetime.datetime
|
|
56
|
+
value: Union[datetime.datetime, None]
|
|
57
57
|
) -> str:
|
|
58
58
|
if value is None:
|
|
59
59
|
return ""
|
|
@@ -61,9 +61,9 @@ def _format_date_callback(
|
|
|
61
61
|
|
|
62
62
|
def _process_filterval(
|
|
63
63
|
prefix: str,
|
|
64
|
-
value: str
|
|
65
|
-
default: str
|
|
66
|
-
) -> str
|
|
64
|
+
value: Union[str, Sequence[Union[str, uuid.UUID]], None],
|
|
65
|
+
default: Union[str, None] = None,
|
|
66
|
+
) -> Union[str, None]:
|
|
67
67
|
if not value:
|
|
68
68
|
return default
|
|
69
69
|
if isinstance(value, collections.abc.Sequence) and not any(value):
|
|
@@ -161,13 +161,13 @@ def get_task(task_id: uuid.UUID) -> None:
|
|
|
161
161
|
@common_options
|
|
162
162
|
def task_list(
|
|
163
163
|
limit: int,
|
|
164
|
-
filter_task_id: str
|
|
165
|
-
filter_status: str
|
|
166
|
-
filter_type: str
|
|
167
|
-
filter_requested_before: str
|
|
168
|
-
filter_requested_after: str
|
|
169
|
-
filter_completed_before: str
|
|
170
|
-
filter_completed_after: str
|
|
164
|
+
filter_task_id: Union[str, None],
|
|
165
|
+
filter_status: Union[str, None],
|
|
166
|
+
filter_type: Union[str, None],
|
|
167
|
+
filter_requested_before: Union[str, None],
|
|
168
|
+
filter_requested_after: Union[str, None],
|
|
169
|
+
filter_completed_before: Union[str, None],
|
|
170
|
+
filter_completed_after: Union[str, None],
|
|
171
171
|
) -> None:
|
|
172
172
|
"""
|
|
173
173
|
List the most recent Globus tasks with optional filtering.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rda_python_globus
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.1
|
|
4
4
|
Summary: Tools for managing Globus transfers supporting the NSF NCAR Research Data Archive
|
|
5
5
|
Author-email: Thomas Cram <tcram@ucar.edu>
|
|
6
6
|
Project-URL: Homepage, https://github.com/NCAR/rda-python-globus
|
|
@@ -28,7 +28,9 @@ Use the package manager [pip](https://pip.pypa.io/en/stable/) to
|
|
|
28
28
|
install `rda_python_globus`.
|
|
29
29
|
|
|
30
30
|
From within your Python virtual environment:
|
|
31
|
-
|
|
31
|
+
```
|
|
32
|
+
pip install rda-python-globus
|
|
33
|
+
```
|
|
32
34
|
|
|
33
35
|
After installation, the cli command `dsglobus` will be available in
|
|
34
36
|
the /bin directory of your virtual environment.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rda_python_globus-1.0.0 → rda_python_globus-1.0.1}/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.0 → rda_python_globus-1.0.1}/src/rda_python_globus.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{rda_python_globus-1.0.0 → rda_python_globus-1.0.1}/src/rda_python_globus.egg-info/entry_points.txt
RENAMED
|
File without changes
|
{rda_python_globus-1.0.0 → rda_python_globus-1.0.1}/src/rda_python_globus.egg-info/requires.txt
RENAMED
|
File without changes
|
{rda_python_globus-1.0.0 → rda_python_globus-1.0.1}/src/rda_python_globus.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|