NGPIris 5.2.2.dev1__py3-none-any.whl → 5.2.2.dev3__py3-none-any.whl
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.
- NGPIris/cli/__init__.py +1 -0
- NGPIris/hcp/hcp.py +1 -1
- NGPIris/hcp/helpers.py +2 -0
- {NGPIris-5.2.2.dev1.dist-info → NGPIris-5.2.2.dev3.dist-info}/METADATA +1 -1
- {NGPIris-5.2.2.dev1.dist-info → NGPIris-5.2.2.dev3.dist-info}/RECORD +9 -9
- {NGPIris-5.2.2.dev1.dist-info → NGPIris-5.2.2.dev3.dist-info}/LICENSE +0 -0
- {NGPIris-5.2.2.dev1.dist-info → NGPIris-5.2.2.dev3.dist-info}/WHEEL +0 -0
- {NGPIris-5.2.2.dev1.dist-info → NGPIris-5.2.2.dev3.dist-info}/entry_points.txt +0 -0
- {NGPIris-5.2.2.dev1.dist-info → NGPIris-5.2.2.dev3.dist-info}/top_level.txt +0 -0
NGPIris/cli/__init__.py
CHANGED
|
@@ -95,6 +95,7 @@ def upload(context : Context, bucket : str, source : str, destination : str):
|
|
|
95
95
|
hcph : HCPHandler = get_HCPHandler(context)
|
|
96
96
|
hcph.mount_bucket(bucket)
|
|
97
97
|
destination = add_trailing_slash(destination)
|
|
98
|
+
click.echo("CWD: " + str(Path.cwd()))
|
|
98
99
|
if Path(source).is_dir():
|
|
99
100
|
source = add_trailing_slash(source)
|
|
100
101
|
hcph.upload_folder(source, destination)
|
NGPIris/hcp/hcp.py
CHANGED
|
@@ -80,7 +80,7 @@ class HCPHandler:
|
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
self.tenant = None
|
|
83
|
-
for endpoint_format_string in ["https://{}.ngp-fs1000.vgregion.se", "https://{}.ngp-fs2000.vgregion.se", "https://{}.ngp-fs3000.vgregion.se", "https://{}.vgregion.sjunet.org"]:
|
|
83
|
+
for endpoint_format_string in ["https://{}.hcp1.vgregion.se","https://{}.ngp-fs1000.vgregion.se", "https://{}.ngp-fs2000.vgregion.se", "https://{}.ngp-fs3000.vgregion.se", "https://{}.vgregion.sjunet.org"]:
|
|
84
84
|
tenant_parse = parse(endpoint_format_string, self.endpoint)
|
|
85
85
|
if type(tenant_parse) is Result:
|
|
86
86
|
tenant = str(tenant_parse[0])
|
NGPIris/hcp/helpers.py
CHANGED
|
@@ -23,6 +23,8 @@ def create_access_control_policy(user_ID_permissions : dict[str, str]) -> dict:
|
|
|
23
23
|
return access_control_policy
|
|
24
24
|
|
|
25
25
|
def raise_path_error(path : str):
|
|
26
|
+
if Path(path).is_mount():
|
|
27
|
+
return "Is mounted"
|
|
26
28
|
if not Path(path).exists():
|
|
27
29
|
raise FileNotFoundError("\"" + path + "\"" + " does not exist")
|
|
28
30
|
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
NGPIris/__init__.py,sha256=eHaeRGl1JQ_hjsazEd4oQCXOkdpSxLIzg-ipYAAaa-s,69
|
|
2
|
-
NGPIris/cli/__init__.py,sha256=
|
|
2
|
+
NGPIris/cli/__init__.py,sha256=YVVtVHAaAk8G50A1FF5WUSY0XaW1on9NS9YSHfZIu2g,13120
|
|
3
3
|
NGPIris/hci/__init__.py,sha256=qZRzN2JZp8uIw46TQiqJHMIkleiVDErSoZ3-v0O_cZU,38
|
|
4
4
|
NGPIris/hci/exceptions.py,sha256=wUbpUwY8u1QtuSvnzlBuql9LgGsxBl207IGsHkCt-JQ,47
|
|
5
5
|
NGPIris/hci/hci.py,sha256=-7RBWPGqlINVNsl-GbjuXkcLdIF5cs4cu3OFt2FJi1E,4321
|
|
6
6
|
NGPIris/hci/helpers.py,sha256=THZt9ItmEsEiuvB1v99orAx1oOMgBdGR62PQyOre5yo,2592
|
|
7
7
|
NGPIris/hcp/__init__.py,sha256=yMDW3WpxsU89GNcBJ3ApeGHOmWvisfuuAsZxwlKWnpw,38
|
|
8
8
|
NGPIris/hcp/exceptions.py,sha256=24irbs3JMWaVOM_gf4ByR1hfYPpEP1eXPgHvq77uuqU,361
|
|
9
|
-
NGPIris/hcp/hcp.py,sha256=
|
|
10
|
-
NGPIris/hcp/helpers.py,sha256=
|
|
9
|
+
NGPIris/hcp/hcp.py,sha256=amzud94XwjGKYFKIHaPISOC1yKmFwXY7NTBkxQMuduk,26738
|
|
10
|
+
NGPIris/hcp/helpers.py,sha256=RV4pSsPTLPdcQ0EWyLZJYt7zMjO669M-ef8QUC-2tVY,1469
|
|
11
11
|
NGPIris/hcp/statistics.py,sha256=8VgRC-7hWQOCRWwoKk4NHCtGTdY_4C2iHcAHEXKJ0kM,817
|
|
12
12
|
NGPIris/parse_credentials/__init__.py,sha256=O9uq_F9uOtuW7giW-t10KV4VmTgfkvgaBEwQU43Sf-w,57
|
|
13
13
|
NGPIris/parse_credentials/parse_credentials.py,sha256=E1NzQCMvjOa2mGLBkEYshZomNSxfSCkoc_iUhUfpBEM,2106
|
|
14
14
|
NGPIris/utils/__init__.py,sha256=yPCEc1-_7r01dZ-31EKiA7Jova7ztX7XXuU95IKmKX8,59
|
|
15
15
|
NGPIris/utils/utils.py,sha256=m9qwLuOoiqVNRy7B4raYNFJkigL_wE--PiWhyhVhHII,248
|
|
16
|
-
NGPIris-5.2.2.
|
|
17
|
-
NGPIris-5.2.2.
|
|
18
|
-
NGPIris-5.2.2.
|
|
19
|
-
NGPIris-5.2.2.
|
|
20
|
-
NGPIris-5.2.2.
|
|
21
|
-
NGPIris-5.2.2.
|
|
16
|
+
NGPIris-5.2.2.dev3.dist-info/LICENSE,sha256=ZA2Q9u5AEkH_YoNNDRsz-DBJ6ZuL_foE7RsKFjXd4-c,18093
|
|
17
|
+
NGPIris-5.2.2.dev3.dist-info/METADATA,sha256=oAsQTGN0-Et3ucNU2rwwqa2kOLXkFNAXggLmHGaqshg,7080
|
|
18
|
+
NGPIris-5.2.2.dev3.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
19
|
+
NGPIris-5.2.2.dev3.dist-info/entry_points.txt,sha256=t8ADhe3ovPm9tW3XDZq1_vKmfHY98Ei_o6WioJobNzU,117
|
|
20
|
+
NGPIris-5.2.2.dev3.dist-info/top_level.txt,sha256=954WCuIJkle_SMtr7MNPapiiLLAFhlKbcz6Bp89-2V0,8
|
|
21
|
+
NGPIris-5.2.2.dev3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|