vantage6 4.8.0rc3__py3-none-any.whl → 5.0.0a0__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.
- vantage6/cli/__build__ +1 -1
- vantage6/cli/_version.py +1 -1
- vantage6/cli/context/node.py +0 -18
- vantage6/cli/dev/create.py +1 -1
- vantage6/cli/node/stop.py +3 -1
- vantage6/cli/server/list.py +0 -1
- {vantage6-4.8.0rc3.dist-info → vantage6-5.0.0a0.dist-info}/METADATA +22 -12
- {vantage6-4.8.0rc3.dist-info → vantage6-5.0.0a0.dist-info}/RECORD +11 -11
- {vantage6-4.8.0rc3.dist-info → vantage6-5.0.0a0.dist-info}/WHEEL +1 -1
- {vantage6-4.8.0rc3.dist-info → vantage6-5.0.0a0.dist-info}/entry_points.txt +0 -0
- {vantage6-4.8.0rc3.dist-info → vantage6-5.0.0a0.dist-info}/top_level.txt +0 -0
vantage6/cli/__build__
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
0
|
vantage6/cli/_version.py
CHANGED
|
@@ -7,7 +7,7 @@ with open(os.path.join(here, "__build__")) as fp:
|
|
|
7
7
|
__build__ = json.load(fp)
|
|
8
8
|
|
|
9
9
|
# Module version
|
|
10
|
-
version_info = (
|
|
10
|
+
version_info = (5, 0, 0, "alpha", __build__, 0)
|
|
11
11
|
|
|
12
12
|
# Module version stage suffix map
|
|
13
13
|
_specifier_ = {"alpha": "a", "beta": "b", "candidate": "rc", "final": ""}
|
vantage6/cli/context/node.py
CHANGED
|
@@ -230,24 +230,6 @@ class NodeContext(AppContext):
|
|
|
230
230
|
def proxy_log_file(self):
|
|
231
231
|
return self.log_file_name(type_="proxy_server")
|
|
232
232
|
|
|
233
|
-
def docker_temporary_volume_name(self, job_id: int) -> str:
|
|
234
|
-
"""
|
|
235
|
-
Docker volume in which temporary data is stored. Temporary data is
|
|
236
|
-
linked to a specific run. Multiple algorithm containers can have the
|
|
237
|
-
same run id, and therefore the share same temporary volume.
|
|
238
|
-
|
|
239
|
-
Parameters
|
|
240
|
-
----------
|
|
241
|
-
job_id : int
|
|
242
|
-
run id provided by the server
|
|
243
|
-
|
|
244
|
-
Returns
|
|
245
|
-
-------
|
|
246
|
-
str
|
|
247
|
-
Docker volume name
|
|
248
|
-
"""
|
|
249
|
-
return f"{APPNAME}-{self.name}-{self.scope}-{job_id}-tmpvol"
|
|
250
|
-
|
|
251
233
|
def get_database_uri(self, label: str = "default") -> str:
|
|
252
234
|
"""
|
|
253
235
|
Obtain the database URI for a specific database.
|
vantage6/cli/dev/create.py
CHANGED
|
@@ -49,7 +49,7 @@ def create_node_data_files(num_nodes: int, server_name: str) -> list[Path]:
|
|
|
49
49
|
start = i * length_df // num_nodes
|
|
50
50
|
end = (i + 1) * length_df // num_nodes
|
|
51
51
|
data = full_df[start:end]
|
|
52
|
-
data_file = data_folder / f"
|
|
52
|
+
data_file = data_folder / f"{node_name}.csv"
|
|
53
53
|
|
|
54
54
|
# write data to file
|
|
55
55
|
data.to_csv(data_file, index=False)
|
vantage6/cli/node/stop.py
CHANGED
|
@@ -116,8 +116,10 @@ def _stop_node(
|
|
|
116
116
|
scope = "system" if system_folders else "user"
|
|
117
117
|
config_name = get_server_config_name(container_name, scope)
|
|
118
118
|
ctx = NodeContext(config_name, system_folders, print_log_header=False)
|
|
119
|
+
|
|
120
|
+
# Do not delete the data volume as this would remove all sessions.
|
|
119
121
|
for volume in [
|
|
120
|
-
ctx.docker_volume_name,
|
|
122
|
+
# ctx.docker_volume_name,
|
|
121
123
|
ctx.docker_squid_volume_name,
|
|
122
124
|
ctx.docker_ssh_volume_name,
|
|
123
125
|
ctx.docker_vpn_volume_name,
|
vantage6/cli/server/list.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: vantage6
|
|
3
|
-
Version:
|
|
3
|
+
Version: 5.0.0a0
|
|
4
4
|
Summary: vantage6 command line interface
|
|
5
5
|
Home-page: https://github.com/vantage6/vantage6
|
|
6
6
|
Requires-Python: >=3.10
|
|
@@ -16,8 +16,8 @@ Requires-Dist: questionary==1.10.0
|
|
|
16
16
|
Requires-Dist: rich==13.5.2
|
|
17
17
|
Requires-Dist: schema==0.7.5
|
|
18
18
|
Requires-Dist: SQLAlchemy==1.4.46
|
|
19
|
-
Requires-Dist: vantage6-common==
|
|
20
|
-
Requires-Dist: vantage6-client==
|
|
19
|
+
Requires-Dist: vantage6-common==5.0.0a0
|
|
20
|
+
Requires-Dist: vantage6-client==5.0.0a0
|
|
21
21
|
Provides-Extra: dev
|
|
22
22
|
Requires-Dist: coverage==6.4.4; extra == "dev"
|
|
23
23
|
Requires-Dist: black; extra == "dev"
|
|
@@ -49,14 +49,16 @@ Requires-Dist: pre-commit; extra == "dev"
|
|
|
49
49
|
<a href="#books-quickstart">Quickstart</a> •
|
|
50
50
|
<a href="#project-structure">Project structure</a> •
|
|
51
51
|
<a href="#gift_heart-join-the-community">Join the community</a> •
|
|
52
|
+
<a href="#scroll-license">License</a> •
|
|
53
|
+
<a href="#black_nib-code-of-conduct">Code of conduct</a> •
|
|
52
54
|
<a href="#black_nib-references">References</a>
|
|
53
55
|
</p>
|
|
54
56
|
|
|
55
57
|
---
|
|
56
58
|
|
|
57
|
-
This repository is contains all the **vantage6** infrastructure source code. The **vantage6** technology enables to manage and deploy privacy enhancing technologies like Federated Learning (FL) and Multi-Party Computation (MPC). Please visit our [website
|
|
59
|
+
This repository is contains all the **vantage6** infrastructure source code. The **vantage6** technology enables to manage and deploy privacy enhancing technologies like Federated Learning (FL) and Multi-Party Computation (MPC). Please visit our [website](https://vantage6.ai) to learn more!
|
|
58
60
|
|
|
59
|
-
You can find more (user) documentation at [readthedocs
|
|
61
|
+
You can find more (user) documentation at [readthedocs](https://docs.vantage6.ai). If you have any questions, suggestions or just want to chat about federated learning: join our [Discord)](https://discord.gg/yAyFf6Y) channel.
|
|
60
62
|
|
|
61
63
|
## Infrastructure overview
|
|
62
64
|
|
|
@@ -141,8 +143,7 @@ client.organization.create(
|
|
|
141
143
|
)
|
|
142
144
|
```
|
|
143
145
|
|
|
144
|
-
You can find more (user) documentation at
|
|
145
|
-
[readthedocs (docs.vantage6.ai)](https://docs.vantage6.ai)
|
|
146
|
+
You can find more (user) documentation at [readthedocs](https://docs.vantage6.ai)
|
|
146
147
|
|
|
147
148
|
## Project structure
|
|
148
149
|
|
|
@@ -194,15 +195,24 @@ And finally there are some images released for algorithm development:
|
|
|
194
195
|
|
|
195
196
|
## :gift_heart: Join the community!
|
|
196
197
|
|
|
197
|
-
We hope to continue developing, improving, and supporting **vantage6** with the help of
|
|
198
|
-
the federated learning community. If you are interested in contributing, first of all,
|
|
199
|
-
thank you! Second, please take a look at our
|
|
200
|
-
[contributing guidelines](https://docs.vantage6.ai/en/main/devops/contribute.html)
|
|
198
|
+
We hope to continue developing, improving, and supporting **vantage6** with the help of
|
|
199
|
+
the federated learning community. If you are interested in contributing, first of all,
|
|
200
|
+
thank you! Second, please take a look at our
|
|
201
|
+
[contributing guidelines](https://docs.vantage6.ai/en/main/devops/contribute.html)
|
|
202
|
+
and our [code of conduct](CODE_OF_CONDUCT.md).
|
|
201
203
|
|
|
202
204
|
<a href="https://github.com/vantage6/vantage6/graphs/contributors">
|
|
203
205
|
<img src="https://contrib.rocks/image?repo=vantage6/vantage6" />
|
|
204
206
|
</a>
|
|
205
207
|
|
|
208
|
+
## :scroll: License
|
|
209
|
+
|
|
210
|
+
This project is licensed under the Apache License 2.0 - see the [LICENSE](LICENSE) file for details.
|
|
211
|
+
|
|
212
|
+
## :black_nib: Code of Conduct
|
|
213
|
+
|
|
214
|
+
Please note that this project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). **By participating in any way in this project you agree to abide by its terms.**
|
|
215
|
+
|
|
206
216
|
## :black_nib: References
|
|
207
217
|
|
|
208
218
|
If you are using **vantage6**, please cite this repository as well as the accompanying papers as follows:
|
|
@@ -217,5 +227,5 @@ If you are using **vantage6**, please cite this repository as well as the accomp
|
|
|
217
227
|
<a href="https://vantage6.ai">vantage6.ai</a> •
|
|
218
228
|
<a href="https://discord.gg/yAyFf6Y">Discord</a> •
|
|
219
229
|
<a href="https://vantage6.discourse.group/">Discourse</a> •
|
|
220
|
-
<a href="https://docs.vantage6.ai">User documentation</a>
|
|
230
|
+
<a href="https://docs.vantage6.ai">User documentation</a>
|
|
221
231
|
</p>
|
|
@@ -3,9 +3,9 @@ tests_cli/test_example.py,sha256=0fw_v-lgZEacshWSDwLNyLMA1_xc48bKUGM3ll-n1L0,146
|
|
|
3
3
|
tests_cli/test_node_cli.py,sha256=09qQGsn7vhmIJz9B1sABPuiEfcL2-d8FxhsMUtmXAO0,16066
|
|
4
4
|
tests_cli/test_server_cli.py,sha256=61et2WpcVAr4SAsQTLJEeBy1RnewujMvFgFW6N_i7kg,5863
|
|
5
5
|
tests_cli/test_wizard.py,sha256=eoa0WQ9yw7IjtaeAKzbK8-sOCBGow7gLrhhmUx024p8,4881
|
|
6
|
-
vantage6/cli/__build__,sha256=
|
|
6
|
+
vantage6/cli/__build__,sha256=X-zrZv_IbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V-k,1
|
|
7
7
|
vantage6/cli/__init__.py,sha256=-Ec-Z7ELDveGdSALXda3qdUGpkuKyJQfhN3eIm7koHE,127
|
|
8
|
-
vantage6/cli/_version.py,sha256=
|
|
8
|
+
vantage6/cli/_version.py,sha256=iDijqhgy5jzZ0LAyzW1LlXeeuMcHWMyg9D8xbXtV7Ck,696
|
|
9
9
|
vantage6/cli/cli.py,sha256=AecGqgdDI_IaAbedeRN9F8E3hvSpqfbG9Ot7LiAfBTs,6074
|
|
10
10
|
vantage6/cli/configuration_manager.py,sha256=cN4tQpQjLG5GaGrsjEP-5ed_LqvPApIkNkM1J6ai3n0,3588
|
|
11
11
|
vantage6/cli/configuration_wizard.py,sha256=sgXKC_bZvZUtOlEQCVA_oe23aUiYHs0ITtHTD7ITcq8,20440
|
|
@@ -26,9 +26,9 @@ vantage6/cli/common/utils.py,sha256=2zp8KfFCNQLfDAhI8pCv35d6hc6xVaBhPyLfwWvJsm8,
|
|
|
26
26
|
vantage6/cli/context/__init__.py,sha256=e8rfY2tCyu6_SLQ-rbVzEHkDtmbnGCZRHFN_HH-2bnA,2683
|
|
27
27
|
vantage6/cli/context/algorithm_store.py,sha256=NsmrgDCTJ10KqQ209Q1sq-hBhuU_4LRqfbj3SZ-ivnU,3938
|
|
28
28
|
vantage6/cli/context/base_server.py,sha256=paKSzNrKWD-J6eakHAtGELk2cD05A8NqoCAuQfF7c2s,2972
|
|
29
|
-
vantage6/cli/context/node.py,sha256=
|
|
29
|
+
vantage6/cli/context/node.py,sha256=JaXYuY60T1auIHy2EM0s10v4Oc16bzwwl6CBSAu37Po,6882
|
|
30
30
|
vantage6/cli/context/server.py,sha256=vBGJWNsJoVcIryX5OLiWnFklNRcjOVkhqm2U5tqW5b0,3946
|
|
31
|
-
vantage6/cli/dev/create.py,sha256=
|
|
31
|
+
vantage6/cli/dev/create.py,sha256=zW0w7ONVO3EAZjkC7uLSW2E0WJ3y6ItZStXYbLqsMJU,19099
|
|
32
32
|
vantage6/cli/dev/remove.py,sha256=1ZX5L3bqTsRUt8PkXUvH7tgSLR32viZ5Ve_Q1k-sQ5M,3055
|
|
33
33
|
vantage6/cli/dev/start.py,sha256=XrBnRxkGUM371ZBs3JQRqlONB2Lo-s2uTqblv4H3tXg,4447
|
|
34
34
|
vantage6/cli/dev/stop.py,sha256=gPy87r8T3nqe7RFJjlYE9Bns8N3RiPPcdzNIFCoqGRY,1430
|
|
@@ -43,7 +43,7 @@ vantage6/cli/node/new.py,sha256=C-ZHQOiOtslOy6mF-G-MuR5E_65GKJW7L4FxxrKojUg,1923
|
|
|
43
43
|
vantage6/cli/node/remove.py,sha256=Al1XALUwciOU6zIRQB2D9EggUdvtU23laOZTWyYKKvc,3552
|
|
44
44
|
vantage6/cli/node/set_api_key.py,sha256=IX07QwpTGefRC92lqm34HX9xThRVcXl5DcWSLt1Ro6w,1747
|
|
45
45
|
vantage6/cli/node/start.py,sha256=xhTJ8SKj4owL_i_HvKG4hqJKveHiw9XvkoIvmRGXBhk,12027
|
|
46
|
-
vantage6/cli/node/stop.py,sha256=
|
|
46
|
+
vantage6/cli/node/stop.py,sha256=B2AuzM2whU6W5ktqc9VpT9wxbN2nTqAydlGPnieKQ-w,4020
|
|
47
47
|
vantage6/cli/node/version.py,sha256=eYJ4ayQsEsHPL00V88UY1LhmlnQCzF-Te4lrw4SFbHQ,1836
|
|
48
48
|
vantage6/cli/node/common/__init__.py,sha256=pketeJOFViQIPpa9nCNe-q_6Mb55BJ2R2k_2jMQOeX4,2862
|
|
49
49
|
vantage6/cli/rabbitmq/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -53,7 +53,7 @@ vantage6/cli/rabbitmq/rabbitmq.config,sha256=LYAQAEoXaF472XeJDYXc9JfWSETIzPRIR2W
|
|
|
53
53
|
vantage6/cli/server/attach.py,sha256=ov5wJ0veZLKQTam-gBka5lDxcrmHscFZgHV1qFQkXZw,2003
|
|
54
54
|
vantage6/cli/server/files.py,sha256=LJhFyYHcEnCgFhVAM-lX6_EnfhMJ7YPdN21kVIpmwkc,507
|
|
55
55
|
vantage6/cli/server/import_.py,sha256=mp6DgHzmRXd_M_507QPJOp0IiAtbXJY4V0IZxdkY0Lg,4516
|
|
56
|
-
vantage6/cli/server/list.py,sha256=
|
|
56
|
+
vantage6/cli/server/list.py,sha256=62ocNRtOAwbx9bgviva4Nd7_3rA7XmFDA55SPyNWZ1o,403
|
|
57
57
|
vantage6/cli/server/new.py,sha256=SGOQXQDNg9ihnPpmJCDTQ-Yn2GkDhEu84dtsQ3v5Pq4,1978
|
|
58
58
|
vantage6/cli/server/remove.py,sha256=6tfKfVa5dYnZAKQYo_VlGZTuiugi7sh2F3U2cZ7mCmQ,1627
|
|
59
59
|
vantage6/cli/server/shell.py,sha256=9b_koFmBQRQYIK57usm75hZAaIF4msicLTu55dYHlzM,1583
|
|
@@ -68,8 +68,8 @@ vantage6/cli/template/server_import_config.j2,sha256=9WT2XeG9-ADoYLb4ahXhof3i9Fc
|
|
|
68
68
|
vantage6/cli/test/feature_tester.py,sha256=rdxRvDelVuOceXvbZh5dRc5Pdw4bVNiotj0m__RWN5Q,2563
|
|
69
69
|
vantage6/cli/test/integration_test.py,sha256=yQVG72XKDNH_eOPTsf3pb65FCBwJzMxn5VNfUGemJBM,3808
|
|
70
70
|
vantage6/cli/test/common/diagnostic_runner.py,sha256=x_4ikihgoSTKI914pqlgVziBSg5LpV6MheO6O_GBCeA,6657
|
|
71
|
-
vantage6-
|
|
72
|
-
vantage6-
|
|
73
|
-
vantage6-
|
|
74
|
-
vantage6-
|
|
75
|
-
vantage6-
|
|
71
|
+
vantage6-5.0.0a0.dist-info/METADATA,sha256=d1H1ybAXg6hxsOk4mpEzSGyD6V7hpbfGtr0RM8buFx0,10884
|
|
72
|
+
vantage6-5.0.0a0.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
73
|
+
vantage6-5.0.0a0.dist-info/entry_points.txt,sha256=YFBvwjxoeAGxYyPC-YevEgOBBYRGaXkS6jiOGGCLNy0,157
|
|
74
|
+
vantage6-5.0.0a0.dist-info/top_level.txt,sha256=CYDIBS8jEfFq5YCs_Fuit54K9-3wdosZppTrsymIoUk,19
|
|
75
|
+
vantage6-5.0.0a0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|