arkitekt-next 0.8.63__py3-none-any.whl → 0.8.65__py3-none-any.whl

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.

Potentially problematic release.


This version of arkitekt-next might be problematic. Click here for more details.

@@ -0,0 +1,45 @@
1
+ from typing import Dict, Any
2
+ import secrets
3
+
4
+
5
+ from blok import blok, InitContext, ExecutionContext, Option
6
+ from blok.tree import Repo, YamlFile
7
+ from arkitekt_next.bloks.base import BaseArkitektService
8
+
9
+
10
+ @blok("live.arkitekt.alpaka", description="a container and app management service")
11
+ class AlpakaBlok(BaseArkitektService):
12
+ def __init__(self) -> None:
13
+ self.dev = False
14
+ self.host = "alpaka"
15
+ self.command = "bash run-debug.sh"
16
+ self.repo = "https://github.com/jhnnsrs/alpaka-server"
17
+ self.scopes = {
18
+ "alpaka_pull": "Pull new Models",
19
+ "alpaka_chat": "Add repositories to the database",
20
+ }
21
+ self.mount_repo = False
22
+ self.build_repo = False
23
+ self.buckets = ["media"]
24
+ self.secret_key = secrets.token_hex(16)
25
+ self.image = "jhnnsrs/alpaka:next"
26
+
27
+ def get_additional_config(self):
28
+ return {"ensured_repos": self.ensured_repos}
29
+
30
+ def get_builder(self):
31
+ return "arkitekt.generic"
32
+
33
+ def build(self, context: ExecutionContext):
34
+ context.docker_compose.set_nested("services", self.host, self.service)
35
+
36
+ def get_additional_options(self):
37
+ with_repos = Option(
38
+ subcommand="repos",
39
+ help="The default repos to enable for the service",
40
+ default=self.secret_key,
41
+ )
42
+
43
+ return [
44
+ with_repos,
45
+ ]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: arkitekt-next
3
- Version: 0.8.63
3
+ Version: 0.8.65
4
4
  Summary: client for the arkitekt_next platform
5
5
  License: MIT
6
6
  Author: jhnnsrs
@@ -27,7 +27,7 @@ Provides-Extra: reaktion
27
27
  Provides-Extra: rekuest
28
28
  Provides-Extra: stream
29
29
  Provides-Extra: unlok
30
- Requires-Dist: alpaka (>=0.1.17) ; (python_version >= "3.10" and python_version < "4.0") and (extra == "alpaka" or extra == "extended")
30
+ Requires-Dist: alpaka (>=0.1.18) ; (python_version >= "3.10" and python_version < "4.0") and (extra == "alpaka" or extra == "extended")
31
31
  Requires-Dist: blok (>=0.0.22) ; (python_version >= "3.9" and python_version < "4.0") and (extra == "blok")
32
32
  Requires-Dist: cryptography (>=40.0.8) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "blok")
33
33
  Requires-Dist: dokker (>=1.0.0)
@@ -36,13 +36,13 @@ Requires-Dist: fluss-next (>=0.1.96) ; extra == "fluss" or extra == "all"
36
36
  Requires-Dist: herre-next (>=1.0.2)
37
37
  Requires-Dist: kabinet (>=0.1.46) ; (python_version >= "3.9" and python_version < "4.0") and (extra == "kabinet" or extra == "all")
38
38
  Requires-Dist: koil (>=1.0.3)
39
- Requires-Dist: kraph (>=0.1.101) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "kraph" or extra == "extended")
39
+ Requires-Dist: kraph (>=0.1.102) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "kraph" or extra == "extended")
40
40
  Requires-Dist: lovekit (>=0.1.19) ; (python_version >= "3.10" and python_version < "4.0") and (extra == "lovekit" or extra == "stream")
41
- Requires-Dist: mikro-next (>=0.1.56) ; (python_version >= "3.10" and python_version < "4.0") and (extra == "mikro" or extra == "all")
41
+ Requires-Dist: mikro-next (>=0.1.58) ; (python_version >= "3.10" and python_version < "4.0") and (extra == "mikro" or extra == "all")
42
42
  Requires-Dist: namegenerator (>=1.0.6) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "blok")
43
43
  Requires-Dist: netifaces (>=0.11.0) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "blok")
44
44
  Requires-Dist: reaktion-next (>=0.1.87) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "reaktion" or extra == "all")
45
- Requires-Dist: rekuest-next (>=0.2.63) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "cli" or extra == "rekuest" or extra == "all")
45
+ Requires-Dist: rekuest-next (>=0.2.64) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "cli" or extra == "rekuest" or extra == "all")
46
46
  Requires-Dist: rich-click (>=1.6.1) ; extra == "cli" or extra == "all" or extra == "blok"
47
47
  Requires-Dist: semver (>=3.0.1) ; extra == "cli" or extra == "all"
48
48
  Requires-Dist: turms (>=0.8.2) ; (python_version >= "3.9" and python_version < "4.0") and (extra == "cli" or extra == "all")
@@ -11,6 +11,7 @@ arkitekt_next/apps/types.py,sha256=Ri6-Cby8bh9JOvMsOLpDrbeVB9zp3L28D951vM2juT0,1
11
11
  arkitekt_next/base_models.py,sha256=n5btMFibkfprKss4TPx94qIS4GDKJ49lUjZkUAMjThQ,4130
12
12
  arkitekt_next/bloks/__init__.py,sha256=_4EeR63d6avQUWLG4mK2n_FvogTPQ_Jx6f2_RvNbWeA,29
13
13
  arkitekt_next/bloks/admin.py,sha256=mRTfjIR1vsfY1ghgjWLjKYFAOh1pGCmQ_IEt2QOR3og,1353
14
+ arkitekt_next/bloks/alpaka.py,sha256=d7m_qRJZUBdKmIQlWv51bhdvXtSXnRXwgAp1viLYVeM,1393
14
15
  arkitekt_next/bloks/arkitekt.py,sha256=RNDSSD-WKaCHO-ct4dKxwtX5J5eQD4167FOWhDH9DuM,1616
15
16
  arkitekt_next/bloks/base.py,sha256=jEeaCFKwJS4EUmHHKDbLSk0YV4v19530UhXP7lRAFhg,6470
16
17
  arkitekt_next/bloks/config.py,sha256=YMQChT4SCdc_vvvbkAj_qGyA--6JVEHds7MalqUp3lw,1269
@@ -139,8 +140,8 @@ arkitekt_next/qt/utils.py,sha256=MgBPtPmCSBkIuATov3UgREESwxAHh77lWNNxyE7Qs48,773
139
140
  arkitekt_next/service_registry.py,sha256=gMXyFftwuSoda9V13QEiNqFuwSBB2ss62dOjnXOetK0,4973
140
141
  arkitekt_next/tqdm.py,sha256=lQcJI5Q6Py7Gy88hOCiJujjPEEGd8G2k1mOVJJ6oYe8,1531
141
142
  arkitekt_next/utils.py,sha256=Cf7B1-E7_NgBnV2vxIIfZRStiCYPopQqNJFjJwU3Uog,2403
142
- arkitekt_next-0.8.63.dist-info/LICENSE,sha256=YZ2oRjC248t-GpoEyw7J13vwKYNG6zhYMaEAix6EzF0,1089
143
- arkitekt_next-0.8.63.dist-info/METADATA,sha256=oZjden8DR76VzGUpzjTT5z0J_RltXB4siUhYx0edhEU,6774
144
- arkitekt_next-0.8.63.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
145
- arkitekt_next-0.8.63.dist-info/entry_points.txt,sha256=-hxikQx4xZ6TiOnWVDOlTN_kcAISgGFvTHXIchsCHSc,60
146
- arkitekt_next-0.8.63.dist-info/RECORD,,
143
+ arkitekt_next-0.8.65.dist-info/LICENSE,sha256=YZ2oRjC248t-GpoEyw7J13vwKYNG6zhYMaEAix6EzF0,1089
144
+ arkitekt_next-0.8.65.dist-info/METADATA,sha256=RzHaKJlWB8joh612kRt6nVhFT4WxgWWmesY-aTTVBQA,6774
145
+ arkitekt_next-0.8.65.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
146
+ arkitekt_next-0.8.65.dist-info/entry_points.txt,sha256=-hxikQx4xZ6TiOnWVDOlTN_kcAISgGFvTHXIchsCHSc,60
147
+ arkitekt_next-0.8.65.dist-info/RECORD,,