flwr-nightly 1.8.0.dev20240314__tar.gz → 1.15.0.dev20250114__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (387) hide show
  1. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/PKG-INFO +33 -26
  2. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/README.md +17 -13
  3. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/pyproject.toml +88 -78
  4. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/cli/app.py +16 -2
  5. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/build.py +181 -0
  6. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/cli_user_auth_interceptor.py +90 -0
  7. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/config_utils.py +343 -0
  8. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/cli/example.py +4 -1
  9. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/install.py +253 -0
  10. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/log.py +182 -0
  11. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/login/__init__.py +22 -0
  12. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/login/login.py +88 -0
  13. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/ls.py +327 -0
  14. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/cli/new/__init__.py +1 -0
  15. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/new.py +298 -0
  16. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/.gitignore.tpl +163 -0
  17. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/LICENSE.tpl +202 -0
  18. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/README.baseline.md.tpl +127 -0
  19. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/README.flowertune.md.tpl +66 -0
  20. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/README.md.tpl +31 -0
  21. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/code/__init__.baseline.py.tpl +1 -0
  22. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/code/__init__.py.tpl +1 -0
  23. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/code/client.baseline.py.tpl +58 -0
  24. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/code/client.huggingface.py.tpl +55 -0
  25. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/code/client.jax.py.tpl +50 -0
  26. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/code/client.mlx.py.tpl +73 -0
  27. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/cli/new/templates/app/code/client.numpy.py.tpl +7 -7
  28. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/code/client.pytorch.py.tpl +55 -0
  29. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/code/client.sklearn.py.tpl +63 -0
  30. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/code/client.tensorflow.py.tpl +57 -0
  31. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/code/dataset.baseline.py.tpl +36 -0
  32. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/code/flwr_tune/__init__.py +15 -0
  33. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/code/flwr_tune/client_app.py.tpl +126 -0
  34. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/code/flwr_tune/dataset.py.tpl +87 -0
  35. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/code/flwr_tune/models.py.tpl +78 -0
  36. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/code/flwr_tune/server_app.py.tpl +94 -0
  37. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/code/flwr_tune/strategy.py.tpl +83 -0
  38. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/code/model.baseline.py.tpl +80 -0
  39. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/code/server.baseline.py.tpl +46 -0
  40. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/code/server.huggingface.py.tpl +38 -0
  41. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/code/server.jax.py.tpl +26 -0
  42. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/code/server.mlx.py.tpl +31 -0
  43. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/code/server.numpy.py.tpl +25 -0
  44. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/code/server.pytorch.py.tpl +31 -0
  45. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/code/server.sklearn.py.tpl +36 -0
  46. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/code/server.tensorflow.py.tpl +29 -0
  47. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/code/strategy.baseline.py.tpl +1 -0
  48. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/code/task.huggingface.py.tpl +102 -0
  49. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/code/task.jax.py.tpl +57 -0
  50. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/code/task.mlx.py.tpl +102 -0
  51. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/code/task.numpy.py.tpl +7 -0
  52. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/cli/new/templates/app/code/task.pytorch.py.tpl +29 -24
  53. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/code/task.sklearn.py.tpl +67 -0
  54. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/code/task.tensorflow.py.tpl +53 -0
  55. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/code/utils.baseline.py.tpl +1 -0
  56. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/pyproject.baseline.toml.tpl +138 -0
  57. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/pyproject.flowertune.toml.tpl +68 -0
  58. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/pyproject.huggingface.toml.tpl +46 -0
  59. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/pyproject.jax.toml.tpl +35 -0
  60. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/pyproject.mlx.toml.tpl +39 -0
  61. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/pyproject.numpy.toml.tpl +32 -0
  62. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/pyproject.pytorch.toml.tpl +36 -0
  63. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/pyproject.sklearn.toml.tpl +35 -0
  64. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/new/templates/app/pyproject.tensorflow.toml.tpl +36 -0
  65. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/cli/run/__init__.py +1 -0
  66. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/run/run.py +246 -0
  67. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/stop.py +130 -0
  68. flwr_nightly-1.15.0.dev20250114/src/py/flwr/cli/utils.py +302 -0
  69. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/client/__init__.py +3 -2
  70. flwr_nightly-1.15.0.dev20250114/src/py/flwr/client/app.py +855 -0
  71. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/client/client.py +1 -11
  72. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/client/client_app.py +74 -13
  73. flwr_nightly-1.15.0.dev20250114/src/py/flwr/client/clientapp/__init__.py +22 -0
  74. flwr_nightly-1.15.0.dev20250114/src/py/flwr/client/clientapp/app.py +259 -0
  75. flwr_nightly-1.15.0.dev20250114/src/py/flwr/client/clientapp/clientappio_servicer.py +244 -0
  76. flwr_nightly-1.15.0.dev20250114/src/py/flwr/client/clientapp/utils.py +115 -0
  77. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/client/dpfedavg_numpy_client.py +7 -8
  78. flwr_nightly-1.15.0.dev20250114/src/py/flwr/client/grpc_adapter_client/__init__.py +15 -0
  79. flwr_nightly-1.15.0.dev20250114/src/py/flwr/client/grpc_adapter_client/connection.py +98 -0
  80. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/client/grpc_client/connection.py +21 -7
  81. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/client/grpc_rere_client/__init__.py +1 -1
  82. flwr_nightly-1.15.0.dev20250114/src/py/flwr/client/grpc_rere_client/client_interceptor.py +176 -0
  83. flwr_nightly-1.15.0.dev20250114/src/py/flwr/client/grpc_rere_client/connection.py +313 -0
  84. flwr_nightly-1.15.0.dev20250114/src/py/flwr/client/grpc_rere_client/grpc_adapter.py +167 -0
  85. flwr_nightly-1.15.0.dev20250114/src/py/flwr/client/heartbeat.py +74 -0
  86. {flwr_nightly-1.8.0.dev20240314/src/py/flwr/server/superlink/fleet → flwr_nightly-1.15.0.dev20250114/src/py/flwr/client/message_handler}/__init__.py +1 -1
  87. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/client/message_handler/message_handler.py +10 -11
  88. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/client/mod/__init__.py +5 -5
  89. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/client/mod/centraldp_mods.py +4 -2
  90. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/client/mod/comms_mods.py +5 -4
  91. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/client/mod/localdp_mod.py +10 -5
  92. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/client/mod/secure_aggregation/__init__.py +1 -1
  93. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/client/mod/secure_aggregation/secaggplus_mod.py +26 -26
  94. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/client/mod/utils.py +2 -4
  95. flwr_nightly-1.15.0.dev20250114/src/py/flwr/client/nodestate/__init__.py +26 -0
  96. flwr_nightly-1.15.0.dev20250114/src/py/flwr/client/nodestate/in_memory_nodestate.py +38 -0
  97. flwr_nightly-1.15.0.dev20250114/src/py/flwr/client/nodestate/nodestate.py +31 -0
  98. flwr_nightly-1.15.0.dev20250114/src/py/flwr/client/nodestate/nodestate_factory.py +38 -0
  99. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/client/numpy_client.py +8 -31
  100. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/client/rest_client/__init__.py +1 -1
  101. flwr_nightly-1.15.0.dev20250114/src/py/flwr/client/rest_client/connection.py +381 -0
  102. flwr_nightly-1.15.0.dev20250114/src/py/flwr/client/run_info_store.py +112 -0
  103. flwr_nightly-1.15.0.dev20250114/src/py/flwr/client/supernode/__init__.py +24 -0
  104. flwr_nightly-1.15.0.dev20250114/src/py/flwr/client/supernode/app.py +321 -0
  105. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/client/typing.py +1 -0
  106. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/common/__init__.py +17 -11
  107. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/common/address.py +47 -3
  108. flwr_nightly-1.15.0.dev20250114/src/py/flwr/common/args.py +153 -0
  109. flwr_nightly-1.15.0.dev20250114/src/py/flwr/common/auth_plugin/__init__.py +24 -0
  110. flwr_nightly-1.15.0.dev20250114/src/py/flwr/common/auth_plugin/auth_plugin.py +121 -0
  111. flwr_nightly-1.15.0.dev20250114/src/py/flwr/common/config.py +243 -0
  112. flwr_nightly-1.15.0.dev20250114/src/py/flwr/common/constant.py +201 -0
  113. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/common/context.py +32 -2
  114. flwr_nightly-1.15.0.dev20250114/src/py/flwr/common/date.py +41 -0
  115. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/common/differential_privacy.py +2 -2
  116. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/common/dp.py +2 -4
  117. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/common/exit_handlers.py +3 -3
  118. flwr_nightly-1.8.0.dev20240314/src/py/flwr/server/superlink/fleet/grpc_bidi/grpc_server.py → flwr_nightly-1.15.0.dev20250114/src/py/flwr/common/grpc.py +63 -119
  119. flwr_nightly-1.15.0.dev20250114/src/py/flwr/common/logger.py +408 -0
  120. flwr_nightly-1.15.0.dev20250114/src/py/flwr/common/message.py +408 -0
  121. flwr_nightly-1.15.0.dev20250114/src/py/flwr/common/object_ref.py +275 -0
  122. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/common/pyproject.py +1 -0
  123. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/common/record/__init__.py +2 -1
  124. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/common/record/configsrecord.py +58 -18
  125. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/common/record/metricsrecord.py +57 -17
  126. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/common/record/parametersrecord.py +88 -20
  127. flwr_nightly-1.15.0.dev20250114/src/py/flwr/common/record/recordset.py +202 -0
  128. flwr_nightly-1.15.0.dev20250114/src/py/flwr/common/record/typeddict.py +88 -0
  129. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/common/recordset_compat.py +31 -12
  130. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/common/retry_invoker.py +123 -30
  131. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/common/secure_aggregation/__init__.py +1 -1
  132. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/common/secure_aggregation/crypto/__init__.py +1 -1
  133. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/common/secure_aggregation/crypto/shamir.py +11 -11
  134. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/common/secure_aggregation/crypto/symmetric_encryption.py +68 -4
  135. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/common/secure_aggregation/ndarrays_arithmetic.py +17 -17
  136. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/common/secure_aggregation/quantization.py +8 -8
  137. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/common/secure_aggregation/secaggplus_constants.py +1 -1
  138. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/common/secure_aggregation/secaggplus_utils.py +10 -12
  139. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/common/serde.py +298 -19
  140. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/common/telemetry.py +65 -29
  141. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/common/typing.py +120 -19
  142. flwr_nightly-1.15.0.dev20250114/src/py/flwr/common/version.py +42 -0
  143. flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/clientappio_pb2.py +45 -0
  144. flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/clientappio_pb2.pyi +132 -0
  145. flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/clientappio_pb2_grpc.py +135 -0
  146. flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/clientappio_pb2_grpc.pyi +53 -0
  147. flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/exec_pb2.py +62 -0
  148. flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/exec_pb2.pyi +212 -0
  149. flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/exec_pb2_grpc.py +237 -0
  150. flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/exec_pb2_grpc.pyi +93 -0
  151. flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/fab_pb2.py +31 -0
  152. flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/fab_pb2.pyi +65 -0
  153. flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/fleet_pb2.py +69 -0
  154. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/proto/fleet_pb2.pyi +123 -1
  155. flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/fleet_pb2_grpc.py +341 -0
  156. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/proto/fleet_pb2_grpc.pyi +61 -0
  157. flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/grpcadapter_pb2.py +32 -0
  158. flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/grpcadapter_pb2.pyi +43 -0
  159. flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/grpcadapter_pb2_grpc.py +66 -0
  160. flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/grpcadapter_pb2_grpc.pyi +24 -0
  161. flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/log_pb2.py +29 -0
  162. flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/log_pb2.pyi +39 -0
  163. flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/message_pb2.py +41 -0
  164. flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/message_pb2.pyi +128 -0
  165. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/proto/node_pb2.py +1 -1
  166. flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/node_pb2_grpc.py +4 -0
  167. flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/node_pb2_grpc.pyi +4 -0
  168. flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/recordset_pb2.py +70 -0
  169. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/proto/recordset_pb2.pyi +40 -14
  170. flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/recordset_pb2_grpc.py +4 -0
  171. flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/recordset_pb2_grpc.pyi +4 -0
  172. flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/run_pb2.py +64 -0
  173. flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/run_pb2.pyi +268 -0
  174. flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/run_pb2_grpc.py +4 -0
  175. flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/run_pb2_grpc.pyi +4 -0
  176. flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/serverappio_pb2.py +52 -0
  177. flwr_nightly-1.8.0.dev20240314/src/py/flwr/proto/driver_pb2.pyi → flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/serverappio_pb2.pyi +62 -20
  178. flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/serverappio_pb2_grpc.py +410 -0
  179. flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/serverappio_pb2_grpc.pyi +160 -0
  180. flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/simulationio_pb2.py +38 -0
  181. flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/simulationio_pb2.pyi +65 -0
  182. flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/simulationio_pb2_grpc.py +239 -0
  183. flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/simulationio_pb2_grpc.pyi +94 -0
  184. flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/task_pb2.py +33 -0
  185. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/proto/task_pb2.pyi +8 -5
  186. flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/task_pb2_grpc.py +4 -0
  187. flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/task_pb2_grpc.pyi +4 -0
  188. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/proto/transport_pb2.py +8 -8
  189. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/proto/transport_pb2.pyi +9 -6
  190. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/__init__.py +2 -10
  191. flwr_nightly-1.15.0.dev20250114/src/py/flwr/server/app.py +890 -0
  192. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/client_manager.py +8 -6
  193. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/compat/app.py +6 -62
  194. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/compat/app_utils.py +14 -8
  195. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/compat/driver_client_proxy.py +25 -58
  196. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/compat/legacy_context.py +5 -4
  197. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/driver/__init__.py +2 -0
  198. flwr_nightly-1.15.0.dev20250114/src/py/flwr/server/driver/driver.py +161 -0
  199. flwr_nightly-1.15.0.dev20250114/src/py/flwr/server/driver/grpc_driver.py +265 -0
  200. flwr_nightly-1.15.0.dev20250114/src/py/flwr/server/driver/inmemory_driver.py +182 -0
  201. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/history.py +28 -29
  202. flwr_nightly-1.15.0.dev20250114/src/py/flwr/server/run_serverapp.py +76 -0
  203. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/server.py +50 -44
  204. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/server_app.py +59 -10
  205. flwr_nightly-1.15.0.dev20250114/src/py/flwr/server/serverapp/__init__.py +22 -0
  206. flwr_nightly-1.15.0.dev20250114/src/py/flwr/server/serverapp/app.py +256 -0
  207. flwr_nightly-1.15.0.dev20250114/src/py/flwr/server/serverapp_components.py +52 -0
  208. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/strategy/aggregate.py +37 -23
  209. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/strategy/bulyan.py +9 -9
  210. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/strategy/dp_adaptive_clipping.py +25 -25
  211. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/strategy/dp_fixed_clipping.py +23 -22
  212. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/strategy/dpfedavg_adaptive.py +8 -8
  213. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/strategy/dpfedavg_fixed.py +13 -12
  214. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/strategy/fault_tolerant_fedavg.py +11 -11
  215. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/strategy/fedadagrad.py +9 -9
  216. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/strategy/fedadam.py +20 -10
  217. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/strategy/fedavg.py +16 -16
  218. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/strategy/fedavg_android.py +17 -17
  219. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/strategy/fedavgm.py +9 -9
  220. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/strategy/fedmedian.py +5 -5
  221. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/strategy/fedopt.py +6 -6
  222. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/strategy/fedprox.py +7 -7
  223. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/strategy/fedtrimmedavg.py +8 -8
  224. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/strategy/fedxgb_bagging.py +12 -12
  225. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/strategy/fedxgb_cyclic.py +10 -10
  226. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/strategy/fedxgb_nn_avg.py +6 -6
  227. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/strategy/fedyogi.py +9 -9
  228. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/strategy/krum.py +9 -9
  229. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/strategy/qfedavg.py +16 -16
  230. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/strategy/strategy.py +10 -10
  231. flwr_nightly-1.15.0.dev20250114/src/py/flwr/server/superlink/driver/__init__.py +15 -0
  232. flwr_nightly-1.15.0.dev20250114/src/py/flwr/server/superlink/driver/serverappio_grpc.py +61 -0
  233. flwr_nightly-1.15.0.dev20250114/src/py/flwr/server/superlink/driver/serverappio_servicer.py +363 -0
  234. flwr_nightly-1.15.0.dev20250114/src/py/flwr/server/superlink/ffs/__init__.py +24 -0
  235. flwr_nightly-1.15.0.dev20250114/src/py/flwr/server/superlink/ffs/disk_ffs.py +108 -0
  236. flwr_nightly-1.15.0.dev20250114/src/py/flwr/server/superlink/ffs/ffs.py +79 -0
  237. flwr_nightly-1.15.0.dev20250114/src/py/flwr/server/superlink/ffs/ffs_factory.py +47 -0
  238. flwr_nightly-1.15.0.dev20250114/src/py/flwr/server/superlink/fleet/__init__.py +15 -0
  239. flwr_nightly-1.15.0.dev20250114/src/py/flwr/server/superlink/fleet/grpc_adapter/__init__.py +15 -0
  240. flwr_nightly-1.15.0.dev20250114/src/py/flwr/server/superlink/fleet/grpc_adapter/grpc_adapter_servicer.py +162 -0
  241. flwr_nightly-1.15.0.dev20250114/src/py/flwr/server/superlink/fleet/grpc_bidi/__init__.py +15 -0
  242. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/superlink/fleet/grpc_bidi/flower_service_servicer.py +4 -2
  243. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/superlink/fleet/grpc_bidi/grpc_bridge.py +3 -2
  244. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/superlink/fleet/grpc_bidi/grpc_client_proxy.py +1 -1
  245. flwr_nightly-1.15.0.dev20250114/src/py/flwr/server/superlink/fleet/grpc_bidi/grpc_server.py +126 -0
  246. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/superlink/fleet/grpc_rere/__init__.py +1 -1
  247. flwr_nightly-1.15.0.dev20250114/src/py/flwr/server/superlink/fleet/grpc_rere/fleet_servicer.py +189 -0
  248. flwr_nightly-1.15.0.dev20250114/src/py/flwr/server/superlink/fleet/grpc_rere/server_interceptor.py +228 -0
  249. flwr_nightly-1.15.0.dev20250114/src/py/flwr/server/superlink/fleet/message_handler/__init__.py +15 -0
  250. flwr_nightly-1.15.0.dev20250114/src/py/flwr/server/superlink/fleet/message_handler/message_handler.py +232 -0
  251. flwr_nightly-1.15.0.dev20250114/src/py/flwr/server/superlink/fleet/rest_rere/__init__.py +15 -0
  252. flwr_nightly-1.15.0.dev20250114/src/py/flwr/server/superlink/fleet/rest_rere/rest_api.py +215 -0
  253. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/superlink/fleet/vce/__init__.py +1 -0
  254. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/superlink/fleet/vce/backend/__init__.py +4 -4
  255. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/superlink/fleet/vce/backend/backend.py +8 -9
  256. flwr_nightly-1.15.0.dev20250114/src/py/flwr/server/superlink/fleet/vce/backend/raybackend.py +194 -0
  257. flwr_nightly-1.15.0.dev20250114/src/py/flwr/server/superlink/fleet/vce/vce_api.py +393 -0
  258. flwr_nightly-1.15.0.dev20250114/src/py/flwr/server/superlink/linkstate/__init__.py +28 -0
  259. flwr_nightly-1.15.0.dev20250114/src/py/flwr/server/superlink/linkstate/in_memory_linkstate.py +581 -0
  260. flwr_nightly-1.15.0.dev20250114/src/py/flwr/server/superlink/linkstate/linkstate.py +389 -0
  261. flwr_nightly-1.8.0.dev20240314/src/py/flwr/server/superlink/state/state_factory.py → flwr_nightly-1.15.0.dev20250114/src/py/flwr/server/superlink/linkstate/linkstate_factory.py +19 -10
  262. flwr_nightly-1.15.0.dev20250114/src/py/flwr/server/superlink/linkstate/sqlite_linkstate.py +1236 -0
  263. flwr_nightly-1.15.0.dev20250114/src/py/flwr/server/superlink/linkstate/utils.py +389 -0
  264. flwr_nightly-1.15.0.dev20250114/src/py/flwr/server/superlink/simulation/__init__.py +15 -0
  265. flwr_nightly-1.15.0.dev20250114/src/py/flwr/server/superlink/simulation/simulationio_grpc.py +65 -0
  266. flwr_nightly-1.15.0.dev20250114/src/py/flwr/server/superlink/simulation/simulationio_servicer.py +186 -0
  267. flwr_nightly-1.15.0.dev20250114/src/py/flwr/server/superlink/utils.py +65 -0
  268. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/typing.py +2 -0
  269. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/utils/__init__.py +1 -1
  270. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/utils/tensorboard.py +5 -5
  271. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/utils/validator.py +31 -11
  272. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/workflow/default_workflows.py +70 -26
  273. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/workflow/secure_aggregation/secagg_workflow.py +1 -0
  274. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/workflow/secure_aggregation/secaggplus_workflow.py +40 -27
  275. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/simulation/__init__.py +12 -5
  276. flwr_nightly-1.15.0.dev20250114/src/py/flwr/simulation/app.py +283 -0
  277. flwr_nightly-1.8.0.dev20240314/src/py/flwr/simulation/app.py → flwr_nightly-1.15.0.dev20250114/src/py/flwr/simulation/legacy_app.py +93 -42
  278. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/simulation/ray_transport/__init__.py +1 -1
  279. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/simulation/ray_transport/ray_actor.py +42 -67
  280. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/simulation/ray_transport/ray_client_proxy.py +37 -17
  281. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/simulation/ray_transport/utils.py +1 -0
  282. flwr_nightly-1.15.0.dev20250114/src/py/flwr/simulation/run_simulation.py +584 -0
  283. flwr_nightly-1.15.0.dev20250114/src/py/flwr/simulation/simulationio_connection.py +89 -0
  284. flwr_nightly-1.15.0.dev20250114/src/py/flwr/superexec/__init__.py +15 -0
  285. flwr_nightly-1.15.0.dev20250114/src/py/flwr/superexec/app.py +59 -0
  286. flwr_nightly-1.15.0.dev20250114/src/py/flwr/superexec/deployment.py +188 -0
  287. flwr_nightly-1.15.0.dev20250114/src/py/flwr/superexec/exec_grpc.py +80 -0
  288. flwr_nightly-1.15.0.dev20250114/src/py/flwr/superexec/exec_servicer.py +231 -0
  289. flwr_nightly-1.15.0.dev20250114/src/py/flwr/superexec/exec_user_auth_interceptor.py +101 -0
  290. flwr_nightly-1.15.0.dev20250114/src/py/flwr/superexec/executor.py +96 -0
  291. flwr_nightly-1.15.0.dev20250114/src/py/flwr/superexec/simulation.py +124 -0
  292. flwr_nightly-1.8.0.dev20240314/src/py/flwr/cli/flower_toml.py +0 -140
  293. flwr_nightly-1.8.0.dev20240314/src/py/flwr/cli/new/new.py +0 -154
  294. flwr_nightly-1.8.0.dev20240314/src/py/flwr/cli/new/templates/app/README.md.tpl +0 -47
  295. flwr_nightly-1.8.0.dev20240314/src/py/flwr/cli/new/templates/app/code/__init__.py.tpl +0 -1
  296. flwr_nightly-1.8.0.dev20240314/src/py/flwr/cli/new/templates/app/code/client.pytorch.py.tpl +0 -46
  297. flwr_nightly-1.8.0.dev20240314/src/py/flwr/cli/new/templates/app/code/client.tensorflow.py.tpl +0 -1
  298. flwr_nightly-1.8.0.dev20240314/src/py/flwr/cli/new/templates/app/code/server.numpy.py.tpl +0 -12
  299. flwr_nightly-1.8.0.dev20240314/src/py/flwr/cli/new/templates/app/code/server.pytorch.py.tpl +0 -28
  300. flwr_nightly-1.8.0.dev20240314/src/py/flwr/cli/new/templates/app/code/server.tensorflow.py.tpl +0 -1
  301. flwr_nightly-1.8.0.dev20240314/src/py/flwr/cli/new/templates/app/flower.toml.tpl +0 -13
  302. flwr_nightly-1.8.0.dev20240314/src/py/flwr/cli/new/templates/app/pyproject.numpy.toml.tpl +0 -19
  303. flwr_nightly-1.8.0.dev20240314/src/py/flwr/cli/new/templates/app/pyproject.pytorch.toml.tpl +0 -21
  304. flwr_nightly-1.8.0.dev20240314/src/py/flwr/cli/new/templates/app/pyproject.tensorflow.toml.tpl +0 -21
  305. flwr_nightly-1.8.0.dev20240314/src/py/flwr/cli/new/templates/app/requirements.numpy.txt.tpl +0 -2
  306. flwr_nightly-1.8.0.dev20240314/src/py/flwr/cli/new/templates/app/requirements.pytorch.txt.tpl +0 -4
  307. flwr_nightly-1.8.0.dev20240314/src/py/flwr/cli/new/templates/app/requirements.tensorflow.txt.tpl +0 -4
  308. flwr_nightly-1.8.0.dev20240314/src/py/flwr/cli/run/run.py +0 -68
  309. flwr_nightly-1.8.0.dev20240314/src/py/flwr/cli/utils.py +0 -67
  310. flwr_nightly-1.8.0.dev20240314/src/py/flwr/client/app.py +0 -678
  311. flwr_nightly-1.8.0.dev20240314/src/py/flwr/client/grpc_rere_client/connection.py +0 -206
  312. flwr_nightly-1.8.0.dev20240314/src/py/flwr/client/message_handler/__init__.py +0 -15
  313. flwr_nightly-1.8.0.dev20240314/src/py/flwr/client/node_state.py +0 -48
  314. flwr_nightly-1.8.0.dev20240314/src/py/flwr/client/node_state_tests.py +0 -65
  315. flwr_nightly-1.8.0.dev20240314/src/py/flwr/client/rest_client/connection.py +0 -358
  316. flwr_nightly-1.8.0.dev20240314/src/py/flwr/common/constant.py +0 -70
  317. flwr_nightly-1.8.0.dev20240314/src/py/flwr/common/date.py +0 -23
  318. flwr_nightly-1.8.0.dev20240314/src/py/flwr/common/grpc.py +0 -60
  319. flwr_nightly-1.8.0.dev20240314/src/py/flwr/common/logger.py +0 -190
  320. flwr_nightly-1.8.0.dev20240314/src/py/flwr/common/message.py +0 -323
  321. flwr_nightly-1.8.0.dev20240314/src/py/flwr/common/object_ref.py +0 -140
  322. flwr_nightly-1.8.0.dev20240314/src/py/flwr/common/record/recordset.py +0 -79
  323. flwr_nightly-1.8.0.dev20240314/src/py/flwr/common/record/typeddict.py +0 -113
  324. flwr_nightly-1.8.0.dev20240314/src/py/flwr/common/version.py +0 -28
  325. flwr_nightly-1.8.0.dev20240314/src/py/flwr/proto/driver_pb2.py +0 -44
  326. flwr_nightly-1.8.0.dev20240314/src/py/flwr/proto/driver_pb2_grpc.py +0 -169
  327. flwr_nightly-1.8.0.dev20240314/src/py/flwr/proto/driver_pb2_grpc.pyi +0 -66
  328. flwr_nightly-1.8.0.dev20240314/src/py/flwr/proto/fleet_pb2.py +0 -50
  329. flwr_nightly-1.8.0.dev20240314/src/py/flwr/proto/fleet_pb2_grpc.py +0 -171
  330. flwr_nightly-1.8.0.dev20240314/src/py/flwr/proto/recordset_pb2.py +0 -68
  331. flwr_nightly-1.8.0.dev20240314/src/py/flwr/proto/task_pb2.py +0 -34
  332. flwr_nightly-1.8.0.dev20240314/src/py/flwr/server/app.py +0 -713
  333. flwr_nightly-1.8.0.dev20240314/src/py/flwr/server/driver/driver.py +0 -256
  334. flwr_nightly-1.8.0.dev20240314/src/py/flwr/server/driver/grpc_driver.py +0 -129
  335. flwr_nightly-1.8.0.dev20240314/src/py/flwr/server/run_serverapp.py +0 -187
  336. flwr_nightly-1.8.0.dev20240314/src/py/flwr/server/superlink/driver/__init__.py +0 -15
  337. flwr_nightly-1.8.0.dev20240314/src/py/flwr/server/superlink/driver/driver_grpc.py +0 -54
  338. flwr_nightly-1.8.0.dev20240314/src/py/flwr/server/superlink/driver/driver_servicer.py +0 -129
  339. flwr_nightly-1.8.0.dev20240314/src/py/flwr/server/superlink/fleet/grpc_bidi/__init__.py +0 -15
  340. flwr_nightly-1.8.0.dev20240314/src/py/flwr/server/superlink/fleet/grpc_rere/fleet_servicer.py +0 -82
  341. flwr_nightly-1.8.0.dev20240314/src/py/flwr/server/superlink/fleet/message_handler/__init__.py +0 -15
  342. flwr_nightly-1.8.0.dev20240314/src/py/flwr/server/superlink/fleet/message_handler/message_handler.py +0 -88
  343. flwr_nightly-1.8.0.dev20240314/src/py/flwr/server/superlink/fleet/rest_rere/__init__.py +0 -15
  344. flwr_nightly-1.8.0.dev20240314/src/py/flwr/server/superlink/fleet/rest_rere/rest_api.py +0 -177
  345. flwr_nightly-1.8.0.dev20240314/src/py/flwr/server/superlink/fleet/vce/backend/raybackend.py +0 -175
  346. flwr_nightly-1.8.0.dev20240314/src/py/flwr/server/superlink/fleet/vce/vce_api.py +0 -331
  347. flwr_nightly-1.8.0.dev20240314/src/py/flwr/server/superlink/state/__init__.py +0 -28
  348. flwr_nightly-1.8.0.dev20240314/src/py/flwr/server/superlink/state/in_memory_state.py +0 -230
  349. flwr_nightly-1.8.0.dev20240314/src/py/flwr/server/superlink/state/sqlite_state.py +0 -630
  350. flwr_nightly-1.8.0.dev20240314/src/py/flwr/server/superlink/state/state.py +0 -154
  351. flwr_nightly-1.8.0.dev20240314/src/py/flwr/simulation/run_simulation.py +0 -441
  352. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/LICENSE +0 -0
  353. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/__init__.py +0 -0
  354. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/cli/__init__.py +0 -0
  355. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/cli/new/templates/__init__.py +0 -0
  356. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/cli/new/templates/app/__init__.py +0 -0
  357. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/cli/new/templates/app/code/__init__.py +0 -0
  358. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/client/grpc_client/__init__.py +0 -0
  359. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/client/message_handler/task_handler.py +0 -0
  360. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/client/mod/secure_aggregation/secagg_mod.py +0 -0
  361. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/common/differential_privacy_constants.py +0 -0
  362. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/common/parameter.py +0 -0
  363. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/common/record/conversion_utils.py +0 -0
  364. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/proto/__init__.py +0 -0
  365. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/proto/error_pb2.py +0 -0
  366. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/proto/error_pb2.pyi +0 -0
  367. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/proto/error_pb2_grpc.py +0 -0
  368. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/proto/error_pb2_grpc.pyi +0 -0
  369. flwr_nightly-1.8.0.dev20240314/src/py/flwr/proto/node_pb2_grpc.py → flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/fab_pb2_grpc.py +0 -0
  370. flwr_nightly-1.8.0.dev20240314/src/py/flwr/proto/node_pb2_grpc.pyi → flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/fab_pb2_grpc.pyi +0 -0
  371. flwr_nightly-1.8.0.dev20240314/src/py/flwr/proto/recordset_pb2_grpc.py → flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/log_pb2_grpc.py +0 -0
  372. flwr_nightly-1.8.0.dev20240314/src/py/flwr/proto/recordset_pb2_grpc.pyi → flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/log_pb2_grpc.pyi +0 -0
  373. flwr_nightly-1.8.0.dev20240314/src/py/flwr/proto/task_pb2_grpc.py → flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/message_pb2_grpc.py +0 -0
  374. flwr_nightly-1.8.0.dev20240314/src/py/flwr/proto/task_pb2_grpc.pyi → flwr_nightly-1.15.0.dev20250114/src/py/flwr/proto/message_pb2_grpc.pyi +0 -0
  375. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/proto/node_pb2.pyi +0 -0
  376. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/proto/transport_pb2_grpc.py +0 -0
  377. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/proto/transport_pb2_grpc.pyi +0 -0
  378. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/py.typed +0 -0
  379. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/client_proxy.py +0 -0
  380. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/compat/__init__.py +0 -0
  381. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/criterion.py +0 -0
  382. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/server_config.py +0 -0
  383. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/strategy/__init__.py +2 -2
  384. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/superlink/__init__.py +0 -0
  385. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/workflow/__init__.py +0 -0
  386. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/workflow/constant.py +0 -0
  387. {flwr_nightly-1.8.0.dev20240314 → flwr_nightly-1.15.0.dev20250114}/src/py/flwr/server/workflow/secure_aggregation/__init__.py +0 -0
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: flwr-nightly
3
- Version: 1.8.0.dev20240314
4
- Summary: Flower: A Friendly Federated Learning Framework
3
+ Version: 1.15.0.dev20250114
4
+ Summary: Flower: A Friendly Federated AI Framework
5
5
  Home-page: https://flower.ai
6
6
  License: Apache-2.0
7
- Keywords: flower,fl,federated learning,federated analytics,federated evaluation,machine learning
7
+ Keywords: Artificial Intelligence,Federated AI,Federated Analytics,Federated Evaluation,Federated Learning,Flower,Machine Learning
8
8
  Author: The Flower Authors
9
9
  Author-email: hello@flower.ai
10
- Requires-Python: >=3.8,<4.0
10
+ Requires-Python: >=3.9,<4.0
11
11
  Classifier: Development Status :: 5 - Production/Stable
12
12
  Classifier: Intended Audience :: Developers
13
13
  Classifier: Intended Audience :: Science/Research
@@ -16,12 +16,12 @@ Classifier: Operating System :: MacOS :: MacOS X
16
16
  Classifier: Operating System :: POSIX :: Linux
17
17
  Classifier: Programming Language :: Python
18
18
  Classifier: Programming Language :: Python :: 3
19
- Classifier: Programming Language :: Python :: 3.8
20
19
  Classifier: Programming Language :: Python :: 3.9
21
20
  Classifier: Programming Language :: Python :: 3.10
22
21
  Classifier: Programming Language :: Python :: 3.11
23
22
  Classifier: Programming Language :: Python :: 3.12
24
23
  Classifier: Programming Language :: Python :: 3 :: Only
24
+ Classifier: Programming Language :: Python :: 3.13
25
25
  Classifier: Programming Language :: Python :: Implementation :: CPython
26
26
  Classifier: Topic :: Scientific/Engineering
27
27
  Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
@@ -33,23 +33,26 @@ Classifier: Typing :: Typed
33
33
  Provides-Extra: rest
34
34
  Provides-Extra: simulation
35
35
  Requires-Dist: cryptography (>=42.0.4,<43.0.0)
36
- Requires-Dist: grpcio (>=1.60.0,<2.0.0)
36
+ Requires-Dist: grpcio (>=1.60.0,<2.0.0,!=1.64.2,<=1.64.3)
37
37
  Requires-Dist: iterators (>=0.0.2,<0.0.3)
38
- Requires-Dist: numpy (>=1.21.0,<2.0.0)
38
+ Requires-Dist: numpy (>=1.26.0,<3.0.0)
39
+ Requires-Dist: pathspec (>=0.12.1,<0.13.0)
39
40
  Requires-Dist: protobuf (>=4.25.2,<5.0.0)
40
41
  Requires-Dist: pycryptodome (>=3.18.0,<4.0.0)
41
- Requires-Dist: pydantic (<2.0.0) ; extra == "simulation"
42
- Requires-Dist: ray (==2.6.3) ; extra == "simulation"
43
- Requires-Dist: requests (>=2.31.0,<3.0.0) ; extra == "rest"
44
- Requires-Dist: starlette (>=0.31.0,<0.32.0) ; extra == "rest"
42
+ Requires-Dist: pyyaml (>=6.0.2,<7.0.0)
43
+ Requires-Dist: ray (==2.10.0) ; (python_version >= "3.9" and python_version < "3.12") and (extra == "simulation")
44
+ Requires-Dist: requests (>=2.31.0,<3.0.0)
45
+ Requires-Dist: rich (>=13.5.0,<14.0.0)
46
+ Requires-Dist: starlette (>=0.45.2,<0.46.0) ; extra == "rest"
45
47
  Requires-Dist: tomli (>=2.0.1,<3.0.0)
46
- Requires-Dist: typer[all] (>=0.9.0,<0.10.0)
47
- Requires-Dist: uvicorn[standard] (>=0.23.0,<0.24.0) ; extra == "rest"
48
+ Requires-Dist: tomli-w (>=1.0.0,<2.0.0)
49
+ Requires-Dist: typer (>=0.12.5,<0.13.0)
50
+ Requires-Dist: uvicorn[standard] (>=0.34.0,<0.35.0) ; extra == "rest"
48
51
  Project-URL: Documentation, https://flower.ai
49
52
  Project-URL: Repository, https://github.com/adap/flower
50
53
  Description-Content-Type: text/markdown
51
54
 
52
- # Flower: A Friendly Federated Learning Framework
55
+ # Flower: A Friendly Federated AI Framework
53
56
 
54
57
  <p align="center">
55
58
  <a href="https://flower.ai/">
@@ -69,9 +72,10 @@ Description-Content-Type: text/markdown
69
72
  [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/adap/flower/blob/main/CONTRIBUTING.md)
70
73
  ![Build](https://github.com/adap/flower/actions/workflows/framework.yml/badge.svg)
71
74
  [![Downloads](https://static.pepy.tech/badge/flwr)](https://pepy.tech/project/flwr)
75
+ [![Docker Hub](https://img.shields.io/badge/Docker%20Hub-flwr-blue)](https://hub.docker.com/u/flwr)
72
76
  [![Slack](https://img.shields.io/badge/Chat-Slack-red)](https://flower.ai/join-slack)
73
77
 
74
- Flower (`flwr`) is a framework for building federated learning systems. The
78
+ Flower (`flwr`) is a framework for building federated AI systems. The
75
79
  design of Flower is based on a few guiding principles:
76
80
 
77
81
  - **Customizable**: Federated learning systems vary wildly from one use case to
@@ -84,7 +88,7 @@ design of Flower is based on a few guiding principles:
84
88
 
85
89
  - **Framework-agnostic**: Different machine learning frameworks have different
86
90
  strengths. Flower can be used with any machine learning framework, for
87
- example, [PyTorch](https://pytorch.org), [TensorFlow](https://tensorflow.org), [Hugging Face Transformers](https://huggingface.co/), [PyTorch Lightning](https://pytorchlightning.ai/), [scikit-learn](https://scikit-learn.org/), [JAX](https://jax.readthedocs.io/), [TFLite](https://tensorflow.org/lite/), [MONAI](https://docs.monai.io/en/latest/index.html), [fastai](https://www.fast.ai/), [MLX](https://ml-explore.github.io/mlx/build/html/index.html), [XGBoost](https://xgboost.readthedocs.io/en/stable/), [Pandas](https://pandas.pydata.org/) for federated analytics, or even raw [NumPy](https://numpy.org/)
91
+ example, [PyTorch](https://pytorch.org), [TensorFlow](https://tensorflow.org), [Hugging Face Transformers](https://huggingface.co/), [PyTorch Lightning](https://pytorchlightning.ai/), [scikit-learn](https://scikit-learn.org/), [JAX](https://jax.readthedocs.io/), [TFLite](https://tensorflow.org/lite/), [MONAI](https://docs.monai.io/en/latest/index.html), [fastai](https://www.fast.ai/), [MLX](https://ml-explore.github.io/mlx/build/html/index.html), [XGBoost](https://xgboost.readthedocs.io/en/stable/), [LeRobot](https://github.com/huggingface/lerobot) for federated robots, [Pandas](https://pandas.pydata.org/) for federated analytics, or even raw [NumPy](https://numpy.org/)
88
92
  for users who enjoy computing gradients by hand.
89
93
 
90
94
  - **Understandable**: Flower is written with maintainability in mind. The
@@ -98,23 +102,23 @@ Flower's goal is to make federated learning accessible to everyone. This series
98
102
 
99
103
  0. **What is Federated Learning?**
100
104
 
101
- [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/adap/flower/blob/main/doc/source/tutorial-series-what-is-federated-learning.ipynb) (or open the [Jupyter Notebook](https://github.com/adap/flower/blob/main/doc/source/tutorial-series-what-is-federated-learning.ipynb))
105
+ [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/adap/flower/blob/main/framework/docs/source/tutorial-series-what-is-federated-learning.ipynb) (or open the [Jupyter Notebook](https://github.com/adap/flower/blob/main/framework/docs/source/tutorial-series-what-is-federated-learning.ipynb))
102
106
 
103
107
  1. **An Introduction to Federated Learning**
104
108
 
105
- [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/adap/flower/blob/main/doc/source/tutorial-series-get-started-with-flower-pytorch.ipynb) (or open the [Jupyter Notebook](https://github.com/adap/flower/blob/main/doc/source/tutorial-series-get-started-with-flower-pytorch.ipynb))
109
+ [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/adap/flower/blob/main/framework/docs/source/tutorial-series-get-started-with-flower-pytorch.ipynb) (or open the [Jupyter Notebook](https://github.com/adap/flower/blob/main/framework/docs/source/tutorial-series-get-started-with-flower-pytorch.ipynb))
106
110
 
107
111
  2. **Using Strategies in Federated Learning**
108
112
 
109
- [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/adap/flower/blob/main/doc/source/tutorial-series-use-a-federated-learning-strategy-pytorch.ipynb) (or open the [Jupyter Notebook](https://github.com/adap/flower/blob/main/doc/source/tutorial-series-use-a-federated-learning-strategy-pytorch.ipynb))
113
+ [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/adap/flower/blob/main/framework/docs/source/tutorial-series-use-a-federated-learning-strategy-pytorch.ipynb) (or open the [Jupyter Notebook](https://github.com/adap/flower/blob/main/framework/docs/source/tutorial-series-use-a-federated-learning-strategy-pytorch.ipynb))
110
114
 
111
115
  3. **Building Strategies for Federated Learning**
112
116
 
113
- [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/adap/flower/blob/main/doc/source/tutorial-series-build-a-strategy-from-scratch-pytorch.ipynb) (or open the [Jupyter Notebook](https://github.com/adap/flower/blob/main/doc/source/tutorial-series-build-a-strategy-from-scratch-pytorch.ipynb))
117
+ [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/adap/flower/blob/main/framework/docs/source/tutorial-series-build-a-strategy-from-scratch-pytorch.ipynb) (or open the [Jupyter Notebook](https://github.com/adap/flower/blob/main/framework/docs/source/tutorial-series-build-a-strategy-from-scratch-pytorch.ipynb))
114
118
 
115
119
  4. **Custom Clients for Federated Learning**
116
120
 
117
- [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/adap/flower/blob/main/doc/source/tutorial-series-customize-the-client-pytorch.ipynb) (or open the [Jupyter Notebook](https://github.com/adap/flower/blob/main/doc/source/tutorial-series-customize-the-client-pytorch.ipynb))
121
+ [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/adap/flower/blob/main/framework/docs/source/tutorial-series-customize-the-client-pytorch.ipynb) (or open the [Jupyter Notebook](https://github.com/adap/flower/blob/main/framework/docs/source/tutorial-series-customize-the-client-pytorch.ipynb))
118
122
 
119
123
  Stay tuned, more tutorials are coming soon. Topics include **Privacy and Security in Federated Learning**, and **Scaling Federated Learning**.
120
124
 
@@ -152,6 +156,7 @@ Flower Baselines is a collection of community-contributed projects that reproduc
152
156
  - [FedNova](https://github.com/adap/flower/tree/main/baselines/fednova)
153
157
  - [HeteroFL](https://github.com/adap/flower/tree/main/baselines/heterofl)
154
158
  - [FedAvgM](https://github.com/adap/flower/tree/main/baselines/fedavgm)
159
+ - [FedRep](https://github.com/adap/flower/tree/main/baselines/fedrep)
155
160
  - [FedStar](https://github.com/adap/flower/tree/main/baselines/fedstar)
156
161
  - [FedWav2vec2](https://github.com/adap/flower/tree/main/baselines/fedwav2vec2)
157
162
  - [FjORD](https://github.com/adap/flower/tree/main/baselines/fjord)
@@ -194,21 +199,23 @@ Other [examples](https://github.com/adap/flower/tree/main/examples):
194
199
  - [PyTorch: From Centralized to Federated](https://github.com/adap/flower/tree/main/examples/pytorch-from-centralized-to-federated)
195
200
  - [Vertical FL](https://github.com/adap/flower/tree/main/examples/vertical-fl)
196
201
  - [Federated Finetuning of OpenAI's Whisper](https://github.com/adap/flower/tree/main/examples/whisper-federated-finetuning)
197
- - [Federated Finetuning of Large Language Model](https://github.com/adap/flower/tree/main/examples/fedllm-finetune)
198
- - [Federated Finetuning of a Vision Transformer](https://github.com/adap/flower/tree/main/examples/vit-finetune)
202
+ - [Federated Finetuning of Large Language Model](https://github.com/adap/flower/tree/main/examples/flowertune-llm)
203
+ - [Federated Finetuning of a Vision Transformer](https://github.com/adap/flower/tree/main/examples/flowertune-vit)
199
204
  - [Advanced Flower with TensorFlow/Keras](https://github.com/adap/flower/tree/main/examples/advanced-tensorflow)
200
205
  - [Advanced Flower with PyTorch](https://github.com/adap/flower/tree/main/examples/advanced-pytorch)
201
- - Single-Machine Simulation of Federated Learning Systems ([PyTorch](https://github.com/adap/flower/tree/main/examples/simulation-pytorch)) ([Tensorflow](https://github.com/adap/flower/tree/main/examples/simulation-tensorflow))
202
206
  - [Comprehensive Flower+XGBoost](https://github.com/adap/flower/tree/main/examples/xgboost-comprehensive)
203
207
  - [Flower through Docker Compose and with Grafana dashboard](https://github.com/adap/flower/tree/main/examples/flower-via-docker-compose)
204
- - [Flower with KaplanMeierFitter from the lifelines library](https://github.com/adap/flower/tree/main/examples/federated-kaplna-meier-fitter)
208
+ - [Flower with KaplanMeierFitter from the lifelines library](https://github.com/adap/flower/tree/main/examples/federated-kaplan-meier-fitter)
209
+ - [Sample Level Privacy with Opacus](https://github.com/adap/flower/tree/main/examples/opacus)
210
+ - [Sample Level Privacy with TensorFlow-Privacy](https://github.com/adap/flower/tree/main/examples/tensorflow-privacy)
211
+ - [Flower with a Tabular Dataset](https://github.com/adap/flower/tree/main/examples/fl-tabular)
205
212
 
206
213
  ## Community
207
214
 
208
215
  Flower is built by a wonderful community of researchers and engineers. [Join Slack](https://flower.ai/join-slack) to meet them, [contributions](#contributing-to-flower) are welcome.
209
216
 
210
217
  <a href="https://github.com/adap/flower/graphs/contributors">
211
- <img src="https://contrib.rocks/image?repo=adap/flower" />
218
+ <img src="https://contrib.rocks/image?repo=adap/flower&columns=10" />
212
219
  </a>
213
220
 
214
221
  ## Citation
@@ -1,4 +1,4 @@
1
- # Flower: A Friendly Federated Learning Framework
1
+ # Flower: A Friendly Federated AI Framework
2
2
 
3
3
  <p align="center">
4
4
  <a href="https://flower.ai/">
@@ -18,9 +18,10 @@
18
18
  [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/adap/flower/blob/main/CONTRIBUTING.md)
19
19
  ![Build](https://github.com/adap/flower/actions/workflows/framework.yml/badge.svg)
20
20
  [![Downloads](https://static.pepy.tech/badge/flwr)](https://pepy.tech/project/flwr)
21
+ [![Docker Hub](https://img.shields.io/badge/Docker%20Hub-flwr-blue)](https://hub.docker.com/u/flwr)
21
22
  [![Slack](https://img.shields.io/badge/Chat-Slack-red)](https://flower.ai/join-slack)
22
23
 
23
- Flower (`flwr`) is a framework for building federated learning systems. The
24
+ Flower (`flwr`) is a framework for building federated AI systems. The
24
25
  design of Flower is based on a few guiding principles:
25
26
 
26
27
  - **Customizable**: Federated learning systems vary wildly from one use case to
@@ -33,7 +34,7 @@ design of Flower is based on a few guiding principles:
33
34
 
34
35
  - **Framework-agnostic**: Different machine learning frameworks have different
35
36
  strengths. Flower can be used with any machine learning framework, for
36
- example, [PyTorch](https://pytorch.org), [TensorFlow](https://tensorflow.org), [Hugging Face Transformers](https://huggingface.co/), [PyTorch Lightning](https://pytorchlightning.ai/), [scikit-learn](https://scikit-learn.org/), [JAX](https://jax.readthedocs.io/), [TFLite](https://tensorflow.org/lite/), [MONAI](https://docs.monai.io/en/latest/index.html), [fastai](https://www.fast.ai/), [MLX](https://ml-explore.github.io/mlx/build/html/index.html), [XGBoost](https://xgboost.readthedocs.io/en/stable/), [Pandas](https://pandas.pydata.org/) for federated analytics, or even raw [NumPy](https://numpy.org/)
37
+ example, [PyTorch](https://pytorch.org), [TensorFlow](https://tensorflow.org), [Hugging Face Transformers](https://huggingface.co/), [PyTorch Lightning](https://pytorchlightning.ai/), [scikit-learn](https://scikit-learn.org/), [JAX](https://jax.readthedocs.io/), [TFLite](https://tensorflow.org/lite/), [MONAI](https://docs.monai.io/en/latest/index.html), [fastai](https://www.fast.ai/), [MLX](https://ml-explore.github.io/mlx/build/html/index.html), [XGBoost](https://xgboost.readthedocs.io/en/stable/), [LeRobot](https://github.com/huggingface/lerobot) for federated robots, [Pandas](https://pandas.pydata.org/) for federated analytics, or even raw [NumPy](https://numpy.org/)
37
38
  for users who enjoy computing gradients by hand.
38
39
 
39
40
  - **Understandable**: Flower is written with maintainability in mind. The
@@ -47,23 +48,23 @@ Flower's goal is to make federated learning accessible to everyone. This series
47
48
 
48
49
  0. **What is Federated Learning?**
49
50
 
50
- [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/adap/flower/blob/main/doc/source/tutorial-series-what-is-federated-learning.ipynb) (or open the [Jupyter Notebook](https://github.com/adap/flower/blob/main/doc/source/tutorial-series-what-is-federated-learning.ipynb))
51
+ [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/adap/flower/blob/main/framework/docs/source/tutorial-series-what-is-federated-learning.ipynb) (or open the [Jupyter Notebook](https://github.com/adap/flower/blob/main/framework/docs/source/tutorial-series-what-is-federated-learning.ipynb))
51
52
 
52
53
  1. **An Introduction to Federated Learning**
53
54
 
54
- [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/adap/flower/blob/main/doc/source/tutorial-series-get-started-with-flower-pytorch.ipynb) (or open the [Jupyter Notebook](https://github.com/adap/flower/blob/main/doc/source/tutorial-series-get-started-with-flower-pytorch.ipynb))
55
+ [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/adap/flower/blob/main/framework/docs/source/tutorial-series-get-started-with-flower-pytorch.ipynb) (or open the [Jupyter Notebook](https://github.com/adap/flower/blob/main/framework/docs/source/tutorial-series-get-started-with-flower-pytorch.ipynb))
55
56
 
56
57
  2. **Using Strategies in Federated Learning**
57
58
 
58
- [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/adap/flower/blob/main/doc/source/tutorial-series-use-a-federated-learning-strategy-pytorch.ipynb) (or open the [Jupyter Notebook](https://github.com/adap/flower/blob/main/doc/source/tutorial-series-use-a-federated-learning-strategy-pytorch.ipynb))
59
+ [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/adap/flower/blob/main/framework/docs/source/tutorial-series-use-a-federated-learning-strategy-pytorch.ipynb) (or open the [Jupyter Notebook](https://github.com/adap/flower/blob/main/framework/docs/source/tutorial-series-use-a-federated-learning-strategy-pytorch.ipynb))
59
60
 
60
61
  3. **Building Strategies for Federated Learning**
61
62
 
62
- [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/adap/flower/blob/main/doc/source/tutorial-series-build-a-strategy-from-scratch-pytorch.ipynb) (or open the [Jupyter Notebook](https://github.com/adap/flower/blob/main/doc/source/tutorial-series-build-a-strategy-from-scratch-pytorch.ipynb))
63
+ [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/adap/flower/blob/main/framework/docs/source/tutorial-series-build-a-strategy-from-scratch-pytorch.ipynb) (or open the [Jupyter Notebook](https://github.com/adap/flower/blob/main/framework/docs/source/tutorial-series-build-a-strategy-from-scratch-pytorch.ipynb))
63
64
 
64
65
  4. **Custom Clients for Federated Learning**
65
66
 
66
- [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/adap/flower/blob/main/doc/source/tutorial-series-customize-the-client-pytorch.ipynb) (or open the [Jupyter Notebook](https://github.com/adap/flower/blob/main/doc/source/tutorial-series-customize-the-client-pytorch.ipynb))
67
+ [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/adap/flower/blob/main/framework/docs/source/tutorial-series-customize-the-client-pytorch.ipynb) (or open the [Jupyter Notebook](https://github.com/adap/flower/blob/main/framework/docs/source/tutorial-series-customize-the-client-pytorch.ipynb))
67
68
 
68
69
  Stay tuned, more tutorials are coming soon. Topics include **Privacy and Security in Federated Learning**, and **Scaling Federated Learning**.
69
70
 
@@ -101,6 +102,7 @@ Flower Baselines is a collection of community-contributed projects that reproduc
101
102
  - [FedNova](https://github.com/adap/flower/tree/main/baselines/fednova)
102
103
  - [HeteroFL](https://github.com/adap/flower/tree/main/baselines/heterofl)
103
104
  - [FedAvgM](https://github.com/adap/flower/tree/main/baselines/fedavgm)
105
+ - [FedRep](https://github.com/adap/flower/tree/main/baselines/fedrep)
104
106
  - [FedStar](https://github.com/adap/flower/tree/main/baselines/fedstar)
105
107
  - [FedWav2vec2](https://github.com/adap/flower/tree/main/baselines/fedwav2vec2)
106
108
  - [FjORD](https://github.com/adap/flower/tree/main/baselines/fjord)
@@ -143,21 +145,23 @@ Other [examples](https://github.com/adap/flower/tree/main/examples):
143
145
  - [PyTorch: From Centralized to Federated](https://github.com/adap/flower/tree/main/examples/pytorch-from-centralized-to-federated)
144
146
  - [Vertical FL](https://github.com/adap/flower/tree/main/examples/vertical-fl)
145
147
  - [Federated Finetuning of OpenAI's Whisper](https://github.com/adap/flower/tree/main/examples/whisper-federated-finetuning)
146
- - [Federated Finetuning of Large Language Model](https://github.com/adap/flower/tree/main/examples/fedllm-finetune)
147
- - [Federated Finetuning of a Vision Transformer](https://github.com/adap/flower/tree/main/examples/vit-finetune)
148
+ - [Federated Finetuning of Large Language Model](https://github.com/adap/flower/tree/main/examples/flowertune-llm)
149
+ - [Federated Finetuning of a Vision Transformer](https://github.com/adap/flower/tree/main/examples/flowertune-vit)
148
150
  - [Advanced Flower with TensorFlow/Keras](https://github.com/adap/flower/tree/main/examples/advanced-tensorflow)
149
151
  - [Advanced Flower with PyTorch](https://github.com/adap/flower/tree/main/examples/advanced-pytorch)
150
- - Single-Machine Simulation of Federated Learning Systems ([PyTorch](https://github.com/adap/flower/tree/main/examples/simulation-pytorch)) ([Tensorflow](https://github.com/adap/flower/tree/main/examples/simulation-tensorflow))
151
152
  - [Comprehensive Flower+XGBoost](https://github.com/adap/flower/tree/main/examples/xgboost-comprehensive)
152
153
  - [Flower through Docker Compose and with Grafana dashboard](https://github.com/adap/flower/tree/main/examples/flower-via-docker-compose)
153
- - [Flower with KaplanMeierFitter from the lifelines library](https://github.com/adap/flower/tree/main/examples/federated-kaplna-meier-fitter)
154
+ - [Flower with KaplanMeierFitter from the lifelines library](https://github.com/adap/flower/tree/main/examples/federated-kaplan-meier-fitter)
155
+ - [Sample Level Privacy with Opacus](https://github.com/adap/flower/tree/main/examples/opacus)
156
+ - [Sample Level Privacy with TensorFlow-Privacy](https://github.com/adap/flower/tree/main/examples/tensorflow-privacy)
157
+ - [Flower with a Tabular Dataset](https://github.com/adap/flower/tree/main/examples/fl-tabular)
154
158
 
155
159
  ## Community
156
160
 
157
161
  Flower is built by a wonderful community of researchers and engineers. [Join Slack](https://flower.ai/join-slack) to meet them, [contributions](#contributing-to-flower) are welcome.
158
162
 
159
163
  <a href="https://github.com/adap/flower/graphs/contributors">
160
- <img src="https://contrib.rocks/image?repo=adap/flower" />
164
+ <img src="https://contrib.rocks/image?repo=adap/flower&columns=10" />
161
165
  </a>
162
166
 
163
167
  ## Citation
@@ -4,8 +4,8 @@ build-backend = "poetry.core.masonry.api"
4
4
 
5
5
  [tool.poetry]
6
6
  name = "flwr-nightly"
7
- version = "1.8.0-dev20240314"
8
- description = "Flower: A Friendly Federated Learning Framework"
7
+ version = "1.15.0.dev20250114"
8
+ description = "Flower: A Friendly Federated AI Framework"
9
9
  license = "Apache-2.0"
10
10
  authors = ["The Flower Authors <hello@flower.ai>"]
11
11
  readme = "README.md"
@@ -13,12 +13,13 @@ homepage = "https://flower.ai"
13
13
  repository = "https://github.com/adap/flower"
14
14
  documentation = "https://flower.ai"
15
15
  keywords = [
16
- "flower",
17
- "fl",
18
- "federated learning",
19
- "federated analytics",
20
- "federated evaluation",
21
- "machine learning",
16
+ "Artificial Intelligence",
17
+ "Federated AI",
18
+ "Federated Analytics",
19
+ "Federated Evaluation",
20
+ "Federated Learning",
21
+ "Flower",
22
+ "Machine Learning",
22
23
  ]
23
24
  classifiers = [
24
25
  "Development Status :: 5 - Production/Stable",
@@ -30,11 +31,11 @@ classifiers = [
30
31
  "Programming Language :: Python",
31
32
  "Programming Language :: Python :: 3",
32
33
  "Programming Language :: Python :: 3 :: Only",
33
- "Programming Language :: Python :: 3.8",
34
34
  "Programming Language :: Python :: 3.9",
35
35
  "Programming Language :: Python :: 3.10",
36
36
  "Programming Language :: Python :: 3.11",
37
37
  "Programming Language :: Python :: 3.12",
38
+ "Programming Language :: Python :: 3.13",
38
39
  "Programming Language :: Python :: Implementation :: CPython",
39
40
  "Topic :: Scientific/Engineering",
40
41
  "Topic :: Scientific/Engineering :: Artificial Intelligence",
@@ -44,44 +45,50 @@ classifiers = [
44
45
  "Topic :: Software Development :: Libraries :: Python Modules",
45
46
  "Typing :: Typed",
46
47
  ]
47
- packages = [
48
- { include = "flwr", from = "src/py" },
49
- ]
50
- exclude = [
51
- "src/py/**/*_test.py",
52
- ]
48
+ packages = [{ include = "flwr", from = "src/py" }]
49
+ exclude = ["src/py/**/*_test.py"]
53
50
 
54
51
  [tool.poetry.scripts]
52
+ # `flwr` CLI
55
53
  flwr = "flwr.cli.app:app"
56
- flower-driver-api = "flwr.server:run_driver_api"
57
- flower-fleet-api = "flwr.server:run_fleet_api"
58
- flower-superlink = "flwr.server:run_superlink"
59
- flower-client-app = "flwr.client:run_client_app"
60
- flower-server-app = "flwr.server:run_server_app"
61
- flower-simulation = "flwr.simulation:run_simulation_from_cli"
54
+ # SuperExec (can run with either Deployment Engine or Simulation Engine)
55
+ flower-superexec = "flwr.superexec.app:run_superexec" # Deprecated
56
+ # Simulation Engine
57
+ flwr-simulation = "flwr.simulation.app:flwr_simulation"
58
+ flower-simulation = "flwr.simulation.run_simulation:run_simulation_from_cli"
59
+ # Deployment Engine
60
+ flower-superlink = "flwr.server.app:run_superlink"
61
+ flower-supernode = "flwr.client.supernode.app:run_supernode"
62
+ flwr-serverapp = "flwr.server.serverapp:flwr_serverapp"
63
+ flower-server-app = "flwr.server.run_serverapp:run_server_app" # Deprecated
64
+ flwr-clientapp = "flwr.client.clientapp:flwr_clientapp"
65
+ flower-client-app = "flwr.client.supernode:run_client_app" # Deprecated
62
66
 
63
67
  [tool.poetry.dependencies]
64
- python = "^3.8"
68
+ python = "^3.9"
65
69
  # Mandatory dependencies
66
- numpy = "^1.21.0"
67
- grpcio = "^1.60.0"
70
+ numpy = ">=1.26.0,<3.0.0"
71
+ grpcio = "^1.60.0,!=1.64.2,<=1.64.3"
68
72
  protobuf = "^4.25.2"
69
73
  cryptography = "^42.0.4"
70
74
  pycryptodome = "^3.18.0"
71
75
  iterators = "^0.0.2"
72
- typer = { version = "^0.9.0", extras=["all"] }
76
+ typer = "^0.12.5"
73
77
  tomli = "^2.0.1"
78
+ tomli-w = "^1.0.0"
79
+ pathspec = "^0.12.1"
80
+ rich = "^13.5.0"
81
+ pyyaml = "^6.0.2"
82
+ requests = "^2.31.0"
74
83
  # Optional dependencies (Simulation Engine)
75
- ray = { version = "==2.6.3", optional = true }
76
- pydantic = { version = "<2.0.0", optional = true }
84
+ ray = { version = "==2.10.0", optional = true, python = ">=3.9,<3.12" }
77
85
  # Optional dependencies (REST transport layer)
78
- requests = { version = "^2.31.0", optional = true }
79
- starlette = { version = "^0.31.0", optional = true }
80
- uvicorn = { version = "^0.23.0", extras = ["standard"], optional = true }
86
+ starlette = { version = "^0.45.2", optional = true }
87
+ uvicorn = { version = "^0.34.0", extras = ["standard"], optional = true }
81
88
 
82
89
  [tool.poetry.extras]
83
- simulation = ["ray", "pydantic"]
84
- rest = ["requests", "starlette", "uvicorn"]
90
+ simulation = ["ray"]
91
+ rest = ["starlette", "uvicorn"]
85
92
 
86
93
  [tool.poetry.group.dev.dependencies]
87
94
  types-dataclasses = "==0.6.6"
@@ -91,55 +98,67 @@ types-setuptools = "==69.0.0.20240125"
91
98
  clang-format = "==17.0.6"
92
99
  isort = "==5.13.2"
93
100
  black = { version = "==24.2.0", extras = ["jupyter"] }
101
+ taplo = "==0.9.3"
94
102
  docformatter = "==1.7.5"
95
103
  mypy = "==1.8.0"
96
- pylint = "==3.0.3"
104
+ pylint = "==3.3.1"
97
105
  flake8 = "==5.0.4"
106
+ parameterized = "==0.9.0"
98
107
  pytest = "==7.4.4"
99
108
  pytest-cov = "==4.1.0"
100
- pytest-watcher = "==0.4.1"
109
+ pytest-watcher = "==0.4.3"
101
110
  grpcio-tools = "==1.60.0"
102
111
  mypy-protobuf = "==3.2.0"
103
112
  jupyterlab = "==4.0.12"
104
- rope = "==1.11.0"
113
+ rope = "==1.13.0"
105
114
  semver = "==3.0.2"
106
- sphinx = "==6.2.1"
107
- sphinx-intl = "==2.1.0"
108
- myst-parser = "==1.0.0"
109
- sphinx-design = "==0.5.0"
115
+ sphinx = "==7.4.7"
116
+ sphinx-intl = "==2.2.0"
117
+ sphinx-click = "==6.0.0"
118
+ myst-parser = "==3.0.1"
119
+ sphinx-design = "==0.6.1"
110
120
  sphinx-copybutton = "==0.5.2"
111
121
  sphinxcontrib-mermaid = "==0.9.2"
112
122
  sphinxcontrib-youtube = "==1.4.1"
113
- furo = "==2023.9.10"
114
- sphinx-reredirects = "==0.1.3"
115
- nbsphinx = "==0.9.3"
123
+ furo = "==2024.8.6"
124
+ sphinx-reredirects = "==0.1.5"
125
+ nbsphinx = "==0.9.5"
116
126
  nbstripout = "==0.6.1"
117
- ruff = "==0.1.9"
127
+ ruff = "==0.4.5"
118
128
  sphinx-argparse = "==0.4.0"
119
129
  pipreqs = "==0.4.13"
120
- mdformat-gfm = "==0.3.5"
130
+ mdformat = "==0.7.18"
131
+ mdformat-gfm = "==0.3.6"
121
132
  mdformat-frontmatter = "==2.0.1"
122
133
  mdformat-beautysh = "==0.1.1"
123
- mdformat-myst = "==0.1.5"
124
- twine = "==4.0.2"
134
+ twine = "==5.1.1"
135
+ types-PyYAML = "^6.0.2"
125
136
  pyroma = "==4.2"
126
137
  check-wheel-contents = "==0.4.0"
127
138
  GitPython = "==3.1.32"
128
139
  PyGithub = "==2.1.1"
129
140
  licensecheck = "==2024"
141
+ pre-commit = "==3.5.0"
142
+ sphinx-substitution-extensions = "2022.02.16"
143
+ sphinxext-opengraph = "==0.9.1"
144
+ docstrfmt = { git = "https://github.com/charlesbvll/docstrfmt.git", branch = "patch-2" }
145
+ docsig = "==0.64.0"
146
+
147
+ [tool.docstrfmt]
148
+ extend_exclude = [
149
+ "framework/docs/source/conf.py",
150
+ "framework/docs/source/tutorial-quickstart-huggingface.rst",
151
+ "framework/docs/source/_templates/autosummary/*",
152
+ "framework/docs/source/ref-api/*",
153
+ ]
130
154
 
131
155
  [tool.isort]
132
- line_length = 88
133
- indent = " "
134
- multi_line_output = 3
135
- include_trailing_comma = true
136
- force_grid_wrap = 0
137
- use_parentheses = true
138
- known_first_party = ["flwr", "flwr_experimental", "flwr_tool"]
156
+ profile = "black"
157
+ known_first_party = ["flwr", "flwr_tool"]
139
158
 
140
159
  [tool.black]
141
160
  line-length = 88
142
- target-version = ["py38", "py39", "py310", "py311"]
161
+ target-version = ["py39", "py310", "py311"]
143
162
 
144
163
  [tool.pylint."MESSAGES CONTROL"]
145
164
  disable = "duplicate-code,too-few-public-methods,useless-import-alias"
@@ -147,10 +166,7 @@ disable = "duplicate-code,too-few-public-methods,useless-import-alias"
147
166
  [tool.pytest.ini_options]
148
167
  minversion = "6.2"
149
168
  addopts = "-qq"
150
- testpaths = [
151
- "src/py/flwr",
152
- "src/py/flwr_tool",
153
- ]
169
+ testpaths = ["src/py/flwr", "src/py/flwr_tool"]
154
170
  filterwarnings = "ignore::DeprecationWarning"
155
171
 
156
172
  [tool.pytest-watcher]
@@ -163,24 +179,12 @@ patterns = ["*.py"]
163
179
  ignore_patterns = []
164
180
 
165
181
  [tool.mypy]
166
- plugins = [
167
- "numpy.typing.mypy_plugin",
168
- ]
182
+ plugins = ["numpy.typing.mypy_plugin"]
169
183
  ignore_missing_imports = true
170
184
  strict = true
171
185
 
172
186
  [[tool.mypy.overrides]]
173
- module = [
174
- "flwr_example.*",
175
- "flwr_experimental.*",
176
- ]
177
- ignore_errors = true
178
-
179
- [[tool.mypy.overrides]]
180
- module = [
181
- "importlib.metadata.*",
182
- "importlib_metadata.*",
183
- ]
187
+ module = ["importlib.metadata.*", "importlib_metadata.*"]
184
188
  follow_imports = "skip"
185
189
  follow_imports_for_stubs = true
186
190
  disallow_untyped_calls = false
@@ -195,11 +199,8 @@ wrap-summaries = 88
195
199
  wrap-descriptions = 88
196
200
 
197
201
  [tool.ruff]
198
- target-version = "py38"
202
+ target-version = "py39"
199
203
  line-length = 88
200
- select = ["D", "E", "F", "W", "B", "ISC", "C4", "UP"]
201
- fixable = ["D", "E", "F", "W", "B", "ISC", "C4", "UP"]
202
- ignore = ["B024", "B027", "D205", "D209"]
203
204
  exclude = [
204
205
  ".bzr",
205
206
  ".direnv",
@@ -224,8 +225,17 @@ exclude = [
224
225
  "proto",
225
226
  ]
226
227
 
227
- [tool.ruff.pydocstyle]
228
+ [tool.ruff.lint]
229
+ select = ["D", "E", "F", "W", "B", "ISC", "C4", "UP"]
230
+ fixable = ["D", "E", "F", "W", "B", "ISC", "C4", "UP"]
231
+ ignore = ["B024", "B027", "D205", "D209"]
232
+
233
+ [tool.ruff.lint.pydocstyle]
228
234
  convention = "numpy"
229
235
 
230
- [tool.ruff.per-file-ignores]
236
+ [tool.ruff.lint.per-file-ignores]
231
237
  "src/py/flwr/server/strategy/*.py" = ["E501"]
238
+
239
+ [tool.docsig]
240
+ ignore-no-params = true
241
+ exclude = 'src/py/flwr/proto/.*|src/py/flwr/.*_test\.py|src/py/flwr/cli/new/templates/.*\.tpl'
@@ -14,11 +14,18 @@
14
14
  # ==============================================================================
15
15
  """Flower command line interface."""
16
16
 
17
+
17
18
  import typer
19
+ from typer.main import get_command
18
20
 
19
- from .example import example
21
+ from .build import build
22
+ from .install import install
23
+ from .log import log
24
+ from .login import login
25
+ from .ls import ls
20
26
  from .new import new
21
27
  from .run import run
28
+ from .stop import stop
22
29
 
23
30
  app = typer.Typer(
24
31
  help=typer.style(
@@ -30,8 +37,15 @@ app = typer.Typer(
30
37
  )
31
38
 
32
39
  app.command()(new)
33
- app.command()(example)
34
40
  app.command()(run)
41
+ app.command()(build)
42
+ app.command()(install)
43
+ app.command()(log)
44
+ app.command()(ls)
45
+ app.command()(stop)
46
+ app.command()(login)
47
+
48
+ typer_click_object = get_command(app)
35
49
 
36
50
  if __name__ == "__main__":
37
51
  app()