kraph 3.0.1__tar.gz → 4.0.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-3.0.1 → kraph-4.0.0}/PKG-INFO +3 -2
- kraph-4.0.0/kraph/__init__.py +7 -0
- {kraph-3.0.1 → kraph-4.0.0}/kraph/arkitekt.py +2 -2
- {kraph-3.0.1 → kraph-4.0.0}/kraph/traits.py +1 -1
- {kraph-3.0.1 → kraph-4.0.0}/pyproject.toml +4 -1
- kraph-3.0.1/kraph/__init__.py +0 -18
- {kraph-3.0.1 → kraph-4.0.0}/.gitignore +0 -0
- {kraph-3.0.1 → kraph-4.0.0}/README.md +0 -0
- {kraph-3.0.1 → kraph-4.0.0}/kraph/api/__init__.py +0 -0
- {kraph-3.0.1 → kraph-4.0.0}/kraph/api/project.json +0 -0
- {kraph-3.0.1 → kraph-4.0.0}/kraph/api/schema.graphql +0 -0
- {kraph-3.0.1 → kraph-4.0.0}/kraph/api/schema.py +0 -0
- {kraph-3.0.1 → kraph-4.0.0}/kraph/client.py +0 -0
- {kraph-3.0.1 → kraph-4.0.0}/kraph/contrib/fakts/__init__.py +0 -0
- {kraph-3.0.1 → kraph-4.0.0}/kraph/datalayer.py +0 -0
- {kraph-3.0.1 → kraph-4.0.0}/kraph/errors.py +0 -0
- {kraph-3.0.1 → kraph-4.0.0}/kraph/io.py +0 -0
- {kraph-3.0.1 → kraph-4.0.0}/kraph/kraph.py +0 -0
- {kraph-3.0.1 → kraph-4.0.0}/kraph/links/__init__.py +0 -0
- {kraph-3.0.1 → kraph-4.0.0}/kraph/links/errors.py +0 -0
- {kraph-3.0.1 → kraph-4.0.0}/kraph/links/upload.py +0 -0
- {kraph-3.0.1 → kraph-4.0.0}/kraph/py.typed +0 -0
- {kraph-3.0.1 → kraph-4.0.0}/kraph/rath.py +0 -0
- {kraph-3.0.1 → kraph-4.0.0}/kraph/refs.py +0 -0
- {kraph-3.0.1 → kraph-4.0.0}/kraph/scalars.py +0 -0
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: kraph
|
|
3
|
-
Version:
|
|
3
|
+
Version: 4.0.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>=1.1.1
|
|
8
9
|
Requires-Dist: dokker>=2.8
|
|
10
|
+
Requires-Dist: fakts>=4
|
|
9
11
|
Requires-Dist: rath>=4
|
|
10
|
-
Requires-Dist: rekuest>=4
|
|
11
12
|
Requires-Dist: websockets>=15.0.1
|
|
12
13
|
Description-Content-Type: text/markdown
|
|
13
14
|
|
|
@@ -35,8 +35,8 @@ from rath.links.graphql_ws import GraphQLWSLink
|
|
|
35
35
|
from rath.links.shrink import ShrinkingLink
|
|
36
36
|
from rath.links.split import SplitLink
|
|
37
37
|
|
|
38
|
-
from
|
|
39
|
-
from
|
|
38
|
+
from arkitekt_spec.declare.app import AppRegistry
|
|
39
|
+
from arkitekt_spec.declare.widgets import SearchWidget
|
|
40
40
|
|
|
41
41
|
from kraph.api.schema import (
|
|
42
42
|
EntityCategory,
|
|
@@ -32,7 +32,7 @@ from rath.turms.utils import get_attributes_or_error
|
|
|
32
32
|
from kraph.client import client_of
|
|
33
33
|
|
|
34
34
|
if TYPE_CHECKING:
|
|
35
|
-
from
|
|
35
|
+
from arkitekt_spec.declare.structures.registry import StructureRegistry
|
|
36
36
|
|
|
37
37
|
from kraph.kraph import Kraph
|
|
38
38
|
|
|
@@ -11,8 +11,11 @@ license = "GPL-3.0-or-later"
|
|
|
11
11
|
dependencies = [
|
|
12
12
|
"dokker>=2.8",
|
|
13
13
|
"rath>=4",
|
|
14
|
-
"rekuest>=4",
|
|
15
14
|
"websockets>=15.0.1",
|
|
15
|
+
# The service and structures are declared with arkitekt-spec.
|
|
16
|
+
"arkitekt-spec>=1.1.1",
|
|
17
|
+
# The service wiring (Alias, Require, FaktsAuthLink); it came through rekuest before.
|
|
18
|
+
"fakts>=4",
|
|
16
19
|
]
|
|
17
20
|
|
|
18
21
|
[project.optional-dependencies]
|
kraph-3.0.1/kraph/__init__.py
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
from .kraph import Kraph
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
try:
|
|
5
|
-
from .arkitekt import kraph as kraph_service
|
|
6
|
-
except ImportError as e:
|
|
7
|
-
# Only "rekuest is not installed" may pass silently. Anything else that fails
|
|
8
|
-
# to import here (a renamed query, a rekuest too old for what the module
|
|
9
|
-
# needs) is a bug, and hiding it makes this package's service vanish
|
|
10
|
-
# without a word. Whether it is installed is asked the plain way.
|
|
11
|
-
try:
|
|
12
|
-
import rekuest # noqa: F401 -- presence is the question
|
|
13
|
-
except ImportError:
|
|
14
|
-
pass
|
|
15
|
-
else:
|
|
16
|
-
raise e
|
|
17
|
-
|
|
18
|
-
__all__ = ["Kraph", "kraph_service"]
|
|
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
|