arkitekt-next 0.8.64__py3-none-any.whl → 0.8.66__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,14 +1,13 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: arkitekt-next
3
- Version: 0.8.64
3
+ Version: 0.8.66
4
4
  Summary: client for the arkitekt_next platform
5
5
  License: MIT
6
6
  Author: jhnnsrs
7
7
  Author-email: jhnnsrs@gmail.com
8
- Requires-Python: >=3.8,<4.0
8
+ Requires-Python: >=3.9,<4
9
9
  Classifier: License :: OSI Approved :: MIT License
10
10
  Classifier: Programming Language :: Python :: 3
11
- Classifier: Programming Language :: Python :: 3.8
12
11
  Classifier: Programming Language :: Python :: 3.9
13
12
  Classifier: Programming Language :: Python :: 3.10
14
13
  Classifier: Programming Language :: Python :: 3.11
@@ -17,6 +16,7 @@ Provides-Extra: all
17
16
  Provides-Extra: alpaka
18
17
  Provides-Extra: blok
19
18
  Provides-Extra: cli
19
+ Provides-Extra: elektro
20
20
  Provides-Extra: extended
21
21
  Provides-Extra: fluss
22
22
  Provides-Extra: kabinet
@@ -27,26 +27,27 @@ 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.20) ; (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
- Requires-Dist: cryptography (>=40.0.8) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "blok")
32
+ Requires-Dist: cryptography (>=40.0.8) ; (python_version >= "3.9") and (extra == "blok")
33
33
  Requires-Dist: dokker (>=1.0.0)
34
+ Requires-Dist: elektro (>=0.4.1) ; (python_version >= "3.9") and (extra == "elektro")
34
35
  Requires-Dist: fakts-next (>=1.0.4)
35
- Requires-Dist: fluss-next (>=0.1.96) ; extra == "fluss" or extra == "all"
36
+ Requires-Dist: fluss-next (>=0.1.96) ; (python_version >= "3.9") and (extra == "fluss" or extra == "all")
36
37
  Requires-Dist: herre-next (>=1.0.2)
37
38
  Requires-Dist: kabinet (>=0.1.46) ; (python_version >= "3.9" and python_version < "4.0") and (extra == "kabinet" or extra == "all")
38
39
  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")
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.57) ; (python_version >= "3.10" and python_version < "4.0") and (extra == "mikro" or extra == "all")
42
- Requires-Dist: namegenerator (>=1.0.6) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "blok")
43
- Requires-Dist: netifaces (>=0.11.0) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "blok")
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")
40
+ Requires-Dist: kraph (>=0.1.103) ; (python_version >= "3.9") and (extra == "kraph" or extra == "extended")
41
+ Requires-Dist: lovekit (>=0.1.19) ; (python_version >= "3.10") and (extra == "lovekit" or extra == "stream")
42
+ Requires-Dist: mikro-next (>=0.1.60) ; (python_version >= "3.11" and python_version < "4.0") and (extra == "mikro" or extra == "all")
43
+ Requires-Dist: namegenerator (>=1.0.6) ; (python_version >= "3.9") and (extra == "blok")
44
+ Requires-Dist: netifaces (>=0.11.0) ; (python_version >= "3.9") and (extra == "blok")
45
+ Requires-Dist: reaktion-next (>=0.1.87) ; (python_version >= "3.9") and (extra == "reaktion" or extra == "all")
46
+ Requires-Dist: rekuest-next (>=0.2.68) ; (python_version >= "3.9") and (extra == "cli" or extra == "rekuest" or extra == "all")
46
47
  Requires-Dist: rich-click (>=1.6.1) ; extra == "cli" or extra == "all" or extra == "blok"
47
48
  Requires-Dist: semver (>=3.0.1) ; extra == "cli" or extra == "all"
48
- Requires-Dist: turms (>=0.8.2) ; (python_version >= "3.9" and python_version < "4.0") and (extra == "cli" or extra == "all")
49
- Requires-Dist: unlok-next (>=0.1.89) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "unlok")
49
+ Requires-Dist: turms (>=0.8.2) ; (python_version >= "3.9") and (extra == "cli" or extra == "all")
50
+ Requires-Dist: unlok-next (>=0.1.89) ; (python_version >= "3.9") and (extra == "unlok")
50
51
  Requires-Dist: watchfiles (>=0.18.1) ; extra == "cli" or extra == "all"
51
52
  Description-Content-Type: text/markdown
52
53
 
@@ -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.64.dist-info/LICENSE,sha256=YZ2oRjC248t-GpoEyw7J13vwKYNG6zhYMaEAix6EzF0,1089
143
- arkitekt_next-0.8.64.dist-info/METADATA,sha256=w_PqeqzUDNU3ltKVQee6oghJchm5MivkN8mg9dn7jxw,6774
144
- arkitekt_next-0.8.64.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
145
- arkitekt_next-0.8.64.dist-info/entry_points.txt,sha256=-hxikQx4xZ6TiOnWVDOlTN_kcAISgGFvTHXIchsCHSc,60
146
- arkitekt_next-0.8.64.dist-info/RECORD,,
143
+ arkitekt_next-0.8.66.dist-info/LICENSE,sha256=YZ2oRjC248t-GpoEyw7J13vwKYNG6zhYMaEAix6EzF0,1089
144
+ arkitekt_next-0.8.66.dist-info/METADATA,sha256=yKl2cclPXYvwgI7b2IY4z3p4T5zw6-Sh1fddIpeloL4,6621
145
+ arkitekt_next-0.8.66.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
146
+ arkitekt_next-0.8.66.dist-info/entry_points.txt,sha256=-hxikQx4xZ6TiOnWVDOlTN_kcAISgGFvTHXIchsCHSc,60
147
+ arkitekt_next-0.8.66.dist-info/RECORD,,