kraph 7.1.1__tar.gz → 7.2.0__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.
- {kraph-7.1.1 → kraph-7.2.0}/.gitignore +4 -1
- {kraph-7.1.1 → kraph-7.2.0}/PKG-INFO +2 -2
- kraph-7.2.0/kraph/_tested.json +1 -0
- {kraph-7.1.1 → kraph-7.2.0}/kraph/arkitekt.py +6 -1
- {kraph-7.1.1 → kraph-7.2.0}/pyproject.toml +5 -1
- {kraph-7.1.1 → kraph-7.2.0}/README.md +0 -0
- {kraph-7.1.1 → kraph-7.2.0}/kraph/__init__.py +0 -0
- {kraph-7.1.1 → kraph-7.2.0}/kraph/api/__init__.py +0 -0
- {kraph-7.1.1 → kraph-7.2.0}/kraph/api/project.json +0 -0
- {kraph-7.1.1 → kraph-7.2.0}/kraph/api/schema.graphql +0 -0
- {kraph-7.1.1 → kraph-7.2.0}/kraph/api/schema.py +0 -0
- {kraph-7.1.1 → kraph-7.2.0}/kraph/client.py +0 -0
- {kraph-7.1.1 → kraph-7.2.0}/kraph/contrib/fakts/__init__.py +0 -0
- {kraph-7.1.1 → kraph-7.2.0}/kraph/datalayer.py +0 -0
- {kraph-7.1.1 → kraph-7.2.0}/kraph/errors.py +0 -0
- {kraph-7.1.1 → kraph-7.2.0}/kraph/io/__init__.py +0 -0
- {kraph-7.1.1 → kraph-7.2.0}/kraph/io/download.py +0 -0
- {kraph-7.1.1 → kraph-7.2.0}/kraph/io/obstore.py +0 -0
- {kraph-7.1.1 → kraph-7.2.0}/kraph/io/upload.py +0 -0
- {kraph-7.1.1 → kraph-7.2.0}/kraph/kraph.py +0 -0
- {kraph-7.1.1 → kraph-7.2.0}/kraph/links/__init__.py +0 -0
- {kraph-7.1.1 → kraph-7.2.0}/kraph/links/errors.py +0 -0
- {kraph-7.1.1 → kraph-7.2.0}/kraph/links/upload.py +0 -0
- {kraph-7.1.1 → kraph-7.2.0}/kraph/middleware/__init__.py +0 -0
- {kraph-7.1.1 → kraph-7.2.0}/kraph/middleware/base.py +0 -0
- {kraph-7.1.1 → kraph-7.2.0}/kraph/middleware/upload.py +0 -0
- {kraph-7.1.1 → kraph-7.2.0}/kraph/pairs.py +0 -0
- {kraph-7.1.1 → kraph-7.2.0}/kraph/py.typed +0 -0
- {kraph-7.1.1 → kraph-7.2.0}/kraph/rath.py +0 -0
- {kraph-7.1.1 → kraph-7.2.0}/kraph/refs.py +0 -0
- {kraph-7.1.1 → kraph-7.2.0}/kraph/scalars.py +0 -0
- {kraph-7.1.1 → kraph-7.2.0}/kraph/traits.py +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: kraph
|
|
3
|
-
Version: 7.
|
|
3
|
+
Version: 7.2.0
|
|
4
4
|
Summary: the arkitekt knowledge graph
|
|
5
5
|
Author-email: jhnnsrs <jhnnsrs@gmail.com>
|
|
6
6
|
License-Expression: GPL-3.0-or-later
|
|
7
7
|
Requires-Python: <4.0,>=3.11
|
|
8
|
-
Requires-Dist: arkitekt-spec>=
|
|
8
|
+
Requires-Dist: arkitekt-spec>=12.9
|
|
9
9
|
Requires-Dist: dokker>=2.8
|
|
10
10
|
Requires-Dist: fakts>=6.1
|
|
11
11
|
Requires-Dist: obstore>=0.11.0
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version": "7.5.0"}
|
|
@@ -36,6 +36,7 @@ from rath.links.shrink import ShrinkingLink
|
|
|
36
36
|
from rath.links.split import SplitLink
|
|
37
37
|
|
|
38
38
|
from arkitekt_spec.declare.app import AppRegistry
|
|
39
|
+
from arkitekt_spec.declare.tested import tested_against
|
|
39
40
|
from arkitekt_spec.declare.widgets import SearchWidget
|
|
40
41
|
|
|
41
42
|
from kraph.api.schema import (
|
|
@@ -88,6 +89,10 @@ registry = AppRegistry()
|
|
|
88
89
|
"""What kraph brings to an app: its service, and the types it can send by id."""
|
|
89
90
|
|
|
90
91
|
|
|
92
|
+
TESTED = tested_against("kraph")
|
|
93
|
+
"""The kraph server this release wants: the one its release job tested it against."""
|
|
94
|
+
|
|
95
|
+
|
|
91
96
|
@registry.service(
|
|
92
97
|
schema=build_relative_path("api", "schema.graphql"),
|
|
93
98
|
turms=build_relative_path("api", "project.json"),
|
|
@@ -95,7 +100,7 @@ registry = AppRegistry()
|
|
|
95
100
|
def kraph(
|
|
96
101
|
kraph: Annotated[
|
|
97
102
|
Alias,
|
|
98
|
-
Require("live.arkitekt.kraph", "Where the knowledge graph relating entities lives"),
|
|
103
|
+
Require("live.arkitekt.kraph", "Where the knowledge graph relating entities lives", version=TESTED),
|
|
99
104
|
],
|
|
100
105
|
datalayer: Annotated[
|
|
101
106
|
Alias | None,
|
|
@@ -13,7 +13,7 @@ dependencies = [
|
|
|
13
13
|
"rath>=4.1.1",
|
|
14
14
|
"websockets>=15.0.1",
|
|
15
15
|
# The service and structures are declared with arkitekt-spec (5.0: a service reads its scopes off its client).
|
|
16
|
-
"arkitekt-spec>=
|
|
16
|
+
"arkitekt-spec>=12.9",
|
|
17
17
|
# The service wiring (Alias, Require, FaktsAuthLink); it came through rekuest before.
|
|
18
18
|
"fakts>=6.1",
|
|
19
19
|
# The datalayer: big files (a model's weights) go to S3 through obstore, as in mikro and elektro.
|
|
@@ -79,11 +79,15 @@ extend-ignore = ["UP037", "UP038", "UP042"]
|
|
|
79
79
|
|
|
80
80
|
[tool.ruff.lint.per-file-ignores]
|
|
81
81
|
"kraph/api/schema.py" = ["UP035"]
|
|
82
|
+
# `_tested.json` is written by the integration tests (the server version they ran against)
|
|
83
|
+
# and is not in git: named as an artifact, on both, it is shipped all the same.
|
|
82
84
|
[tool.hatch.build.targets.sdist]
|
|
83
85
|
include = ["kraph"]
|
|
86
|
+
artifacts = ["kraph/_tested.json"]
|
|
84
87
|
|
|
85
88
|
[tool.hatch.build.targets.wheel]
|
|
86
89
|
include = ["kraph"]
|
|
90
|
+
artifacts = ["kraph/_tested.json"]
|
|
87
91
|
|
|
88
92
|
|
|
89
93
|
[build-system]
|
|
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
|