NGPIris 5.6.1__tar.gz → 5.6.2__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.
- {ngpiris-5.6.1 → ngpiris-5.6.2}/NGPIris/hci/hci.py +1 -1
- {ngpiris-5.6.1 → ngpiris-5.6.2}/NGPIris/hci/helpers.py +2 -3
- {ngpiris-5.6.1 → ngpiris-5.6.2}/NGPIris.egg-info/PKG-INFO +1 -7
- {ngpiris-5.6.1 → ngpiris-5.6.2}/NGPIris.egg-info/requires.txt +0 -7
- {ngpiris-5.6.1 → ngpiris-5.6.2}/PKG-INFO +1 -7
- {ngpiris-5.6.1 → ngpiris-5.6.2}/pyproject.toml +10 -10
- {ngpiris-5.6.1 → ngpiris-5.6.2}/LICENSE +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/MANIFEST.in +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/NGPIris/__init__.py +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/NGPIris/cli/__init__.py +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/NGPIris/cli/helpers.py +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/NGPIris/cli/sections.py +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/NGPIris/hci/__init__.py +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/NGPIris/hci/exceptions.py +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/NGPIris/hcp/__init__.py +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/NGPIris/hcp/exceptions.py +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/NGPIris/hcp/hcp.py +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/NGPIris/hcp/helpers.py +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/NGPIris/hcp/statistics.py +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/NGPIris/parse_credentials/__init__.py +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/NGPIris/parse_credentials/parse_credentials.py +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/NGPIris/utils/__init__.py +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/NGPIris/utils/utils.py +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/NGPIris.egg-info/SOURCES.txt +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/NGPIris.egg-info/dependency_links.txt +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/NGPIris.egg-info/entry_points.txt +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/NGPIris.egg-info/top_level.txt +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/README.md +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/docs/IRIS_5_changelog.md +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/docs/Makefile +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/docs/NGPIris.cli.rst +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/docs/NGPIris.hci.rst +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/docs/NGPIris.hcp.rst +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/docs/NGPIris.parse_credentials.rst +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/docs/NGPIris.rst +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/docs/NGPIris.utils.rst +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/docs/Tutorial.md +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/docs/conf.py +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/docs/index.rst +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/docs/make.bat +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/docs/modules.rst +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/setup.cfg +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/tests/data/80MB_test_file +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/tests/data/a folder of data/80MB_test_file_0 +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/tests/data/a folder of data/80MB_test_file_1 +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/tests/data/complete_creds_0.json +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/tests/data/complete_creds_1.json +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/tests/data/complete_creds_2.json +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/tests/data/incomplete_creds_0.json +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/tests/data/incomplete_creds_1.json +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/tests/data/incomplete_creds_2.json +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/tests/data/incomplete_creds_3.json +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/tests/data/incomplete_creds_4.json +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/tests/test_hci.py +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/tests/test_hcp.py +0 -0
- {ngpiris-5.6.1 → ngpiris-5.6.2}/tests/test_parse_credentials.py +0 -0
|
@@ -133,7 +133,7 @@ class HCIHandler:
|
|
|
133
133
|
|
|
134
134
|
return {}
|
|
135
135
|
|
|
136
|
-
def raw_query(self, query_dict: dict[str, str | list | dict]) -> dict:
|
|
136
|
+
def raw_query(self, query_dict: dict[str, str | int | list | dict]) -> dict:
|
|
137
137
|
"""
|
|
138
138
|
Make query to an HCI index, with a dictionary.
|
|
139
139
|
|
|
@@ -41,7 +41,7 @@ def get_index_response(
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
def get_query_response( # noqa: PLR0913
|
|
44
|
-
query_dict: dict[str, str | list | dict],
|
|
44
|
+
query_dict: dict[str, str | int | list | dict],
|
|
45
45
|
address: str,
|
|
46
46
|
api_port: str,
|
|
47
47
|
token: str,
|
|
@@ -86,14 +86,13 @@ def get_query_response( # noqa: PLR0913
|
|
|
86
86
|
+ "/api/search/query/"
|
|
87
87
|
+ path_extension
|
|
88
88
|
)
|
|
89
|
-
query: dict[str, str | list | dict] = query_dict
|
|
90
89
|
headers: dict[str, str] = {
|
|
91
90
|
"Content-Type": "application/json",
|
|
92
91
|
"Accept": "application/json",
|
|
93
92
|
"Authorization": "Bearer " + token,
|
|
94
93
|
}
|
|
95
94
|
response: Response = post(
|
|
96
|
-
url, dumps(
|
|
95
|
+
url, dumps(query_dict), headers=headers, verify=use_ssl, timeout=15
|
|
97
96
|
)
|
|
98
97
|
|
|
99
98
|
response.raise_for_status()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: NGPIris
|
|
3
|
-
Version: 5.6.
|
|
3
|
+
Version: 5.6.2
|
|
4
4
|
Author-email: Erik Brink <erik.brink@gu.se>, Isak Sylvin <isak.sylvin@gu.se>
|
|
5
5
|
Requires-Python: >=3.11
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
@@ -16,12 +16,6 @@ Requires-Dist: bitmath==1.3.3.1
|
|
|
16
16
|
Requires-Dist: lazy_table==0.2.1
|
|
17
17
|
Requires-Dist: more-itertools==10.7.0
|
|
18
18
|
Requires-Dist: ruff>=0.14.5
|
|
19
|
-
Provides-Extra: dev
|
|
20
|
-
Requires-Dist: basedpyright>=1.33.0; extra == "dev"
|
|
21
|
-
Requires-Dist: ruff>=0.14.5; extra == "dev"
|
|
22
|
-
Requires-Dist: pytype>=2024.10.11; extra == "dev"
|
|
23
|
-
Requires-Dist: pytest>=8.3.4; extra == "dev"
|
|
24
|
-
Requires-Dist: icecream; extra == "dev"
|
|
25
19
|
Dynamic: license-file
|
|
26
20
|
|
|
27
21
|
# NGP IRIS 👀
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: NGPIris
|
|
3
|
-
Version: 5.6.
|
|
3
|
+
Version: 5.6.2
|
|
4
4
|
Author-email: Erik Brink <erik.brink@gu.se>, Isak Sylvin <isak.sylvin@gu.se>
|
|
5
5
|
Requires-Python: >=3.11
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
@@ -16,12 +16,6 @@ Requires-Dist: bitmath==1.3.3.1
|
|
|
16
16
|
Requires-Dist: lazy_table==0.2.1
|
|
17
17
|
Requires-Dist: more-itertools==10.7.0
|
|
18
18
|
Requires-Dist: ruff>=0.14.5
|
|
19
|
-
Provides-Extra: dev
|
|
20
|
-
Requires-Dist: basedpyright>=1.33.0; extra == "dev"
|
|
21
|
-
Requires-Dist: ruff>=0.14.5; extra == "dev"
|
|
22
|
-
Requires-Dist: pytype>=2024.10.11; extra == "dev"
|
|
23
|
-
Requires-Dist: pytest>=8.3.4; extra == "dev"
|
|
24
|
-
Requires-Dist: icecream; extra == "dev"
|
|
25
19
|
Dynamic: license-file
|
|
26
20
|
|
|
27
21
|
# NGP IRIS 👀
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "NGPIris"
|
|
3
|
-
version = "5.6.
|
|
3
|
+
version = "5.6.2"
|
|
4
4
|
readme = "README.md"
|
|
5
5
|
dependencies = [
|
|
6
6
|
"requests >= 2.31.0",
|
|
@@ -23,15 +23,6 @@ authors = [
|
|
|
23
23
|
{name = "Isak Sylvin", email = "isak.sylvin@gu.se"}
|
|
24
24
|
]
|
|
25
25
|
|
|
26
|
-
[project.optional-dependencies]
|
|
27
|
-
dev = [
|
|
28
|
-
"basedpyright >= 1.33.0",
|
|
29
|
-
"ruff >= 0.14.5",
|
|
30
|
-
"pytype >= 2024.10.11",
|
|
31
|
-
"pytest >= 8.3.4",
|
|
32
|
-
"icecream"
|
|
33
|
-
]
|
|
34
|
-
|
|
35
26
|
[build-system]
|
|
36
27
|
requires = ["setuptools"]
|
|
37
28
|
build-backend = "setuptools.build_meta"
|
|
@@ -52,6 +43,15 @@ testpaths = [
|
|
|
52
43
|
addopts = "--strict-markers" # Adds command-line options
|
|
53
44
|
filterwarnings = "ignore::urllib3.connectionpool.InsecureRequestWarning"
|
|
54
45
|
|
|
46
|
+
[dependency-groups]
|
|
47
|
+
dev = [
|
|
48
|
+
"pytest>=9.0.1",
|
|
49
|
+
"basedpyright >= 1.33.0",
|
|
50
|
+
"ruff >= 0.14.5",
|
|
51
|
+
"pytype >= 2024.10.11",
|
|
52
|
+
"icecream"
|
|
53
|
+
]
|
|
54
|
+
|
|
55
55
|
[project.scripts]
|
|
56
56
|
iris = "NGPIris.cli:cli"
|
|
57
57
|
iris_generate_credentials_file = "NGPIris.cli:iris_generate_credentials_file"
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|