substrafl

View on PyPIReverse Dependencies (1)

1.0.0 substrafl-1.0.0-py3-none-any.whl

Wheel Details

Project: substrafl
Version: 1.0.0
Filename: substrafl-1.0.0-py3-none-any.whl
Download: [link]
Size: 118195
MD5: e00037b1a1130718c1ae5a6d11c2d3fb
SHA256: ba7cb13a1ad828ef98c0cbd8869a6ba8b66961cf2bdbe4d1ac510787995695cf
Uploaded: 2024-10-14 14:27:24 +0000

dist-info

METADATA

Metadata-Version: 2.3
Name: substrafl
Version: 1.0.0
Summary: A high-level federated learning Python library to run federated learning experiments at scale on a Substra network
Author: Owkin, Inc.
Project-Url: Documentation, https://docs.substra.org/en/stable/
Project-Url: Repository, https://github.com/Substra/substrafl
Project-Url: Changelog, https://github.com/Substra/substrafl/blob/main/CHANGELOG.md
License: Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS Copyright 2018-2022 Owkin, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Keywords: substrafl
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.10
Requires-Dist: cloudpickle (>=1.6.0)
Requires-Dist: numpy (>=1.24)
Requires-Dist: packaging
Requires-Dist: pip-tools
Requires-Dist: pip (>=21.2)
Requires-Dist: pydantic (<3.0,>=2.3.0)
Requires-Dist: six
Requires-Dist: substratools (~=1.0.0)
Requires-Dist: substra (~=1.0.0)
Requires-Dist: tqdm
Requires-Dist: wheel
Requires-Dist: docker; extra == "dev"
Requires-Dist: nbmake (>=1.4.3); extra == "dev"
Requires-Dist: pre-commit (>=2.13.0); extra == "dev"
Requires-Dist: pytest-cov (>=2.12.0); extra == "dev"
Requires-Dist: pytest-mock; extra == "dev"
Requires-Dist: pytest (>=6.2.4); extra == "dev"
Requires-Dist: torch (!=1.12.0,>=1.9.1); extra == "dev"
Requires-Dist: towncrier; extra == "dev"
Requires-Dist: types-pyyaml (>=6.0.0); extra == "dev"
Provides-Extra: dev
Description-Content-Type: text/markdown
License-File: LICENSE
[Description omitted; length: 6077 characters]

WHEEL

Wheel-Version: 1.0
Generator: hatchling 1.25.0
Root-Is-Purelib: true
Tag: py3-none-any

RECORD

Path Digest Size
substrafl/__init__.py sha256=cnI3ZmM62IxxzcCDgtZQ0RzfjsOn-m5V61VNHOeBISY 725
substrafl/__version__.py sha256=J-j-u0itpEFT6irdmWmixQqYMadNl1X91TxUmoiLHMI 22
substrafl/compute_plan_builder.py sha256=KMGaw3Et3nogiLiImQeITigaHfofGwO5-_4eLywpeiE 3203
substrafl/constants.py sha256=1O5UAUUgU1aBx38quHI99LLiC7jGr0EKFYpgkedmQqI 79
substrafl/evaluation_strategy.py sha256=_dQr1ssn9xph5iIfVgAm0NrkWeeqyF_62KuQjyQlRCg 8907
substrafl/exceptions.py sha256=ww_RCarGGPB0t4y-w-1LXBde0w9J3si1ij87wM5Y4Sg 5166
substrafl/experiment.py sha256=oibVyIfbeLhSlFeEdm1_F2tSAwMMNBhtQyiVbf5JQpI 21917
substrafl/logger.py sha256=BqGyCOpLsJxe4nQhy-6oyaJB1tyujf69Tt0PLVKbpZA 788
substrafl/model_loading.py sha256=9iPM4uq7gJ8N-I-rTILiCYk1u7I_-rwZt0h_SzXDai0 18190
substrafl/schemas.py sha256=N5RoqbhnfFqE9ldsISjYLInAmZdT1Pf0tiz6QqvmPuM 127
substrafl/algorithms/__init__.py sha256=HKqfKvAXG4197FM-iG7iVxXtTds9F3wK3cdpwOSo0bQ 281
substrafl/algorithms/algo.py sha256=w2Mc-gkZFekBEPk8hyYj3wKYIYdgjEM8CAXHMBqDhwU 5287
substrafl/algorithms/pytorch/__init__.py sha256=mws7S1ybymGNGjnfnRlDKb_fZGCHiuTCKjKt8aaAZXE 1102
substrafl/algorithms/pytorch/torch_base_algo.py sha256=Ni0ztSXzgF22my-fV1OJFXcjg4PHozkGhMbHIYMdmws 14985
substrafl/algorithms/pytorch/torch_fed_avg_algo.py sha256=9K5xtt74wz-ENfRo1fLpboSPZWzVPTkkuxepbRCYJhk 10646
substrafl/algorithms/pytorch/torch_fed_pca_algo.py sha256=wTgy_WpejlQPonlnKm5PtZkLjenDJNhzctC14jZqr0g 13489
substrafl/algorithms/pytorch/torch_newton_raphson_algo.py sha256=3FEmQ8xb3xORanQyYyHwezeXRF63IZQ_7b3KEooCebU 18463
substrafl/algorithms/pytorch/torch_scaffold_algo.py sha256=wfD3oLbuUgxOhpabKJxSLT-H8mA9upY-txcUC9Hp3gg 23708
substrafl/algorithms/pytorch/torch_single_organization_algo.py sha256=TGy4fF-g9_-uquCpxkpS5H1TQFCN9Y2iYW0hs23Q6yo 8170
substrafl/algorithms/pytorch/weight_manager.py sha256=DQIWDnfQQWfpG9fxGzlbphYizSRDBb5fy3QnBzuOTUM 11241
substrafl/dependency/__init__.py sha256=caEWgHjdIzTQDq2teHPOsUN8-Z3w-JTb5bz7C92nKgM 193
substrafl/dependency/constants.py sha256=WWqWQUP8aGEzy3B9_ypKwEVuutUa5R1se9o7gHQt4ao 1830
substrafl/dependency/manage_dependencies.py sha256=bgOC-22Y0SpXpzVWIuUgKhtz5I8gRyimzpuUNnNl9RM 8242
substrafl/dependency/path_management.py sha256=ReKlddq-QloJuW1O1V6W1OP1rIL31NCYenw-yFVBM0E 5801
substrafl/dependency/schemas.py sha256=WcJS6Q02eNNfbTs7jPFxBLJNhO2CuY9SQr2r6_q8Yi0 11489
substrafl/index_generator/__init__.py sha256=Gr6RWoEYnHJlP9ttk-rae_ok7KGElAtCdRcwC7R-H-o 201
substrafl/index_generator/base.py sha256=Ssm_aDP1BMhlYoad6xrsM3ATc2Ly-TV0tk0b9GgnNrg 5403
substrafl/index_generator/np_index_generator.py sha256=Pv8XmE3KO1XGjDZKKzBkY4RBYRfB7xPhmxgVGIgk3M4 5777
substrafl/nodes/__init__.py sha256=HlBXSQShUQ5RGnojRT7lwlZ5CF7sx9I_mortmTrai9w 1122
substrafl/nodes/aggregation_node.py sha256=3DDiyvyvAeUmGgOLAk1ER8ihnRF6vARoQucJ8-IUVzk 9975
substrafl/nodes/protocol.py sha256=KuoXg987uYYT71ebUZkcY34ObhqqOZA7MWF15SNY2fE 1725
substrafl/nodes/schemas.py sha256=9tOZKnXQSMsgGRng8grV95KCg2V8_r98_AFA-1WadeY 1887
substrafl/nodes/test_data_node.py sha256=KTJ8KEcGL6dEru-ZfdrWMzICslZ-msBq9gM-UE9YtcI 9512
substrafl/nodes/train_data_node.py sha256=_unfI4twV5Jih8n0_EgcKE9WeYE0Pe27iHfyOVjAmX0 16811
substrafl/nodes/utils.py sha256=K0cxkFXwoDjQnxWJ5GKqE2bZyTUGDbnby6FWd0QCA9A 1178
substrafl/nodes/references/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
substrafl/nodes/references/local_state.py sha256=ZgyPGRj7QYgNQ01TFgNudQarexgzqL45Q7rmhx1X88s 104
substrafl/nodes/references/shared_state.py sha256=Fa712oxh2wCurE0tEo-1Mi_Getncqe8t3hOsVZaKKig 82
substrafl/remote/__init__.py sha256=Vlb5BjqMfUTV-BCJ0UMjMlwZ_yOpnBDW8-iX-bzETx4 136
substrafl/remote/decorators.py sha256=5iGzn_13kEerM6bMZ1Fu5qTyj37k7Sed4LuKnTUR7jE 5368
substrafl/remote/operations.py sha256=tYXkdX5HcZ2iOMQnbAzp4sKupwysPVsdAy1r_xWswNE 521
substrafl/remote/remote_struct.py sha256=jgQul42Y8B_ylYloYdEqHTKlGv8gnA2SHsoNUgN06RM 4648
substrafl/remote/substratools_methods.py sha256=52JNtcRg9vqmGsX6f4EOG5uLxTbZ5nvj6IaCCJX1roI 5925
substrafl/remote/register/__init__.py sha256=3N_WfRRTxdllLc1zn-jySHYCJ5F9m28mjlQFO00oRHg 105
substrafl/remote/register/register.py sha256=RWYYaYWY4vWd4mquypE1Pg7mbhfroNtINQCBX1CT0K4 11405
substrafl/remote/serializers/__init__.py sha256=J5O-N5myeTxyyUoGUQ88jP1vziBSDZgiscBL_1_l3sk 266
substrafl/remote/serializers/pickle_serializer.py sha256=GCmW7ncbAjBGnPZPL09NUZS5SQrKOHriXo3HujllHZg 803
substrafl/remote/serializers/serializer.py sha256=5eOo9FS4cKg2mL149a7bvuBm0Rbbdl57FhQxEzW2gcI 499
substrafl/strategies/__init__.py sha256=3yHxYfQPb4e_xGl3dV2WSkHx0cmWkmjV3T63jnrHgKY 497
substrafl/strategies/fed_avg.py sha256=5FukoC338cj4HFj1v0L6LOC_QZ5tC20rcvWOnXU4Cbs 12706
substrafl/strategies/fed_pca.py sha256=KmI1vfCR6utGbQNkHtfuVvuMV0zjZ59E1jUwHlLwmWY 16361
substrafl/strategies/newton_raphson.py sha256=NTQOJBs_AOB3_380Vc-A7dcKeNeSspqMZJVbYSK9zoE 15789
substrafl/strategies/scaffold.py sha256=oX4QW0XpwDcu6ApypmAdT8h16xSwkqzAI8O34cbuBsU 18428
substrafl/strategies/schemas.py sha256=sizG9Qp2VqsYCzQ7nO8f2CJ-UtJxbraEjPTbHDTJQ0I 3819
substrafl/strategies/single_organization.py sha256=j4K3oG61bXNWE4FQw0xu1uOeho2GRYUjn6QOTVAtTn8 7542
substrafl/strategies/strategy.py sha256=toUnmD5wCj2c-3wn6fIV7e_c8s7kbaFf-bt41zSqiGA 15086
substrafl-1.0.0.dist-info/METADATA sha256=qx1ZZRY4yLfTU0WMJHQ7n59gQ7jiDgIP8AOK9lmzZjs 19819
substrafl-1.0.0.dist-info/WHEEL sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY 87
substrafl-1.0.0.dist-info/licenses/LICENSE sha256=wKmLPc1ioEZfXeiDSU5E4myZHE6exNX2QaGMPPgpXxQ 10762
substrafl-1.0.0.dist-info/RECORD