flwr-nightly 1.7.0.dev20240108__tar.gz → 1.7.0.dev20240116__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/PKG-INFO +1 -1
  2. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/pyproject.toml +1 -1
  3. flwr_nightly-1.7.0.dev20240116/src/py/flwr/common/recordset.py +78 -0
  4. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/LICENSE +0 -0
  5. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/README.md +0 -0
  6. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/__init__.py +0 -0
  7. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/client/__init__.py +0 -0
  8. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/client/app.py +0 -0
  9. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/client/client.py +0 -0
  10. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/client/dpfedavg_numpy_client.py +0 -0
  11. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/client/flower.py +0 -0
  12. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/client/grpc_client/__init__.py +0 -0
  13. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/client/grpc_client/connection.py +0 -0
  14. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/client/grpc_rere_client/__init__.py +0 -0
  15. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/client/grpc_rere_client/connection.py +0 -0
  16. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/client/message_handler/__init__.py +0 -0
  17. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/client/message_handler/message_handler.py +0 -0
  18. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/client/message_handler/task_handler.py +0 -0
  19. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/client/middleware/__init__.py +0 -0
  20. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/client/middleware/utils.py +0 -0
  21. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/client/node_state.py +0 -0
  22. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/client/node_state_tests.py +0 -0
  23. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/client/numpy_client.py +0 -0
  24. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/client/rest_client/__init__.py +0 -0
  25. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/client/rest_client/connection.py +0 -0
  26. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/client/run_state.py +0 -0
  27. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/client/secure_aggregation/__init__.py +0 -0
  28. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/client/secure_aggregation/handler.py +0 -0
  29. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/client/secure_aggregation/secaggplus_handler.py +0 -0
  30. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/client/typing.py +0 -0
  31. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/common/__init__.py +0 -0
  32. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/common/address.py +0 -0
  33. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/common/constant.py +0 -0
  34. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/common/date.py +0 -0
  35. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/common/dp.py +0 -0
  36. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/common/grpc.py +0 -0
  37. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/common/logger.py +0 -0
  38. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/common/parameter.py +0 -0
  39. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/common/retry_invoker.py +0 -0
  40. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/common/secure_aggregation/__init__.py +0 -0
  41. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/common/secure_aggregation/crypto/__init__.py +0 -0
  42. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/common/secure_aggregation/crypto/shamir.py +0 -0
  43. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/common/secure_aggregation/crypto/symmetric_encryption.py +0 -0
  44. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/common/secure_aggregation/ndarrays_arithmetic.py +0 -0
  45. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/common/secure_aggregation/quantization.py +0 -0
  46. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/common/secure_aggregation/secaggplus_constants.py +0 -0
  47. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/common/secure_aggregation/secaggplus_utils.py +0 -0
  48. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/common/serde.py +0 -0
  49. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/common/telemetry.py +0 -0
  50. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/common/typing.py +0 -0
  51. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/common/version.py +0 -0
  52. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/driver/__init__.py +0 -0
  53. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/driver/app.py +0 -0
  54. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/driver/driver.py +0 -0
  55. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/driver/driver_client_proxy.py +0 -0
  56. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/driver/grpc_driver.py +0 -0
  57. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/flower/__init__.py +0 -0
  58. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/proto/__init__.py +0 -0
  59. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/proto/driver_pb2.py +0 -0
  60. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/proto/driver_pb2.pyi +0 -0
  61. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/proto/driver_pb2_grpc.py +0 -0
  62. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/proto/driver_pb2_grpc.pyi +0 -0
  63. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/proto/fleet_pb2.py +0 -0
  64. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/proto/fleet_pb2.pyi +0 -0
  65. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/proto/fleet_pb2_grpc.py +0 -0
  66. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/proto/fleet_pb2_grpc.pyi +0 -0
  67. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/proto/node_pb2.py +0 -0
  68. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/proto/node_pb2.pyi +0 -0
  69. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/proto/node_pb2_grpc.py +0 -0
  70. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/proto/node_pb2_grpc.pyi +0 -0
  71. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/proto/task_pb2.py +0 -0
  72. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/proto/task_pb2.pyi +0 -0
  73. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/proto/task_pb2_grpc.py +0 -0
  74. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/proto/task_pb2_grpc.pyi +0 -0
  75. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/proto/transport_pb2.py +0 -0
  76. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/proto/transport_pb2.pyi +0 -0
  77. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/proto/transport_pb2_grpc.py +0 -0
  78. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/proto/transport_pb2_grpc.pyi +0 -0
  79. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/py.typed +0 -0
  80. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/__init__.py +0 -0
  81. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/app.py +0 -0
  82. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/client_manager.py +0 -0
  83. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/client_proxy.py +0 -0
  84. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/criterion.py +0 -0
  85. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/driver/__init__.py +0 -0
  86. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/driver/driver_servicer.py +0 -0
  87. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/fleet/__init__.py +0 -0
  88. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/fleet/grpc_bidi/__init__.py +0 -0
  89. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/fleet/grpc_bidi/driver_client_manager.py +0 -0
  90. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/fleet/grpc_bidi/flower_service_servicer.py +0 -0
  91. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/fleet/grpc_bidi/grpc_bridge.py +0 -0
  92. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/fleet/grpc_bidi/grpc_client_proxy.py +0 -0
  93. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/fleet/grpc_bidi/grpc_server.py +0 -0
  94. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/fleet/grpc_bidi/ins_scheduler.py +0 -0
  95. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/fleet/grpc_rere/__init__.py +0 -0
  96. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/fleet/grpc_rere/fleet_servicer.py +0 -0
  97. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/fleet/message_handler/__init__.py +0 -0
  98. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/fleet/message_handler/message_handler.py +0 -0
  99. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/fleet/rest_rere/__init__.py +0 -0
  100. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/fleet/rest_rere/rest_api.py +0 -0
  101. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/history.py +0 -0
  102. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/server.py +0 -0
  103. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/state/__init__.py +0 -0
  104. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/state/in_memory_state.py +0 -0
  105. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/state/sqlite_state.py +0 -0
  106. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/state/state.py +0 -0
  107. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/state/state_factory.py +0 -0
  108. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/strategy/__init__.py +0 -0
  109. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/strategy/aggregate.py +0 -0
  110. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/strategy/bulyan.py +0 -0
  111. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/strategy/dpfedavg_adaptive.py +0 -0
  112. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/strategy/dpfedavg_fixed.py +0 -0
  113. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/strategy/fault_tolerant_fedavg.py +0 -0
  114. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/strategy/fedadagrad.py +0 -0
  115. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/strategy/fedadam.py +0 -0
  116. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/strategy/fedavg.py +0 -0
  117. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/strategy/fedavg_android.py +0 -0
  118. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/strategy/fedavgm.py +0 -0
  119. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/strategy/fedmedian.py +0 -0
  120. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/strategy/fedopt.py +0 -0
  121. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/strategy/fedprox.py +0 -0
  122. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/strategy/fedtrimmedavg.py +0 -0
  123. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/strategy/fedxgb_bagging.py +0 -0
  124. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/strategy/fedxgb_cyclic.py +0 -0
  125. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/strategy/fedxgb_nn_avg.py +0 -0
  126. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/strategy/fedyogi.py +0 -0
  127. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/strategy/krum.py +0 -0
  128. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/strategy/qfedavg.py +0 -0
  129. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/strategy/strategy.py +0 -0
  130. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/utils/__init__.py +0 -0
  131. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/utils/tensorboard.py +0 -0
  132. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/server/utils/validator.py +0 -0
  133. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/simulation/__init__.py +0 -0
  134. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/simulation/app.py +0 -0
  135. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/simulation/ray_transport/__init__.py +0 -0
  136. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/simulation/ray_transport/ray_actor.py +0 -0
  137. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/simulation/ray_transport/ray_client_proxy.py +0 -0
  138. {flwr_nightly-1.7.0.dev20240108 → flwr_nightly-1.7.0.dev20240116}/src/py/flwr/simulation/ray_transport/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: flwr-nightly
3
- Version: 1.7.0.dev20240108
3
+ Version: 1.7.0.dev20240116
4
4
  Summary: Flower: A Friendly Federated Learning Framework
5
5
  Home-page: https://flower.dev
6
6
  License: Apache-2.0
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
4
4
 
5
5
  [tool.poetry]
6
6
  name = "flwr-nightly"
7
- version = "1.7.0-dev20240108"
7
+ version = "1.7.0-dev20240116"
8
8
  description = "Flower: A Friendly Federated Learning Framework"
9
9
  license = "Apache-2.0"
10
10
  authors = ["The Flower Authors <hello@flower.dev>"]
@@ -0,0 +1,78 @@
1
+ # Copyright 2024 Flower Labs GmbH. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ # ==============================================================================
15
+ """RecordSet."""
16
+
17
+ from dataclasses import dataclass
18
+ from typing import Dict
19
+
20
+
21
+ @dataclass
22
+ class ParametersRecord:
23
+ """Parameters record."""
24
+
25
+
26
+ @dataclass
27
+ class MetricsRecord:
28
+ """Metrics record."""
29
+
30
+
31
+ @dataclass
32
+ class ConfigsRecord:
33
+ """Configs record."""
34
+
35
+
36
+ @dataclass
37
+ class RecordSet:
38
+ """Definition of RecordSet."""
39
+
40
+ parameters: Dict[str, ParametersRecord] = {}
41
+ metrics: Dict[str, MetricsRecord] = {}
42
+ configs: Dict[str, ConfigsRecord] = {}
43
+
44
+ def set_parameters(self, name: str, record: ParametersRecord) -> None:
45
+ """Add a ParametersRecord."""
46
+ self.parameters[name] = record
47
+
48
+ def get_parameters(self, name: str) -> ParametersRecord:
49
+ """Get a ParametesRecord."""
50
+ return self.parameters[name]
51
+
52
+ def del_parameters(self, name: str) -> None:
53
+ """Delete a ParametersRecord."""
54
+ del self.parameters[name]
55
+
56
+ def set_metrics(self, name: str, record: MetricsRecord) -> None:
57
+ """Add a MetricsRecord."""
58
+ self.metrics[name] = record
59
+
60
+ def get_metrics(self, name: str) -> MetricsRecord:
61
+ """Get a MetricsRecord."""
62
+ return self.metrics[name]
63
+
64
+ def del_metrics(self, name: str) -> None:
65
+ """Delete a MetricsRecord."""
66
+ del self.metrics[name]
67
+
68
+ def set_configs(self, name: str, record: ConfigsRecord) -> None:
69
+ """Add a ConfigsRecord."""
70
+ self.configs[name] = record
71
+
72
+ def get_configs(self, name: str) -> ConfigsRecord:
73
+ """Get a ConfigsRecord."""
74
+ return self.configs[name]
75
+
76
+ def del_configs(self, name: str) -> None:
77
+ """Delete a ConfigsRecord."""
78
+ del self.configs[name]