arkitekt-next 0.7.58__tar.gz → 0.7.60__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.

Potentially problematic release.


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

Files changed (143) hide show
  1. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/PKG-INFO +8 -8
  2. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/qt/__init__.py +2 -2
  3. arkitekt_next-0.7.60/arkitekt_next/qt/builders.py +261 -0
  4. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/pyproject.toml +8 -8
  5. arkitekt_next-0.7.58/arkitekt_next/qt/builders.py +0 -95
  6. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/LICENSE +0 -0
  7. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/README.md +0 -0
  8. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/__blok__.py +0 -0
  9. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/__init__.py +0 -0
  10. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/apps/__init__.py +0 -0
  11. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/apps/easy.py +0 -0
  12. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/apps/next.py +0 -0
  13. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/apps/qt.py +0 -0
  14. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/apps/service/__init__.py +0 -0
  15. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/apps/service/fakts.py +0 -0
  16. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/apps/service/fakts_next.py +0 -0
  17. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/apps/service/fakts_qt.py +0 -0
  18. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/apps/service/grant_registry.py +0 -0
  19. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/apps/service/herre.py +0 -0
  20. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/apps/service/herre_qt.py +0 -0
  21. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/apps/types.py +0 -0
  22. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/bloks/__init__.py +0 -0
  23. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/bloks/admin.py +0 -0
  24. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/bloks/arkitekt.py +0 -0
  25. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/bloks/base.py +0 -0
  26. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/bloks/config.py +0 -0
  27. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/bloks/fluss.py +0 -0
  28. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/bloks/gateway.py +0 -0
  29. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/bloks/internal_docker.py +0 -0
  30. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/bloks/kabinet.py +0 -0
  31. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/bloks/livekit.py +0 -0
  32. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/bloks/lok.py +0 -0
  33. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/bloks/mikro.py +0 -0
  34. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/bloks/minio.py +0 -0
  35. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/bloks/mount.py +0 -0
  36. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/bloks/namegen.py +0 -0
  37. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/bloks/orkestrator.py +0 -0
  38. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/bloks/postgres.py +0 -0
  39. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/bloks/redis.py +0 -0
  40. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/bloks/rekuest.py +0 -0
  41. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/bloks/secret.py +0 -0
  42. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/bloks/services/__init__.py +0 -0
  43. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/bloks/services/admin.py +0 -0
  44. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/bloks/services/config.py +0 -0
  45. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/bloks/services/db.py +0 -0
  46. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/bloks/services/gateway.py +0 -0
  47. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/bloks/services/livekit.py +0 -0
  48. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/bloks/services/lok.py +0 -0
  49. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/bloks/services/mount.py +0 -0
  50. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/bloks/services/name.py +0 -0
  51. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/bloks/services/redis.py +0 -0
  52. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/bloks/services/s3.py +0 -0
  53. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/bloks/services/secret.py +0 -0
  54. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/bloks/services/socket.py +0 -0
  55. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/bloks/socket.py +0 -0
  56. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/bloks/tailscale.py +0 -0
  57. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/builders.py +0 -0
  58. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/__init__.py +0 -0
  59. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/commands/call/__init__.py +0 -0
  60. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/commands/call/local.py +0 -0
  61. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/commands/call/main.py +0 -0
  62. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/commands/call/remote.py +0 -0
  63. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/commands/gen/__init__.py +0 -0
  64. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/commands/gen/compile.py +0 -0
  65. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/commands/gen/init.py +0 -0
  66. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/commands/gen/main.py +0 -0
  67. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/commands/gen/watch.py +0 -0
  68. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/commands/init/__init__.py +0 -0
  69. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/commands/init/main.py +0 -0
  70. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/commands/inspect/__init__.py +0 -0
  71. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/commands/inspect/main.py +0 -0
  72. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/commands/inspect/requirements.py +0 -0
  73. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/commands/inspect/templates.py +0 -0
  74. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/commands/inspect/variables.py +0 -0
  75. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/commands/kabinet/__init__.py +0 -0
  76. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/commands/kabinet/build.py +0 -0
  77. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/commands/kabinet/init.py +0 -0
  78. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/commands/kabinet/main.py +0 -0
  79. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/commands/kabinet/publish.py +0 -0
  80. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/commands/kabinet/stage.py +0 -0
  81. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/commands/kabinet/utils.py +0 -0
  82. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/commands/kabinet/validate.py +0 -0
  83. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/commands/kabinet/wizard.py +0 -0
  84. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/commands/manifest/__init__.py +0 -0
  85. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/commands/manifest/inspect.py +0 -0
  86. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/commands/manifest/main.py +0 -0
  87. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/commands/manifest/scopes.py +0 -0
  88. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/commands/manifest/version.py +0 -0
  89. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/commands/manifest/wizard.py +0 -0
  90. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/commands/run/__init__.py +0 -0
  91. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/commands/run/dev.py +0 -0
  92. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/commands/run/main.py +0 -0
  93. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/commands/run/prod.py +0 -0
  94. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/commands/run/utils.py +0 -0
  95. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/configs/base.yaml +0 -0
  96. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/constants.py +0 -0
  97. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/dockerfiles/vanilla.dockerfile +0 -0
  98. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/errors.py +0 -0
  99. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/inspect.py +0 -0
  100. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/io.py +0 -0
  101. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/main.py +0 -0
  102. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/options.py +0 -0
  103. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/schemas/fluss.schema.graphql +0 -0
  104. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/schemas/gucker.schema.graphql +0 -0
  105. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/schemas/kabinet.schema.graphql +0 -0
  106. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/schemas/kluster.schema.graphql +0 -0
  107. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/schemas/konviktion.schema.graphql +0 -0
  108. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/schemas/kuay.schema.graphql +0 -0
  109. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/schemas/mikro.schema.graphql +0 -0
  110. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/schemas/mikro_next.schema.graphql +0 -0
  111. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/schemas/napari.schema.graphql +0 -0
  112. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/schemas/omero_ark.schema.graphql +0 -0
  113. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/schemas/port.schema.graphql +0 -0
  114. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/schemas/rekuest.schema.graphql +0 -0
  115. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/schemas/rekuest_next.schema.graphql +0 -0
  116. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/schemas/unlok.schema.graphql +0 -0
  117. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/templates/filter.py +0 -0
  118. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/templates/simple.py +0 -0
  119. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/texts.py +0 -0
  120. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/types.py +0 -0
  121. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/ui.py +0 -0
  122. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/utils.py +0 -0
  123. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/validators.py +0 -0
  124. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/vars.py +0 -0
  125. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/cli/versions/v1.yaml +0 -0
  126. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/constants.py +0 -0
  127. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/model.py +0 -0
  128. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/qt/assets/dark/gear.png +0 -0
  129. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/qt/assets/dark/green pulse.gif +0 -0
  130. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/qt/assets/dark/orange pulse.gif +0 -0
  131. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/qt/assets/dark/pink pulse.gif +0 -0
  132. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/qt/assets/dark/red pulse.gif +0 -0
  133. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/qt/assets/light/gear.png +0 -0
  134. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/qt/assets/light/green pulse.gif +0 -0
  135. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/qt/assets/light/orange pulse.gif +0 -0
  136. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/qt/assets/light/pink pulse.gif +0 -0
  137. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/qt/assets/light/red pulse.gif +0 -0
  138. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/qt/magic_bar.py +0 -0
  139. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/qt/types.py +0 -0
  140. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/qt/utils.py +0 -0
  141. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/service_registry.py +0 -0
  142. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/tqdm.py +0 -0
  143. {arkitekt_next-0.7.58 → arkitekt_next-0.7.60}/arkitekt_next/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: arkitekt-next
3
- Version: 0.7.58
3
+ Version: 0.7.60
4
4
  Summary: client for the arkitekt_next platform
5
5
  License: MIT
6
6
  Author: jhnnsrs
@@ -20,20 +20,20 @@ Requires-Dist: blok (>=0.0.19) ; (python_version >= "3.8" and python_version < "
20
20
  Requires-Dist: cryptography (>=40.0.8) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "blok")
21
21
  Requires-Dist: dokker (>=0.1.21)
22
22
  Requires-Dist: fakts (>=0.5.0)
23
- Requires-Dist: fluss-next (>=0.1.77) ; extra == "all"
23
+ Requires-Dist: fluss-next (>=0.1.79) ; extra == "all"
24
24
  Requires-Dist: herre (>=0.4.3)
25
- Requires-Dist: kabinet (>=0.1.15) ; (python_version >= "3.9" and python_version < "4.0") and (extra == "all")
25
+ Requires-Dist: kabinet (>=0.1.17) ; (python_version >= "3.9" and python_version < "4.0") and (extra == "all")
26
26
  Requires-Dist: koil (>=0.3.6)
27
- Requires-Dist: lovekit (>=0.1.4) ; (python_version >= "3.9" and python_version < "4.0") and (extra == "all")
28
- Requires-Dist: mikro-next (>=0.1.32) ; (python_version >= "3.10" and python_version < "4.0") and (extra == "all")
27
+ Requires-Dist: lovekit (>=0.1.6) ; (python_version >= "3.9" and python_version < "4.0") and (extra == "all")
28
+ Requires-Dist: mikro-next (>=0.1.34) ; (python_version >= "3.10" and python_version < "4.0") and (extra == "all")
29
29
  Requires-Dist: namegenerator (>=1.0.6) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "blok")
30
30
  Requires-Dist: netifaces (>=0.11.0) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "blok")
31
- Requires-Dist: reaktion-next (>=0.1.67) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "all")
32
- Requires-Dist: rekuest-next (>=0.2.23) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "cli" or extra == "all")
31
+ Requires-Dist: reaktion-next (>=0.1.69) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "all")
32
+ Requires-Dist: rekuest-next (>=0.2.25) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "cli" or extra == "all")
33
33
  Requires-Dist: rich-click (>=1.6.1) ; extra == "cli" or extra == "all"
34
34
  Requires-Dist: semver (>=3.0.1) ; extra == "cli" or extra == "all"
35
35
  Requires-Dist: turms (>=0.5.0) ; (python_version >= "3.9" and python_version < "4.0") and (extra == "cli" or extra == "all")
36
- Requires-Dist: unlok-next (>=0.1.70) ; python_version >= "3.8" and python_version < "4.0"
36
+ Requires-Dist: unlok-next (>=0.1.73) ; python_version >= "3.8" and python_version < "4.0"
37
37
  Requires-Dist: watchfiles (>=0.18.1) ; extra == "cli" or extra == "all"
38
38
  Description-Content-Type: text/markdown
39
39
 
@@ -9,7 +9,7 @@ to ArkitektNext, and configure settings.
9
9
  """
10
10
 
11
11
  from .magic_bar import MagicBar
12
- from .builders import publicqt
12
+ from .builders import publicqt, devqt
13
13
  from .types import *
14
14
 
15
- __all__ = ["MagicBar", "publicqt", "QtApp"]
15
+ __all__ = ["MagicBar", "publicqt", "devqt", "QtApp"]
@@ -0,0 +1,261 @@
1
+ from arkitekt_next.apps.service.fakts_next import (
2
+ build_arkitekt_next_redeem_fakts_next,
3
+ )
4
+ from arkitekt_next.apps.service.fakts_qt import build_arkitekt_next_qt_fakts
5
+ from arkitekt_next.apps.service.herre_qt import build_arkitekt_next_qt_herre
6
+ from arkitekt_next.utils import create_arkitekt_next_folder
7
+ from arkitekt_next.model import Manifest
8
+ from arkitekt_next.apps.types import App
9
+ from arkitekt_next.service_registry import (
10
+ ServiceBuilderRegistry,
11
+ check_and_import_services,
12
+ )
13
+ from arkitekt_next.constants import DEFAULT_ARKITEKT_URL
14
+ from qtpy import QtWidgets, QtCore
15
+ from typing import List, Optional
16
+ import os
17
+ import logging
18
+ from typing import List, Optional
19
+ import logging
20
+ import os
21
+
22
+ from arkitekt_next.apps.service.fakts_next import (
23
+ build_arkitekt_next_fakts_next,
24
+ build_arkitekt_next_redeem_fakts_next,
25
+ build_arkitekt_next_token_fakts,
26
+ )
27
+ from arkitekt_next.apps.service.herre import build_arkitekt_next_herre
28
+ from arkitekt_next.utils import create_arkitekt_next_folder
29
+ from arkitekt_next.model import Manifest
30
+ from arkitekt_next.apps.types import App
31
+ from arkitekt_next.service_registry import (
32
+ ServiceBuilderRegistry,
33
+ check_and_import_services,
34
+ )
35
+ from arkitekt_next.constants import DEFAULT_ARKITEKT_URL
36
+
37
+
38
+ def devqt(
39
+ identifier: str,
40
+ version: str = "0.0.1",
41
+ logo: Optional[str] = None,
42
+ scopes: Optional[List[str]] = None,
43
+ url: str = DEFAULT_ARKITEKT_URL,
44
+ headless: bool = False,
45
+ log_level: str = "ERROR",
46
+ parent: Optional[QtWidgets.QWidget] = None,
47
+ token: Optional[str] = None,
48
+ no_cache: bool = False,
49
+ redeem_token: Optional[str] = None,
50
+ app_kind: str = "development",
51
+ registry: Optional[ServiceBuilderRegistry] = None,
52
+ **kwargs,
53
+ ) -> App:
54
+ """Creates a next app
55
+
56
+ A simple way to create an ArkitektNext Next app, ArkitektNext next apps are
57
+ development apps by default, as they will try to register themselves
58
+ with services that are not yet available in production (such as the
59
+ rekuest_next and mikro_next services). They represent the next generation
60
+ of ArkitektNext apps, and will be the default way to create ArkitektNext apps
61
+ in the future. From here be dragons.
62
+
63
+ A few things to note:
64
+ - The Next builder closely mimics the easy builder, but will use the
65
+ next generation of services (such as rekuest_next and mikro_next)
66
+ and will therefore not be compatible with the current generation.
67
+
68
+ - Next apps will try to establish themselves a "development" apps, by default
69
+ which means that they will be authenticated with the ArkitektNext server on
70
+ a per user basis. If you want to create a "desktop" app, which multiple users
71
+ can use, you should set the `app_kind` to "desktop" TODO: Currently not implemented (use next app for this)
72
+ - The Next builder can also be used in plugin apps, and when provided with a fakts token
73
+ will be able to connect to the ArkitektNext server without any user interaction.
74
+
75
+
76
+ Parameters
77
+ ----------
78
+ identifier : str
79
+ The apps identifier (should be globally unique, see Manifest for more info)
80
+ version : str, optional
81
+ The version of the app, by default "0.0.1"
82
+ logo : str, optional
83
+ The logo of the app as a public http url, by default None
84
+ scopes : List[str], optional
85
+ The scopes, that this apps requires, will default to standard scopes, by default None
86
+ url : str, optional
87
+ The fakts server that will be used to configure this app, in a default ArkitektNext deployment this
88
+ is the address of the "Lok Service" (which provides the Fakts API), by default DEFAULT_ARKITEKT_URL
89
+ Will be overwritten by the FAKTS_URL environment variable
90
+ headless : bool, optional
91
+ Should we run in headless, mode, e.g printing necessary interaction into the console (will forexample
92
+ stop opening browser windows), by default False
93
+ log_level : str, optional
94
+ The log-level to use, by default "ERROR"
95
+ token : str, optional
96
+ A fakts token to use, by default None
97
+ Will be overwritten by the FAKTS_TOKEN environment variable
98
+ no_cache : bool, optional
99
+ Should we skip caching token, acess-token, by default False
100
+ Attention: If this is set to True, the app will always have to be configured
101
+ and authenticated.
102
+ instance_id : str, optional
103
+ The instance_id to use, by default "main"
104
+ Can be set to a different value, if you want to run multiple intstances
105
+ of the same app by the same user.
106
+ Will be overwritten by the REKUEST_INSTANCE_ID environment variable
107
+ register_reaktion : bool, optional
108
+ Should we register the reaktion extension, by default True
109
+ If set to False, the app will not be able to use the reaktion extension
110
+ (which is necessary for scheduling in app` workflows from fluss)
111
+ app_kind : str, optional
112
+ The kind of app to create, by default "development"
113
+ Can be set to "desktop" to create a desktop app, that can be used by multiple users.
114
+
115
+ Returns
116
+ -------
117
+ NextApp
118
+ A built app, that can be used to interact with the ArkitektNext server
119
+ """
120
+ registry = registry or check_and_import_services()
121
+
122
+ url = os.getenv("FAKTS_URL", url)
123
+ token = os.getenv("FAKTS_TOKEN", token)
124
+
125
+ manifest = Manifest(
126
+ version=version,
127
+ identifier=identifier,
128
+ scopes=scopes if scopes else ["openid"],
129
+ logo=logo,
130
+ requirements=registry.get_requirements(),
131
+ )
132
+ if token:
133
+ print("Using token")
134
+ fakts = build_arkitekt_next_token_fakts(
135
+ manifest=manifest,
136
+ token=token,
137
+ url=url,
138
+ )
139
+
140
+ elif redeem_token:
141
+ print("Using redeem token")
142
+ fakts = build_arkitekt_next_redeem_fakts_next(
143
+ manifest=manifest,
144
+ redeem_token=redeem_token,
145
+ url=url,
146
+ no_cache=no_cache,
147
+ headless=headless,
148
+ )
149
+ else:
150
+ print("Using normal fakts")
151
+ fakts = build_arkitekt_next_fakts_next(
152
+ manifest=manifest,
153
+ url=url,
154
+ no_cache=no_cache,
155
+ headless=headless,
156
+ client_kind=app_kind,
157
+ )
158
+
159
+ herre = build_arkitekt_next_herre(fakts=fakts)
160
+
161
+ params = kwargs
162
+
163
+ create_arkitekt_next_folder(with_cache=True)
164
+
165
+ try:
166
+ from rich.logging import RichHandler
167
+
168
+ logging.basicConfig(level=log_level, handlers=[RichHandler()])
169
+ except ImportError:
170
+ logging.basicConfig(level=log_level)
171
+
172
+ app = App(
173
+ fakts=fakts,
174
+ herre=herre,
175
+ manifest=manifest,
176
+ services=registry.build_service_map(
177
+ fakts=fakts, herre=herre, params=params, manifest=manifest
178
+ ),
179
+ )
180
+
181
+ app.enter()
182
+
183
+ return app
184
+
185
+
186
+ def publicqt(
187
+ identifier: str,
188
+ version: str = "latest",
189
+ logo: Optional[str] = None,
190
+ scopes: Optional[List[str]] = None,
191
+ log_level: str = "ERROR",
192
+ registry: Optional[ServiceBuilderRegistry] = None,
193
+ parent: Optional[QtWidgets.QWidget] = None,
194
+ beacon_widget: Optional[QtWidgets.QWidget] = None,
195
+ login_widget: Optional[QtWidgets.QWidget] = None,
196
+ settings: Optional[QtCore.QSettings] = None,
197
+ **kwargs,
198
+ ) -> App:
199
+ """Public QtApp creation
200
+
201
+ A simple way to create an Arkitekt app with a public grant (allowing users to sign
202
+ in with the application ) utlizing a retrieve grant (necessating a previous configuration
203
+ of the application on the server side)
204
+
205
+ Args:
206
+ identifier (str): The apps identifier
207
+ version (str, optional): The apps verion. Defaults to "latest".
208
+ parent (QtWidget, optional): The QtParent (for the login and server select widget). Defaults to None.
209
+
210
+ Returns:
211
+ Arkitekt: The Arkitekt app
212
+ """
213
+
214
+ registry = registry or check_and_import_services()
215
+
216
+ settings = settings or QtCore.QSettings("arkitekt_next", f"{identifier}:{version}")
217
+
218
+ manifest = Manifest(
219
+ version=version,
220
+ identifier=identifier,
221
+ scopes=scopes if scopes else ["openid"],
222
+ logo=logo,
223
+ requirements=registry.get_requirements(),
224
+ )
225
+
226
+ fakts = build_arkitekt_next_qt_fakts(
227
+ manifest=manifest,
228
+ beacon_widget=beacon_widget,
229
+ parent=parent,
230
+ settings=settings,
231
+ )
232
+
233
+ herre = build_arkitekt_next_qt_herre(
234
+ manifest,
235
+ fakts=fakts,
236
+ login_widget=login_widget,
237
+ parent=parent,
238
+ settings=settings,
239
+ )
240
+
241
+ params = kwargs
242
+
243
+ try:
244
+ from rich.logging import RichHandler
245
+
246
+ logging.basicConfig(level=log_level, handlers=[RichHandler()])
247
+ except ImportError:
248
+ logging.basicConfig(level=log_level)
249
+
250
+ app = App(
251
+ fakts=fakts,
252
+ herre=herre,
253
+ manifest=manifest,
254
+ services=registry.build_service_map(
255
+ fakts=fakts, herre=herre, params=params, manifest=manifest
256
+ ),
257
+ )
258
+
259
+ app.enter()
260
+
261
+ return app
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "arkitekt-next"
3
- version = "0.7.58"
3
+ version = "0.7.60"
4
4
  description = "client for the arkitekt_next platform"
5
5
  authors = ["jhnnsrs <jhnnsrs@gmail.com>"]
6
6
  license = "MIT"
@@ -11,13 +11,13 @@ readme = "README.md"
11
11
  python = "^3.8"
12
12
  herre = ">=0.4.3"
13
13
  fakts = ">=0.5.0"
14
- mikro-next = { version = ">=0.1.32", python = "^3.10", optional = true }
15
- kabinet = { version = ">=0.1.15", optional = true, python = "^3.9" }
16
- fluss-next = { version = ">=0.1.77", optional = true }
17
- reaktion-next= { version = ">=0.1.67", python = "^3.8", optional = true }
18
- rekuest-next= { version = ">=0.2.23", python = "^3.8", optional = true }
19
- unlok-next= { version = ">=0.1.70", python = "^3.8", optional = true }
20
- lovekit = { version = ">=0.1.4", python = "^3.9", optional = true }
14
+ mikro-next = { version = ">=0.1.34", python = "^3.10", optional = true }
15
+ kabinet = { version = ">=0.1.17", optional = true, python = "^3.9" }
16
+ fluss-next = { version = ">=0.1.79", optional = true }
17
+ reaktion-next= { version = ">=0.1.69", python = "^3.8", optional = true }
18
+ rekuest-next= { version = ">=0.2.25", python = "^3.8", optional = true }
19
+ unlok-next= { version = ">=0.1.73", python = "^3.8", optional = true }
20
+ lovekit = { version = ">=0.1.6", python = "^3.9", optional = true }
21
21
  rich-click = { version = ">=1.6.1", optional = true }
22
22
  watchfiles = { version = ">=0.18.1", optional = true }
23
23
  turms = { version = ">=0.5.0", python = "^3.9", optional = true }
@@ -1,95 +0,0 @@
1
- from arkitekt_next.apps.service.fakts_next import (
2
- build_arkitekt_next_redeem_fakts_next,
3
- )
4
- from arkitekt_next.apps.service.fakts_qt import build_arkitekt_next_qt_fakts
5
- from arkitekt_next.apps.service.herre_qt import build_arkitekt_next_qt_herre
6
- from arkitekt_next.utils import create_arkitekt_next_folder
7
- from arkitekt_next.model import Manifest
8
- from arkitekt_next.apps.types import App
9
- from arkitekt_next.service_registry import (
10
- ServiceBuilderRegistry,
11
- check_and_import_services,
12
- )
13
- from arkitekt_next.constants import DEFAULT_ARKITEKT_URL
14
- from qtpy import QtWidgets, QtCore
15
- from typing import List, Optional
16
- import os
17
- import logging
18
-
19
-
20
- def publicqt(
21
- identifier: str,
22
- version: str = "latest",
23
- logo: Optional[str] = None,
24
- scopes: Optional[List[str]] = None,
25
- log_level: str = "ERROR",
26
- registry: Optional[ServiceBuilderRegistry] = None,
27
- parent: Optional[QtWidgets.QWidget] = None,
28
- beacon_widget: Optional[QtWidgets.QWidget] = None,
29
- login_widget: Optional[QtWidgets.QWidget] = None,
30
- settings: Optional[QtCore.QSettings] = None,
31
- **kwargs,
32
- ) -> App:
33
- """Public QtApp creation
34
-
35
- A simple way to create an Arkitekt app with a public grant (allowing users to sign
36
- in with the application ) utlizing a retrieve grant (necessating a previous configuration
37
- of the application on the server side)
38
-
39
- Args:
40
- identifier (str): The apps identifier
41
- version (str, optional): The apps verion. Defaults to "latest".
42
- parent (QtWidget, optional): The QtParent (for the login and server select widget). Defaults to None.
43
-
44
- Returns:
45
- Arkitekt: The Arkitekt app
46
- """
47
-
48
- registry = registry or check_and_import_services()
49
-
50
- settings = settings or QtCore.QSettings("arkitekt_next", f"{identifier}:{version}")
51
-
52
- manifest = Manifest(
53
- version=version,
54
- identifier=identifier,
55
- scopes=scopes if scopes else ["openid"],
56
- logo=logo,
57
- requirements=registry.get_requirements(),
58
- )
59
-
60
- fakts = build_arkitekt_next_qt_fakts(
61
- manifest=manifest,
62
- beacon_widget=beacon_widget,
63
- parent=parent,
64
- settings=settings,
65
- )
66
-
67
- herre = build_arkitekt_next_qt_herre(
68
- manifest,
69
- fakts=fakts,
70
- login_widget=login_widget,
71
- parent=parent,
72
- settings=settings,
73
- )
74
-
75
- params = kwargs
76
-
77
- try:
78
- from rich.logging import RichHandler
79
-
80
- logging.basicConfig(level=log_level, handlers=[RichHandler()])
81
- except ImportError:
82
- logging.basicConfig(level=log_level)
83
-
84
- app = App(
85
- fakts=fakts,
86
- herre=herre,
87
- manifest=manifest,
88
- services=registry.build_service_map(
89
- fakts=fakts, herre=herre, params=params, manifest=manifest
90
- ),
91
- )
92
-
93
- app.enter()
94
-
95
- return app
File without changes
File without changes