reasoner-validator 4.0.0__tar.gz → 4.0.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.
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/PKG-INFO +9 -9
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/README.md +3 -3
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/pyproject.toml +10 -5
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/LICENSE +0 -0
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/docs/.nojekyll +0 -0
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/docs/Makefile +0 -0
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/docs/conf.py +0 -0
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/docs/index.rst +0 -0
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/docs/make.bat +0 -0
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/docs/reasoner_validator.biolink.rst +0 -0
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/docs/reasoner_validator.report.rst +0 -0
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/docs/reasoner_validator.rst +0 -0
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/docs/reasoner_validator.trapi.mapping.rst +0 -0
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/docs/reasoner_validator.trapi.rst +0 -0
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/docs/reasoner_validator.validation_codes.rst +0 -0
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/docs/reasoner_validator.versioning.rst +0 -0
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/docs/validation_codes_dictionary.md +0 -0
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/reasoner_validator/__init__.py +0 -0
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/reasoner_validator/biolink/__init__.py +0 -0
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/reasoner_validator/codes.yaml +0 -0
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/reasoner_validator/github.py +0 -0
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/reasoner_validator/message.py +0 -0
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/reasoner_validator/report.py +0 -0
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/reasoner_validator/sri/__init__.py +0 -0
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/reasoner_validator/sri/util.py +0 -0
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/reasoner_validator/trapi/__init__.py +0 -0
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/reasoner_validator/trapi/mapping.py +0 -0
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/reasoner_validator/validation_codes.py +0 -0
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/reasoner_validator/validator.py +0 -0
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/reasoner_validator/versioning.py +0 -0
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/reasoner_validator/versions.yaml +0 -0
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/tests/__init__.py +0 -0
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/tests/conftest.py +0 -0
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/tests/test_biolink_compliance_validation.py +0 -0
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/tests/test_data/patched_trapi_schema_v1.4.0-beta5.yaml +0 -0
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/tests/test_response_validator.py +0 -0
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/tests/test_semver.py +0 -0
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/tests/test_trapi_versioning.py +0 -0
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/tests/test_validate.py +0 -0
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/tests/test_validation_report.py +0 -0
- {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/tests/test_workflows.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: reasoner-validator
|
|
3
|
-
Version: 4.0.
|
|
3
|
+
Version: 4.0.2
|
|
4
4
|
Summary: Validation tools for Reasoner API
|
|
5
5
|
Home-page: https://github.com/NCATSTranslator
|
|
6
6
|
License: MIT
|
|
@@ -9,12 +9,11 @@ Author: Richard Bruskiewich
|
|
|
9
9
|
Author-email: richard.bruskiewich@delphinai.com
|
|
10
10
|
Maintainer: Richard Bruskiewich
|
|
11
11
|
Maintainer-email: richard.bruskiewich@delphinai.com
|
|
12
|
-
Requires-Python: >=3.
|
|
12
|
+
Requires-Python: >=3.10,<4.0
|
|
13
13
|
Classifier: Intended Audience :: Science/Research
|
|
14
14
|
Classifier: License :: OSI Approved :: MIT License
|
|
15
15
|
Classifier: Operating System :: OS Independent
|
|
16
16
|
Classifier: Programming Language :: Python :: 3
|
|
17
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
18
17
|
Classifier: Programming Language :: Python :: 3.10
|
|
19
18
|
Classifier: Programming Language :: Python :: 3.11
|
|
20
19
|
Classifier: Programming Language :: Python :: 3.12
|
|
@@ -22,9 +21,10 @@ Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
|
|
|
22
21
|
Provides-Extra: docs
|
|
23
22
|
Provides-Extra: web
|
|
24
23
|
Requires-Dist: PyYAML (>=6.0,<7.0)
|
|
25
|
-
Requires-Dist:
|
|
24
|
+
Requires-Dist: bioregistry (>=0.11.1,<0.12.0)
|
|
25
|
+
Requires-Dist: bmt (>=1.4.0,<2.0.0)
|
|
26
26
|
Requires-Dist: dictdiffer (>=0.9.0,<0.10.0)
|
|
27
|
-
Requires-Dist: fastapi
|
|
27
|
+
Requires-Dist: fastapi ; extra == "web"
|
|
28
28
|
Requires-Dist: httpx (>=0.18.2,<0.19.0) ; extra == "web"
|
|
29
29
|
Requires-Dist: jsonschema (>=4.17.3,<4.18.0)
|
|
30
30
|
Requires-Dist: myst-parser (>=2.0.0,<3.0.0) ; extra == "docs"
|
|
@@ -32,7 +32,7 @@ Requires-Dist: numpydoc (>=1.5.0,<2.0.0) ; extra == "docs"
|
|
|
32
32
|
Requires-Dist: opentelemetry-exporter-otlp-proto-http ; extra == "web"
|
|
33
33
|
Requires-Dist: opentelemetry-instrumentation-fastapi ; extra == "web"
|
|
34
34
|
Requires-Dist: opentelemetry-instrumentation-httpx ; extra == "web"
|
|
35
|
-
Requires-Dist: pydantic (>=
|
|
35
|
+
Requires-Dist: pydantic (>=2,<3)
|
|
36
36
|
Requires-Dist: pytest (>=7.2.2,<8.0.0)
|
|
37
37
|
Requires-Dist: pytest-cov (>=4.0.0,<5.0.0)
|
|
38
38
|
Requires-Dist: requests (>=2.28.1,<3.0.0)
|
|
@@ -115,7 +115,7 @@ For script usage, type:
|
|
|
115
115
|
|
|
116
116
|
## Running tests
|
|
117
117
|
|
|
118
|
-
To run the test locally install with the `dev` dependencies
|
|
118
|
+
To run the test locally install with the `dev` dependencies, if not already done (e.g. by **`--all-extras`** above):
|
|
119
119
|
|
|
120
120
|
```bash
|
|
121
121
|
poetry install --extras dev
|
|
@@ -158,7 +158,7 @@ python -m http.server 3000 --directory ./htmlcov
|
|
|
158
158
|
|
|
159
159
|
All paths here are relative to the root project directory.
|
|
160
160
|
|
|
161
|
-
First install the documentation-specific dependencies.
|
|
161
|
+
First install the documentation-specific dependencies, if not already done (e.g. by **`--all-extras`** above):
|
|
162
162
|
|
|
163
163
|
```bash
|
|
164
164
|
poetry install --extras docs # or poetry install --all-extras
|
|
@@ -212,7 +212,7 @@ The request body consists of JSON data structure with two top level tag:
|
|
|
212
212
|
|
|
213
213
|
### Running the Web Service Directly
|
|
214
214
|
|
|
215
|
-
First install the web-specific dependencies.
|
|
215
|
+
First install the web-specific dependencies, if not already done (e.g. by **`--all-extras`** above):
|
|
216
216
|
|
|
217
217
|
```bash
|
|
218
218
|
poetry install --extras web # or poetry install --all-extras
|
|
@@ -67,7 +67,7 @@ For script usage, type:
|
|
|
67
67
|
|
|
68
68
|
## Running tests
|
|
69
69
|
|
|
70
|
-
To run the test locally install with the `dev` dependencies
|
|
70
|
+
To run the test locally install with the `dev` dependencies, if not already done (e.g. by **`--all-extras`** above):
|
|
71
71
|
|
|
72
72
|
```bash
|
|
73
73
|
poetry install --extras dev
|
|
@@ -110,7 +110,7 @@ python -m http.server 3000 --directory ./htmlcov
|
|
|
110
110
|
|
|
111
111
|
All paths here are relative to the root project directory.
|
|
112
112
|
|
|
113
|
-
First install the documentation-specific dependencies.
|
|
113
|
+
First install the documentation-specific dependencies, if not already done (e.g. by **`--all-extras`** above):
|
|
114
114
|
|
|
115
115
|
```bash
|
|
116
116
|
poetry install --extras docs # or poetry install --all-extras
|
|
@@ -164,7 +164,7 @@ The request body consists of JSON data structure with two top level tag:
|
|
|
164
164
|
|
|
165
165
|
### Running the Web Service Directly
|
|
166
166
|
|
|
167
|
-
First install the web-specific dependencies.
|
|
167
|
+
First install the web-specific dependencies, if not already done (e.g. by **`--all-extras`** above):
|
|
168
168
|
|
|
169
169
|
```bash
|
|
170
170
|
poetry install --extras web # or poetry install --all-extras
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "reasoner-validator"
|
|
3
|
-
version = "4.0.
|
|
3
|
+
version = "4.0.2"
|
|
4
4
|
description = "Validation tools for Reasoner API"
|
|
5
5
|
authors = [
|
|
6
6
|
"Richard Bruskiewich <richard.bruskiewich@delphinai.com>",
|
|
@@ -40,9 +40,10 @@ include = [
|
|
|
40
40
|
]
|
|
41
41
|
|
|
42
42
|
[tool.poetry.dependencies]
|
|
43
|
-
python = "^3.
|
|
44
|
-
bmt = "^1.
|
|
43
|
+
python = "^3.10"
|
|
44
|
+
bmt = "^1.4.0"
|
|
45
45
|
#bmt = { git = "https://github.com/biolink/biolink-model-toolkit.git" }
|
|
46
|
+
bioregistry = "^0.11.1"
|
|
46
47
|
|
|
47
48
|
# jsonschema needs to be pinned to <= 4.18.0 for now,
|
|
48
49
|
# since 4.18.0 appeared to break something for the
|
|
@@ -51,12 +52,12 @@ jsonschema = "~4.17.3"
|
|
|
51
52
|
dictdiffer = "^0.9.0"
|
|
52
53
|
PyYAML = "^6.0"
|
|
53
54
|
requests = "^2.28.1"
|
|
54
|
-
pydantic = "^
|
|
55
|
+
pydantic = "^2"
|
|
55
56
|
urllib3 = "^1.26.15"
|
|
56
57
|
numpydoc = {version = "^1.5.0", optional = true}
|
|
57
58
|
sphinx = {version = "^6.2.1", optional = true}
|
|
58
59
|
myst-parser = {version = "^2.0.0", optional = true}
|
|
59
|
-
fastapi = {version = "
|
|
60
|
+
fastapi = {version = "*", optional = true}
|
|
60
61
|
uvicorn = {version = "*", optional = true}
|
|
61
62
|
pytest-cov = {version = "^4.0.0"}
|
|
62
63
|
pytest = {version = "^7.2.2"}
|
|
@@ -73,6 +74,7 @@ opentelemetry-exporter-otlp-proto-http = {version = "*", optional = true}
|
|
|
73
74
|
opentelemetry-instrumentation-fastapi = {version = "*", optional = true}
|
|
74
75
|
opentelemetry-instrumentation-httpx = {version = "*", optional = true}
|
|
75
76
|
|
|
77
|
+
|
|
76
78
|
[tool.poetry.urls]
|
|
77
79
|
"Change Log" = "https://github.com/NCATSTranslator/reasoner-validator/blob/master/CHANGELOG.md"
|
|
78
80
|
"Bug Tracker" = "https://github.com/NCATSTranslator/reasoner-validator/issues"
|
|
@@ -81,6 +83,9 @@ opentelemetry-instrumentation-httpx = {version = "*", optional = true}
|
|
|
81
83
|
docs = ["numpydoc", "sphinx", "myst-parser", "sphinx-rtd-theme"]
|
|
82
84
|
web = ["fastapi", "uvicorn", "httpx", "opentelemetry-exporter-otlp-proto-http", "opentelemetry-instrumentation-fastapi", "opentelemetry-instrumentation-httpx"]
|
|
83
85
|
|
|
86
|
+
[tool.poetry.group.dev.dependencies]
|
|
87
|
+
setuptools = "^69.5.1"
|
|
88
|
+
|
|
84
89
|
[tool.coverage.run]
|
|
85
90
|
source = ["reasoner_validator"]
|
|
86
91
|
|
|
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
|
{reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/docs/reasoner_validator.trapi.mapping.rst
RENAMED
|
File without changes
|
|
File without changes
|
{reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/docs/reasoner_validator.validation_codes.rst
RENAMED
|
File without changes
|
{reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/docs/reasoner_validator.versioning.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/reasoner_validator/biolink/__init__.py
RENAMED
|
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
|
{reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/reasoner_validator/validation_codes.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/tests/test_biolink_compliance_validation.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|