vantage6 5.0.0a29__py3-none-any.whl → 5.0.0a34__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 vantage6 might be problematic. Click here for more details.

Files changed (45) hide show
  1. vantage6/cli/__init__.py +5 -1
  2. vantage6/cli/algorithm/generate_algorithm_json.py +3 -11
  3. vantage6/cli/algostore/new.py +24 -46
  4. vantage6/cli/algostore/start.py +33 -67
  5. vantage6/cli/algostore/stop.py +75 -40
  6. vantage6/cli/common/new.py +60 -0
  7. vantage6/cli/common/start.py +17 -223
  8. vantage6/cli/common/stop.py +1 -1
  9. vantage6/cli/common/utils.py +212 -16
  10. vantage6/cli/configuration_manager.py +65 -0
  11. vantage6/cli/configuration_wizard.py +95 -76
  12. vantage6/cli/context/algorithm_store.py +8 -7
  13. vantage6/cli/context/base_server.py +22 -30
  14. vantage6/cli/context/node.py +11 -2
  15. vantage6/cli/context/server.py +17 -8
  16. vantage6/cli/globals.py +12 -11
  17. vantage6/cli/node/common/__init__.py +1 -1
  18. vantage6/cli/node/create_private_key.py +9 -6
  19. vantage6/cli/node/set_api_key.py +7 -4
  20. vantage6/cli/node/start.py +1 -1
  21. vantage6/cli/node/stop.py +7 -7
  22. vantage6/cli/server/import_.py +1 -2
  23. vantage6/cli/server/list.py +0 -3
  24. vantage6/cli/server/new.py +13 -51
  25. vantage6/cli/server/shell.py +1 -1
  26. vantage6/cli/server/start.py +17 -17
  27. vantage6/cli/server/stop.py +64 -15
  28. vantage6/cli/template/algo_store_config.j2 +195 -22
  29. vantage6/cli/template/server_config.j2 +255 -33
  30. vantage6-5.0.0a34.dist-info/METADATA +54 -0
  31. {vantage6-5.0.0a29.dist-info → vantage6-5.0.0a34.dist-info}/RECORD +33 -42
  32. {vantage6-5.0.0a29.dist-info → vantage6-5.0.0a34.dist-info}/WHEEL +1 -2
  33. vantage6-5.0.0a34.dist-info/entry_points.txt +2 -0
  34. tests_cli/__init__.py +0 -0
  35. tests_cli/test_client_script.py +0 -23
  36. tests_cli/test_example.py +0 -7
  37. tests_cli/test_node_cli.py +0 -452
  38. tests_cli/test_server_cli.py +0 -180
  39. tests_cli/test_wizard.py +0 -141
  40. vantage6/cli/__build__ +0 -1
  41. vantage6/cli/_version.py +0 -23
  42. vantage6/cli/template/server_import_config.j2 +0 -31
  43. vantage6-5.0.0a29.dist-info/METADATA +0 -238
  44. vantage6-5.0.0a29.dist-info/entry_points.txt +0 -5
  45. vantage6-5.0.0a29.dist-info/top_level.txt +0 -2
@@ -1,34 +1,256 @@
1
- allow_drop_all: false
2
- api_path: /api
3
- description: 'defaultserver'
4
- ip: 0.0.0.0
5
- logging:
6
- backup_count: 5
7
- datefmt: '%Y-%m-%d %H:%M:%S'
8
- file: test-server.log
9
- format: '%(asctime)s - %(name)-14s - %(levelname)-8s - %(message)s'
10
- level: DEBUG
11
- max_size: 1024
12
- use_console: true
13
- loggers:
14
- - level: warning
15
- name: urllib3
16
- - level: warning
17
- name: socketIO-client
18
- - level: warning
19
- name: socketio.server
20
- - level: warning
21
- name: engineio.server
22
- - level: warning
23
- name: sqlalchemy.engine
24
- - level: warning
25
- name: requests_oauthlib.oauth2_session
26
- port: {{ port }}
27
- uri: sqlite:///default.sqlite
28
- dev:
29
- host_uri: {{ host_uri }}
30
- server_url: http://localhost:{{ port }}/api
1
+ # Override the chart name
2
+ nameOverride: {{ nameOverride | default('vantage6-server') }}
3
+ # Optional, by default the Release.Namespace is used
4
+ # namespace: vantage6-server
5
+ server:
6
+ # The description of the server
7
+ description: {{ server.description | default('Vantage6 server version 5') }}
8
+
9
+ # The external URL of the server
10
+ baseUrl: {{ server.baseUrl | default('http://localhost:7601') }}
11
+ apiPath: {{ server.apiPath | default('/server') }}
12
+
13
+ # Keycloak configuration
14
+ keycloakUrl: {{ server.keycloakUrl }}
15
+ keycloakRealm: {{ server.keycloakRealm | default('vantage6') }}
16
+ keycloakAdminUsername: {{ server.keycloakAdminUsername | default('admin') }}
17
+ keycloakAdminPassword: {{ server.keycloakAdminPassword | default('admin') }}
18
+ keycloakAdminClient: {{ server.keycloakAdminClient | default('backend-admin-client') }}
19
+ keycloakAdminClientSecret: {{ server.keycloakAdminClientSecret | default('myadminclientsecret') }}
20
+ {% if server.keycloak is defined %}
21
+ keycloak:
22
+ manage_users_and_nodes: {{ server.keycloak.manage_users_and_nodes | default(true) }}
23
+ {% endif %}
24
+ {% if server.keycloak is not defined %}
25
+ keycloak:
26
+ manage_users_and_nodes: true
27
+ {% endif %}
28
+
29
+ {% if server.internal is defined %}
30
+ internal:
31
+ port: {{ server.internal.port | default(7601) }}
32
+ {% endif %}
33
+ {% if server.internal is not defined %}
34
+ internal:
35
+ port: 7601
36
+ {% endif %}
37
+
38
+ port: {{ server.port | default(7601) }}
39
+
40
+ # The number of replicas of the server
41
+ replications: {{ server.replications | default(1) }}
42
+
43
+ # The image used to start the server
44
+ image: {{ server.image | default('harbor2.vantage6.ai/infrastructure/server:latest') }}
45
+
46
+ logging:
47
+ # Controls the logging output level. Could be one of the following
48
+ # levels: CRITICAL, ERROR, WARNING, INFO, DEBUG, NOTSET
49
+ level: {{ server.logging.level | default('INFO') }}
50
+
51
+ # Location to the log file
52
+ file: {{ server.logging.file | default('server.log') }}
53
+
54
+ # Size in kb of a single log file
55
+ max_size: {{ server.logging.max_size | default(1024) }}
56
+ use_console: {{ server.logging.use_console | default(true) }}
57
+
58
+ # Date format for the log file
59
+ datefmt: "{{ server.logging.datefmt | default('%Y-%m-%d %H:%M:%S') }}"
60
+
61
+ # Format for the log file
62
+ format: "{{ server.logging.format | default('%(asctime)s - %(name)-14s - %(levelname)-8s - %(message)s') }}"
63
+
64
+ # Maximum number of log files to keep. Log files are rotated when the size of the
65
+ # current log file exceeds `max_size`.
66
+ backup_count: {{ server.logging.backup_count | default(5) }}
67
+
68
+ # Loggers to include in the log file
69
+ loggers:
70
+ {% if server.logging.loggers is defined %}
71
+ {% for logger in server.logging.loggers %}
72
+ - level: {{ logger.level }}
73
+ name: {{ logger.name }}
74
+ {% endfor %}
75
+ {% endif %}
76
+ {% if server.logging.loggers is not defined %}
77
+ - level: warning
78
+ name: urllib3
79
+ - level: warning
80
+ name: socketIO-client
81
+ - level: warning
82
+ name: socketio.server
83
+ - level: warning
84
+ name: engineio.server
85
+ - level: warning
86
+ name: sqlalchemy.engine
87
+ {% endif %}
88
+
89
+ {% if server.jwt is defined and server.jwt.secret is defined %}
90
+ # Setting constant secret for the JWT token. This is not recommended for production
91
+ # environments.
92
+ jwt:
93
+ secret: {{ server.jwt.secret }}
94
+ {% endif %}
95
+
96
+ {% if server.dev is defined %}
97
+ dev:
98
+ host_uri: {{ server.dev.host_uri | default('host.docker.internal') }}
99
+ # This should be set to true if you are running the algorithm store in the same
100
+ # cluster and namespace as the server
101
+ store_in_local_cluster: {{ server.dev.store_in_local_cluster | default(false) }}
102
+ {% endif %}
103
+
104
+ # If you want to couple algorithm stores to the server on startup, you can add them here.
105
+ # The name is used to identify the algorithm store in the server's database.
106
+ # The url is the URL of the algorithm store's API.
107
+ {% if server.algorithm_stores is defined %}
108
+ algorithm_stores:
109
+ {% for store in server.algorithm_stores %}
110
+ - name: {{ store.name }}
111
+ url: {{ store.url }}
112
+ {% endfor %}
113
+ {% else %}
114
+ # algorithm_stores:
115
+ # - name: local store
116
+ # url: http://localhost:7602/api
117
+ {% endif %}
118
+
119
+ # Cleanup settings: This is used to cleanup the database from old results.
120
+ # Every hour, results older than the threshold for completed runs are deleted.
121
+ # Disabled unless you specify this option. Careful! Make sure you have regular
122
+ # backups of your database before enabling this feature, as a wrong configuration
123
+ # could lead to data loss.
124
+ {% if server.runs_data_cleanup_days is defined %}
125
+ runs_data_cleanup_days: {{ server.runs_data_cleanup_days }}
126
+ {% endif %}
127
+ {% if server.runs_data_cleanup_days is not defined %}
128
+ # runs_data_cleanup_days: 30
129
+ {% endif %}
130
+ # Whether to also delete the algorithm arguments of the runs. False by default.
131
+ {% if server.runs_data_cleanup_include_args is defined %}
132
+ runs_data_cleanup_include_args: {{ server.runs_data_cleanup_include_args }}
133
+ {% endif %}
134
+ {% if server.runs_data_cleanup_include_args is not defined %}
135
+ # runs_data_cleanup_include_args: false
136
+ {% endif %}
137
+
138
+ # Settings for enabling monitoring of vantage6 nodes resource usage (e.g. CPU, memory).
139
+ # This is done using Prometheus. There are two components to this:
140
+ # 1. The Prometheus exporter (running as part of the vantage6 server), which collects
141
+ # the metrics from the nodes.
142
+ # 2. The Prometheus server (running as a separate Docker container), which scrapes the
143
+ # metrics exposed by the Prometheus exporter and stores them.
144
+ # The exporter is started by default when the server starts (if prometheus is enabled).
145
+ # The Prometheus server can be started separately.
146
+ prometheus:
147
+ # Set to true to enable Prometheus reporting. Default is false.
148
+ {% if server.prometheus is defined %}
149
+ enabled: {{ server.prometheus.enabled | default(false) }}
150
+ {% else %}
151
+ enabled: false
152
+ {% endif %}
153
+ # Set to true to start the Prometheus server when starting the server
154
+ {% if server.prometheus is defined and server.prometheus.start_with_server is defined %}
155
+ start_with_server: {{ server.prometheus.start_with_server }}
156
+ {% else %}
157
+ # start_with_server: false
158
+ {% endif %}
159
+ # The port on which the Prometheus exporter will be available. This is the port that the Prometheus server will scrape.
160
+ # Note: The Prometheus server assumes the exporter is accessible via the Docker container's hostname.
161
+ # Ensure that Prometheus is in the same Docker network as the vantage6 server to resolve the hostname.
162
+ {% if server.prometheus is defined and server.prometheus.exporter_port is defined %}
163
+ exporter_port: {{ server.prometheus.exporter_port }}
164
+ {% else %}
165
+ # exporter_port: 7603
166
+ {% endif %}
167
+
168
+ # set up with which origins the server should allow CORS requests. The default
169
+ # is to allow all origins. If you want to restrict this, you can specify a list
170
+ # of origins here. Below are examples to allow requests from the Cotopaxi UI, and
171
+ # port 7600 on localhost. Usually, only the UI needs to access the server.
172
+ {% if server.cors_allowed_origins is defined %}
173
+ cors_allowed_origins:
174
+ {% for origin in server.cors_allowed_origins %}
175
+ - {{ origin }}
176
+ {% endfor %}
177
+ {% else %}
178
+ # cors_allowed_origins:
179
+ # - https://portal.cotopaxi.vantage6.ai
180
+ # - http://localhost:7600
181
+ {% endif %}
182
+
183
+ rabbitmq:
184
+ # The image of the RabbitMQ server
185
+ image:
186
+ {% if rabbitmq.image is defined %}
187
+ repository: {{ rabbitmq.image.repository | default('rabbitmq') }}
188
+ tag: {{ rabbitmq.image.tag | default('3-management') }}
189
+ {% else %}
190
+ repository: rabbitmq
191
+ tag: 3-management
192
+ {% endif %}
193
+
194
+ # The username of the RabbitMQ server
195
+ username: {{ rabbitmq.username | default('rabbitmquser') }}
196
+
197
+ # The password of the RabbitMQ server
198
+ password: {{ rabbitmq.password | default('rabbitmquserpassword') }}
199
+
200
+ # The vhost of the RabbitMQ server
201
+ vhost: {{ rabbitmq.vhost | default('/vantage6') }}
202
+
203
+ database:
204
+ # whether or not to use an external database
205
+ external: {{ database.external | default(false) }}
206
+ {% if database.external is defined and database.external %}
207
+ # the URI of the external database
208
+ uri: {{ database.uri | default('postgresql://vantage6:vantage6@localhost:5432/vantage6') }}
209
+ {% else %}
210
+ # The image of the database
211
+ image:
212
+ {% if database.image is defined %}
213
+ repository: {{ database.image.repository | default('postgres') }}
214
+ tag: {{ database.image.tag | default('13') }}
215
+ {% else %}
216
+ repository: postgres
217
+ tag: 13
218
+ {% endif %}
219
+
220
+ # The username of the database
221
+ username: {{ database.username | default('vantage6') }}
222
+
223
+ # The password of the database
224
+ password: {{ database.password | default('vantage6') }}
225
+
226
+ # The name of the database
227
+ name: {{ database.name | default('vantage6') }}
228
+
229
+ #hostpath of the database mount
230
+ volumePath: {{ database.volumePath }}
231
+
232
+ # The name of the k8s node where the database is running
233
+ k8sNodeName: {{ database.k8sNodeName }}
234
+ {% endif %}
235
+
31
236
  ui:
32
- enabled: true
33
- port: {{ ui_port }}
34
- {{ user_provided_config }}
237
+
238
+ # The image of the UI
239
+ image: {{ ui.image | default('harbor2.vantage6.ai/infrastructure/ui:latest') }}
240
+ # Service port for the UI
241
+ port: 7600
242
+ # keycloak realm
243
+ keycloakRealm: {{ ui.keycloakRealm | default('vantage6') }}
244
+ # keycloak client
245
+ keycloakClient: {{ ui.keycloakClient | default('public_client') }}
246
+ # keycloak public URL
247
+ keycloakPublicUrl: {{ ui.keycloakPublicUrl | default('http://localhost:8080') }}
248
+
249
+ # Allowed algorithm stores for Bearer token inclusion (comma-separated URLs)
250
+ # Use "*" to allow all stores (less secure) or specify specific URLs
251
+ # allowedAlgorithmStores: "http://localhost:7602 https://store.cotopaxi.vantage6.ai"
252
+ allowedAlgorithmStores: "{{ ui.allowedAlgorithmStores | default('*') }}"
253
+ # Community algorithm store URL.
254
+ communityStoreUrl: {{ ui.communityStoreUrl | default('https://store.cotopaxi.vantage6.ai') }}
255
+ # Community algorithm store API path
256
+ communityStoreApiPath: {{ ui.communityStoreApiPath | default('/api') }}
@@ -0,0 +1,54 @@
1
+ Metadata-Version: 2.4
2
+ Name: vantage6
3
+ Version: 5.0.0a34
4
+ Summary: vantage6 command line interface
5
+ Author: Vantage6 Team
6
+ Maintainer-email: Frank Martin <f.martin@iknl.nl>, Bart van Beusekom <b.vanbeusekom@iknl.nl>
7
+ License: MIT
8
+ Requires-Python: >=3.13
9
+ Requires-Dist: click==8.1.3
10
+ Requires-Dist: colorama==0.4.6
11
+ Requires-Dist: copier==9.9.1
12
+ Requires-Dist: docker==7.1.0
13
+ Requires-Dist: ipython==8.10.0
14
+ Requires-Dist: jinja2==3.1.6
15
+ Requires-Dist: kubernetes==28.1.0
16
+ Requires-Dist: pandas>=2.2.3
17
+ Requires-Dist: questionary==1.10.0
18
+ Requires-Dist: rich==13.5.2
19
+ Requires-Dist: schema==0.7.5
20
+ Requires-Dist: sqlalchemy==2.0.37
21
+ Requires-Dist: vantage6-client==5.0.0a34
22
+ Requires-Dist: vantage6-common==5.0.0a34
23
+ Provides-Extra: dev
24
+ Requires-Dist: black; extra == 'dev'
25
+ Requires-Dist: coverage==7.10.2; extra == 'dev'
26
+ Requires-Dist: pre-commit; extra == 'dev'
27
+ Description-Content-Type: text/markdown
28
+
29
+ <h1 align="center">
30
+ <br>
31
+ <a href="https://vantage6.ai"><img src="https://github.com/IKNL/guidelines/blob/master/resources/logos/vantage6.png?raw=true" alt="vantage6" width="350"></a>
32
+ </h1>
33
+
34
+ <h3 align=center> A Privacy Enhancing Technology (PET) Operations platform</h3>
35
+
36
+ ---
37
+
38
+ # Vantage6 CLI
39
+
40
+ This package provides the command-line interface (CLI) for managing vantage6
41
+ infrastructure instances, such as servers and nodes.
42
+
43
+ ## Documentation
44
+
45
+ For complete documentation, installation instructions, and usage examples, please see
46
+ the **[main Vantage6 README](https://github.com/vantage6/vantage6/blob/main/README.md)**
47
+ .
48
+
49
+ ## About Vantage6
50
+
51
+ Vantage6 is a Privacy Enhancing Technology (PET) Operations platform that enables
52
+ federated learning and multi-party computation. For more information, visit
53
+ [vantage6.ai](https://vantage6.ai) or join our
54
+ [Discord community](https://discord.gg/yAyFf6Y).
@@ -1,53 +1,46 @@
1
- tests_cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- tests_cli/test_client_script.py,sha256=_Wf8nKEfq6HEnfUQtwZvyICEmEa1TngyI_orPRQ7ZNQ,683
3
- tests_cli/test_example.py,sha256=0fw_v-lgZEacshWSDwLNyLMA1_xc48bKUGM3ll-n1L0,146
4
- tests_cli/test_node_cli.py,sha256=jM-nZkcvdEwwHVgQi8C7cYAbTJOzVmFl60MFXYVH9ig,16798
5
- tests_cli/test_server_cli.py,sha256=i0XBybUPn0_ACOHBi8d6vFETut7szz3Zt8ttmZhWVPc,6545
6
- tests_cli/test_wizard.py,sha256=ds2gJeBasQ06-nzqsPSSxrj-COe4pCLPgqrlBVkCXkw,5021
7
- vantage6/cli/__build__,sha256=NRNaqmzCOJG0DLPzeMU6F6ESchDOYOElzPA-_P2uxFg,2
8
- vantage6/cli/__init__.py,sha256=ZXbeQ_-g2-M4XYteWZkoO5lMFYhqjm5doQgGy1fq8i0,125
9
- vantage6/cli/_version.py,sha256=iDijqhgy5jzZ0LAyzW1LlXeeuMcHWMyg9D8xbXtV7Ck,696
1
+ vantage6/cli/__init__.py,sha256=8KIgMPbZTNdkYlUrB8irpsUA7KdkFdLbNbMKixOP2dE,277
10
2
  vantage6/cli/cli.py,sha256=EeMfvBABKYauujZDR09IjpBgtbBg1sS1iJPuzre-AqM,6474
11
3
  vantage6/cli/config.py,sha256=Jqe3VcvoxPrFlvw7cuKt4-5oyL0YTZXvpNsqPybSAYk,7973
12
- vantage6/cli/configuration_manager.py,sha256=FV0RmiKmaGI2le8coUA4R5NTFUgPeph5XimxqgDhIsg,3332
13
- vantage6/cli/configuration_wizard.py,sha256=6UB4YwBlCjRT88bHgp6VeDFgQklAM2g2WXS10qmyhnY,18912
14
- vantage6/cli/globals.py,sha256=CxpxWXBLvAJR7st4-iRh95xbBZrn3qxKdbW3_7wmKY8,2245
4
+ vantage6/cli/configuration_manager.py,sha256=kgQNBaQdypKsqs18s6h1Zp4CwpgcBEqWsRuRC_ZWFPE,5079
5
+ vantage6/cli/configuration_wizard.py,sha256=C-Z2e1oEKX2ZLIWO6y3kCwcyhtvxLC1ivcZM_8NDlDA,19613
6
+ vantage6/cli/globals.py,sha256=1R1XivMfzU5QmZO-UsrCX1e3im9vdun6v2pw2NUM3JI,2223
15
7
  vantage6/cli/utils.py,sha256=mhCtsxCf8nOCaW3layW8aJGI0XAjGs0IuheCNj3o-IA,4397
16
8
  vantage6/cli/algorithm/create.py,sha256=kRT1BlBcb0fDaB2Q988WxtA6EyAZmOW5QoU2uhbwBIo,2075
17
- vantage6/cli/algorithm/generate_algorithm_json.py,sha256=zwWtPVx_J2QtGHW9GnR3X95l0e3aP-zNASM6ADiVnrM,19983
9
+ vantage6/cli/algorithm/generate_algorithm_json.py,sha256=huaqoadhz-2-Sy6SON9zFe_cAatvE7dtTQazvmNOgMA,19558
18
10
  vantage6/cli/algorithm/update.py,sha256=WwAfTnq0kTOgePUsBzGoo1AJQqGMn82E9Bjk1wf61CQ,1338
19
11
  vantage6/cli/algostore/attach.py,sha256=0WzLnKigJAelPpL5EaWcnRuUyQzMSofrrZfEzwDIvSw,311
20
12
  vantage6/cli/algostore/files.py,sha256=r89VRixK_K-c44qseq58Aa2Dqf1wEf8yompQRN5AVu4,580
21
13
  vantage6/cli/algostore/list.py,sha256=xBCnwGbuWY_rrx6jrFX8JVAEFXh8GwqwicqpxMiaSa8,418
22
- vantage6/cli/algostore/new.py,sha256=ekqZ7_qCUtWs0QU6coo34thfkksHbCAYAD8nr0SKgO4,2147
14
+ vantage6/cli/algostore/new.py,sha256=8ZUpW_K8m_R3MUSe9d6bl-ia3QWLeLXwmvmiv4JwpCI,1018
23
15
  vantage6/cli/algostore/remove.py,sha256=ieQLpo2ZpblpPxaeRXdB7IO0DzTtURnveYQltW7TTSw,1643
24
- vantage6/cli/algostore/start.py,sha256=fse7beckD5bWtjQLQ8xRA_jeqsxM0cZjZo2_S0rYvSM,3160
25
- vantage6/cli/algostore/stop.py,sha256=Fqoj7W7NOW5nkvND5J2oSMqMD8knfD93fraN9KBSCmg,1836
16
+ vantage6/cli/algostore/start.py,sha256=YjhnkLjPLVhsxpQxzPgsYc7p8Un6YJ91_OpukTso2eE,2107
17
+ vantage6/cli/algostore/stop.py,sha256=n6FTmXF7Np9gZgPJMF71YkRR3aK0PkK64MRjULysH_4,2927
26
18
  vantage6/cli/common/decorator.py,sha256=KF3uFjmn00qtTSD90BLczaX-gqvlt2Kud4PJGm7P4jU,3627
27
- vantage6/cli/common/start.py,sha256=6L_6NraS1U9Gj_UiQYkg4UE4bwjQkCQdTigb1L6fCm4,15277
28
- vantage6/cli/common/stop.py,sha256=CxW5OFZT7eacpln9J05ble2Q3xHCqyxYqJ00rPUbrVo,2645
29
- vantage6/cli/common/utils.py,sha256=z9NX_2hft2bkIvilnrtLV92ui62pIEhj-f3gCJcjcQ4,4970
19
+ vantage6/cli/common/new.py,sha256=kY34iuNEq5mXA-XRGY3TlomAvkzzArGjGGwjZFBrGc0,2017
20
+ vantage6/cli/common/start.py,sha256=nhxQlqKe3g_sPISswq7tvV5Pf1rQMQWGL6BCpcgzXFQ,9078
21
+ vantage6/cli/common/stop.py,sha256=bdo6pA4YLu0orQ4-Ii7P_hqwQJ75kO2WMkp-0gRKVsg,2645
22
+ vantage6/cli/common/utils.py,sha256=AEptnTib104bTTmG6XTdDijDaz9IuV480BGcQqLMDEU,10550
30
23
  vantage6/cli/context/__init__.py,sha256=88LSA3h_v-t8PzjCrzl0vw1jkOdNUNr3nPo-L2e9onc,2684
31
- vantage6/cli/context/algorithm_store.py,sha256=qLNbc94q3EpVGUgGuNDObCPK3QfyKveKwmfolLBq8sE,3976
32
- vantage6/cli/context/base_server.py,sha256=paKSzNrKWD-J6eakHAtGELk2cD05A8NqoCAuQfF7c2s,2972
33
- vantage6/cli/context/node.py,sha256=GuBfarE1wqtU8S7Ww-DS0H8dJuLxBxqPZrdIwKBpGdU,7123
34
- vantage6/cli/context/server.py,sha256=vPcPtyHntdDXkOYcel2mb0JZbihnmFgizYMG8ajjnHg,4639
24
+ vantage6/cli/context/algorithm_store.py,sha256=qTNRrCo_EWVAfSC4eg_MohSf_Ra4U3tZvB8EwZZREEw,4044
25
+ vantage6/cli/context/base_server.py,sha256=i0op_9mifKjJIP4I1Z-V3HRFf_WPOrBQGFvTL6pJZL8,2450
26
+ vantage6/cli/context/node.py,sha256=RsCO12B21ypaGn96Dz6mriA-RjS9GyptF2bSbUShjcI,7453
27
+ vantage6/cli/context/server.py,sha256=o2HMlDEg7RbU44AfwNPln8K64FX4SQ_IgULFY_GBhEI,4837
35
28
  vantage6/cli/dev/create.py,sha256=WBBPG9jyNvPQVb1koHX9y3VKQmlijlq-QBsYYzqqojg,21207
36
29
  vantage6/cli/dev/remove.py,sha256=kjmOqkMO0ZU5F-3KgQ05VlfQQCS5Ta6yLY32DU0rH7k,3917
37
30
  vantage6/cli/dev/data/km_dataset.csv,sha256=OrYF2ympb2QndiUOX_nTFGGB1HbAp2eOvZzrQ_PqJs4,31283
38
31
  vantage6/cli/node/attach.py,sha256=cmouPrkbIbg21_wlAe-L-ecmrKVxiDkzGmEtRaCnKQY,276
39
32
  vantage6/cli/node/clean.py,sha256=uCty2GNuwoTybs1nIOygQLxtbleQ-rnnS6_4ieWVmCw,1199
40
- vantage6/cli/node/create_private_key.py,sha256=iGLK8x1aOmeObq-vZxlveosiqx1R0myfjU64R5lR0ho,5005
33
+ vantage6/cli/node/create_private_key.py,sha256=gmgI9Gtcx3z0esxyLw-96HcrfmAJFOjjXbVvA9ZGN3g,5129
41
34
  vantage6/cli/node/files.py,sha256=V7bJeR8weX0Llpp6y9wQoNrRsvlotEE6e70aTJp9j6M,1331
42
35
  vantage6/cli/node/list.py,sha256=_WZ8EBIEUlzFhVp3cR2MK5FUuQicMEZHhD8npMwKSpM,1664
43
36
  vantage6/cli/node/new.py,sha256=D-zI20pneF8kmGZKTRj09IaMMsj7z2rhiGXegMZywik,2040
44
37
  vantage6/cli/node/remove.py,sha256=5gylLyMa8LoavQNQv71JuwrTZN2rJwLrphl4Z0Fu6_8,3658
45
38
  vantage6/cli/node/restart.py,sha256=bWx0n4tN8TWOy_o8lJkA7AR-H1UIbfAiPp93I5wXg1Y,3709
46
- vantage6/cli/node/set_api_key.py,sha256=2kB8wveTy9_N8kX4huVhJhY86Ppd2BI8v-d7MRXQAdA,1877
47
- vantage6/cli/node/start.py,sha256=M8fZUDDF42wO3gs8Wkik-8MhP0EslvIjOEBxem2rP4s,12220
48
- vantage6/cli/node/stop.py,sha256=Hf5z2r6ttbW-DeU0cdHNXIJcgL-eIVRv8i7zZLo4foY,4159
39
+ vantage6/cli/node/set_api_key.py,sha256=OYCCJ8zrbc7uXyv0uLTejqD43xXELVvR01czzG46imo,1998
40
+ vantage6/cli/node/start.py,sha256=hyRXp6IAuK_InKSicuDnBYwjJLUUPZUfC8d1nYPAdO4,12226
41
+ vantage6/cli/node/stop.py,sha256=DkUtaYRghQz9UR9FG8zRUR4aK0GVlGJGs_8Y5jXSao4,4156
49
42
  vantage6/cli/node/version.py,sha256=X921xyIvIPYObPac2Si5msZ2tay5ySidnPWmGj1ilZw,1959
50
- vantage6/cli/node/common/__init__.py,sha256=uCfV8BYLFI_PI1rwaFjQTOqq9-HeusdAIB9GnzLA0zU,2862
43
+ vantage6/cli/node/common/__init__.py,sha256=gYbdDajTz5Sh-buChejB8-lkMXalL85mMsMbM0OlR1Q,2868
51
44
  vantage6/cli/prometheus/monitoring_manager.py,sha256=tNvguLonbVILqCDnHRizef5NwKnEOV0DuzTx0Bhd2HU,4906
52
45
  vantage6/cli/prometheus/prometheus.yml,sha256=Q4i9lVknITBodHUMgarRnEsXfXTNuSdI6a-9pW4YCoI,98
53
46
  vantage6/cli/rabbitmq/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -56,19 +49,18 @@ vantage6/cli/rabbitmq/queue_manager.py,sha256=KGDGHy4NBN8O9xhjzfI7mh65i9lOQIqQwr
56
49
  vantage6/cli/rabbitmq/rabbitmq.config,sha256=LYAQAEoXaF472XeJDYXc9JfWSETIzPRIR2W-JB2i7fU,136
57
50
  vantage6/cli/server/attach.py,sha256=q1E40nGCBEFUF1p94sZoU-Ud3OXAUy4-FJqcP7Gqa7U,322
58
51
  vantage6/cli/server/files.py,sha256=MsnLaY91F2m49mm_FpVboFrSsZiEsu175KioN1alZfk,568
59
- vantage6/cli/server/import_.py,sha256=jtgY0lvYTCsJQyzho8qXUsG9Mfw5m9DWtz0Ik7y0cE8,4568
60
- vantage6/cli/server/list.py,sha256=HAwvjadhdNJi7L9rMmEwqI45IavPx-QA1ptlhEG7MK0,405
61
- vantage6/cli/server/new.py,sha256=x7ii_5hUrXDXZOUIot6ghUjvzUjnaSTTVSaP28ojIBY,2474
52
+ vantage6/cli/server/import_.py,sha256=VDzEdEBtCtyF_ofzb6sSkXTNwhzBcq1-ByaHb1jfdes,4523
53
+ vantage6/cli/server/list.py,sha256=ioHQeBq5_SE6zNcyg9C7lqvcPwyHOyGPZ4SisFgq5-E,314
54
+ vantage6/cli/server/new.py,sha256=DV5AmeAxnqV9VAmKXABbrm6-uHnIwtFRJqNQLaKkv_g,1017
62
55
  vantage6/cli/server/remove.py,sha256=6tfKfVa5dYnZAKQYo_VlGZTuiugi7sh2F3U2cZ7mCmQ,1627
63
- vantage6/cli/server/shell.py,sha256=8y-m_UjOxJ-vatWeSWT4AZZgpAC4bgTze0BJTk4qlOI,1595
64
- vantage6/cli/server/start.py,sha256=eL2SoA1GdLgqM5QoAQIuPYVfXlvHaojSM6Zhl2cY8q0,2508
65
- vantage6/cli/server/stop.py,sha256=Nhccrf4vfGkLpathFMwv3VqeIEDVIdaQnbdXGh2UBjY,1379
56
+ vantage6/cli/server/shell.py,sha256=47uGPupdG-2b8yhWvJoht-VJL29CodemcgXuo04CMBU,1601
57
+ vantage6/cli/server/start.py,sha256=AreESfIl24cqCvBWs5vT-EBRxvRxdMs-iXQXXXOz3zI,2550
58
+ vantage6/cli/server/stop.py,sha256=O7138HIE-vJGupRpUgf71cmrBc1PBjJGh9kH2P1a0p4,2997
66
59
  vantage6/cli/server/version.py,sha256=lqrPNKMbFO22W-NarJ2TjLd7fZT43hV-sFRbzMlBniw,1307
67
60
  vantage6/cli/server/common/__init__.py,sha256=htv0mFYa4GhIHdzA2xqUUgKhHcMh09UQERlIjIgrwOM,2062
68
- vantage6/cli/template/algo_store_config.j2,sha256=tdPdoZUlBQsFEUUDGWK65oSsIS29QxToT4n_zu9soQA,528
61
+ vantage6/cli/template/algo_store_config.j2,sha256=5XHkOv4YZU0umkC_11ilFiBXRWQtPeRgu1FfI4hJ6r0,7367
69
62
  vantage6/cli/template/node_config.j2,sha256=Y5IA5tyG9X8MDMnJ7_ZlMVMCIA6NkZOhwM_ykTOGT4g,784
70
- vantage6/cli/template/server_config.j2,sha256=K7svQM6HTmMrlKPVW9cbNPloH7LicBoLdIEiarD6CP8,765
71
- vantage6/cli/template/server_import_config.j2,sha256=eVoQnXfP5IejzlAYiu5GikPibMpBVrxpw-TX0Obi4J0,1782
63
+ vantage6/cli/template/server_config.j2,sha256=tCgceSajZ-GVG8yEufFBPWkEJKKg3BfECQmO5TzTrgw,10036
72
64
  vantage6/cli/test/client_script.py,sha256=AHQ4fhzbtD-VcJAm0rxUDteepXNa4Bef9SKWnzobTd0,4825
73
65
  vantage6/cli/test/feature_tester.py,sha256=AsZam91KqaAo_yIFxyZ5Hmy1ZPw83d02BDyO4TzKFQo,2631
74
66
  vantage6/cli/test/integration_test.py,sha256=MctR_t-WEyxzFpMdc6ByTcX1BQglZiT5-CIOQXTBBWo,4034
@@ -77,8 +69,7 @@ vantage6/cli/test/algo_test_scripts/algo_test_script.py,sha256=jfzXPmpL0HlE_eq1j
77
69
  vantage6/cli/test/common/diagnostic_runner.py,sha256=5-KgspYW0PncO_t_TrQzd_GSOXVwH-7bIVv-IHOxwQM,6598
78
70
  vantage6/cli/use/context.py,sha256=mEtOfbuLtYQlRh-ypif24WtOwgpcvXObX310mmXIkWY,1362
79
71
  vantage6/cli/use/namespace.py,sha256=MOd9H3GJwZ0cho0mmlHTRlGPLoQEiSnZIFDsFsvYw4Q,1643
80
- vantage6-5.0.0a29.dist-info/METADATA,sha256=fNk0o5hF7V6NS5PJVtO3A2Nwk2L45eVvzKX3tfv9U_I,10688
81
- vantage6-5.0.0a29.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
82
- vantage6-5.0.0a29.dist-info/entry_points.txt,sha256=YFBvwjxoeAGxYyPC-YevEgOBBYRGaXkS6jiOGGCLNy0,157
83
- vantage6-5.0.0a29.dist-info/top_level.txt,sha256=CYDIBS8jEfFq5YCs_Fuit54K9-3wdosZppTrsymIoUk,19
84
- vantage6-5.0.0a29.dist-info/RECORD,,
72
+ vantage6-5.0.0a34.dist-info/METADATA,sha256=1EPx21xNrr2y_KkPHz3bvTXtsDBMwL_5e1eAsXbFtdE,1779
73
+ vantage6-5.0.0a34.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
74
+ vantage6-5.0.0a34.dist-info/entry_points.txt,sha256=RKVCMsD70s_Gp6If89uDlCphsZ9uLIOMt1gciv8EMDQ,53
75
+ vantage6-5.0.0a34.dist-info/RECORD,,
@@ -1,5 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.9.0)
2
+ Generator: hatchling 1.27.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
-
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ v6 = vantage6.cli.cli:cli_complete
tests_cli/__init__.py DELETED
File without changes
@@ -1,23 +0,0 @@
1
- # from click import UsageError
2
- # from vantage6.cli.test.client_script import cli_test_client_script
3
-
4
- # import click
5
- # import unittest
6
-
7
-
8
- # class TestScriptTest(unittest.TestCase):
9
- # def test_script_incorrect_usage(self):
10
- # ctx = click.Context(cli_test_client_script)
11
-
12
- # with self.assertRaises(UsageError):
13
- # ctx.invoke(
14
- # cli_test_client_script,
15
- # script="path/to/script.py",
16
- # task_arguments="{'my_arg': 1}",
17
- # )
18
-
19
- # with self.assertRaises(UsageError):
20
- # ctx.invoke(
21
- # cli_test_client_script,
22
- # task_arguments="not_a_json",
23
- # )
tests_cli/test_example.py DELETED
@@ -1,7 +0,0 @@
1
- import unittest
2
-
3
-
4
- class ExampleTest(unittest.TestCase):
5
- def test_example(self):
6
- self.assertTrue(True)
7
- self.assertFalse(False)