lovekit 1.3.0__tar.gz → 2.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.
- {lovekit-1.3.0 → lovekit-2.0.0}/PKG-INFO +3 -2
- lovekit-2.0.0/lovekit/__init__.py +14 -0
- {lovekit-1.3.0 → lovekit-2.0.0}/lovekit/api/project.json +5 -37
- {lovekit-1.3.0 → lovekit-2.0.0}/lovekit/api/schema.graphql +0 -1
- lovekit-2.0.0/lovekit/api/schema.py +979 -0
- lovekit-2.0.0/lovekit/arkitekt.py +82 -0
- lovekit-2.0.0/lovekit/lovekit.py +67 -0
- lovekit-2.0.0/lovekit/rath.py +26 -0
- {lovekit-1.3.0 → lovekit-2.0.0}/pyproject.toml +2 -1
- lovekit-1.3.0/lovekit/__init__.py +0 -5
- lovekit-1.3.0/lovekit/api/schema.py +0 -1026
- lovekit-1.3.0/lovekit/arkitekt.py +0 -61
- lovekit-1.3.0/lovekit/errors.py +0 -4
- lovekit-1.3.0/lovekit/funcs.py +0 -68
- lovekit-1.3.0/lovekit/lovekit.py +0 -20
- lovekit-1.3.0/lovekit/rath.py +0 -45
- lovekit-1.3.0/lovekit/rekuest.py +0 -30
- {lovekit-1.3.0 → lovekit-2.0.0}/.gitignore +0 -0
- {lovekit-1.3.0 → lovekit-2.0.0}/README.md +0 -0
- {lovekit-1.3.0 → lovekit-2.0.0}/lovekit/file.py +0 -0
- {lovekit-1.3.0 → lovekit-2.0.0}/lovekit/py.typed +0 -0
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: lovekit
|
|
3
|
-
Version:
|
|
3
|
+
Version: 2.0.0
|
|
4
4
|
Author-email: jhnnsrs <jhnnsrs@gmail.com>
|
|
5
5
|
Requires-Python: >=3.11
|
|
6
6
|
Requires-Dist: aiohttp<4,>=3.9.5
|
|
7
7
|
Requires-Dist: livekit>=0.16.3
|
|
8
|
-
Requires-Dist: rath>=
|
|
8
|
+
Requires-Dist: rath>=4
|
|
9
|
+
Requires-Dist: rekuest>=4
|
|
9
10
|
Description-Content-Type: text/markdown
|
|
10
11
|
|
|
11
12
|
# lovekit
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
try:
|
|
2
|
+
from .arkitekt import lovekit as lovekit_service
|
|
3
|
+
except ImportError as e:
|
|
4
|
+
# Only "rekuest is not installed" may pass silently. Anything else that fails
|
|
5
|
+
# to import here (a renamed query, a rekuest too old for what the module
|
|
6
|
+
# needs) is a bug, and hiding it makes this package's service vanish
|
|
7
|
+
# without a word. Whether it is installed is asked the plain way.
|
|
8
|
+
try:
|
|
9
|
+
import rekuest # noqa: F401 -- presence is the question
|
|
10
|
+
except ImportError:
|
|
11
|
+
pass
|
|
12
|
+
else:
|
|
13
|
+
raise e
|
|
14
|
+
|
|
@@ -82,48 +82,16 @@
|
|
|
82
82
|
"type": "turms.plugins.operations.OperationsPlugin"
|
|
83
83
|
},
|
|
84
84
|
{
|
|
85
|
-
"type": "turms.plugins.
|
|
85
|
+
"type": "turms.plugins.client.ClientPlugin",
|
|
86
|
+
"client_class": "LovekitApi",
|
|
87
|
+
"reserved_from": [
|
|
88
|
+
"lovekit.lovekit.Lovekit"
|
|
89
|
+
],
|
|
86
90
|
"coercible_scalars": {
|
|
87
91
|
"ID": "rath.scalars.IDCoercible"
|
|
88
92
|
},
|
|
89
93
|
"expand_input_types": [
|
|
90
94
|
"input"
|
|
91
|
-
],
|
|
92
|
-
"global_kwargs": [
|
|
93
|
-
{
|
|
94
|
-
"type": "lovekit.rath.LovekitRath",
|
|
95
|
-
"key": "rath",
|
|
96
|
-
"description": "The client we want to use (defaults to the currently active client)"
|
|
97
|
-
}
|
|
98
|
-
],
|
|
99
|
-
"definitions": [
|
|
100
|
-
{
|
|
101
|
-
"type": "subscription",
|
|
102
|
-
"is_async": true,
|
|
103
|
-
"use": "lovekit.funcs.asubscribe"
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
"type": "query",
|
|
107
|
-
"is_async": true,
|
|
108
|
-
"use": "lovekit.funcs.aexecute"
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"type": "mutation",
|
|
112
|
-
"is_async": true,
|
|
113
|
-
"use": "lovekit.funcs.aexecute"
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
"type": "subscription",
|
|
117
|
-
"use": "lovekit.funcs.subscribe"
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
"type": "query",
|
|
121
|
-
"use": "lovekit.funcs.execute"
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
"type": "mutation",
|
|
125
|
-
"use": "lovekit.funcs.execute"
|
|
126
|
-
}
|
|
127
95
|
]
|
|
128
96
|
}
|
|
129
97
|
],
|