flwr-nightly 1.26.0.dev20251226__py3-none-any.whl → 1.26.0.dev20260121__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- flwr/app/__init__.py +4 -1
- flwr/app/message_type.py +29 -0
- flwr/app/metadata.py +5 -2
- flwr/app/user_config.py +19 -0
- flwr/cli/app.py +31 -11
- flwr/cli/auth_plugin/oidc_cli_plugin.py +8 -1
- flwr/cli/config/__init__.py +21 -0
- flwr/cli/config/ls.py +104 -0
- flwr/cli/config_migration.py +300 -0
- flwr/cli/config_utils.py +53 -0
- flwr/cli/constant.py +67 -0
- flwr/cli/federation/__init__.py +0 -2
- flwr/cli/federation/ls.py +236 -15
- flwr/cli/flower_config.py +447 -0
- flwr/cli/log.py +21 -35
- flwr/cli/ls.py +23 -34
- flwr/cli/pull.py +16 -30
- flwr/cli/run/run.py +44 -58
- flwr/cli/stop.py +21 -30
- flwr/cli/typing.py +211 -0
- flwr/cli/utils.py +102 -1
- flwr/client/message_handler/message_handler.py +2 -1
- flwr/client/mod/centraldp_mods.py +1 -1
- flwr/client/mod/localdp_mod.py +1 -1
- flwr/client/mod/secure_aggregation/secaggplus_mod.py +1 -1
- flwr/client/run_info_store.py +2 -1
- flwr/clientapp/client_app.py +2 -1
- flwr/common/__init__.py +2 -1
- flwr/common/config.py +2 -1
- flwr/common/constant.py +0 -15
- flwr/common/context.py +2 -1
- flwr/common/grpc.py +2 -1
- flwr/common/serde.py +7 -5
- flwr/common/typing.py +1 -2
- flwr/compat/client/app.py +6 -9
- flwr/compat/client/grpc_client/connection.py +2 -1
- flwr/compat/common/constant.py +29 -0
- flwr/compat/server/app.py +1 -1
- flwr/server/app.py +1 -1
- flwr/server/compat/grid_client_proxy.py +2 -1
- flwr/server/grid/grpc_grid.py +2 -2
- flwr/server/superlink/fleet/grpc_rere/node_auth_server_interceptor.py +13 -12
- flwr/server/superlink/linkstate/__init__.py +2 -0
- flwr/server/superlink/linkstate/in_memory_linkstate.py +2 -10
- flwr/server/superlink/linkstate/linkstate.py +2 -21
- flwr/server/superlink/linkstate/sql_linkstate.py +221 -0
- flwr/server/superlink/linkstate/sqlite_linkstate.py +2 -24
- flwr/server/superlink/linkstate/utils.py +2 -2
- flwr/server/workflow/default_workflows.py +2 -1
- flwr/server/workflow/secure_aggregation/secaggplus_workflow.py +1 -1
- flwr/serverapp/strategy/fedavg.py +1 -1
- flwr/serverapp/strategy/fedxgb_cyclic.py +1 -1
- flwr/simulation/ray_transport/ray_client_proxy.py +2 -6
- flwr/simulation/run_simulation.py +2 -1
- flwr/{common → supercore}/address.py +0 -35
- flwr/supercore/constant.py +14 -0
- flwr/supercore/corestate/sql_corestate.py +153 -0
- flwr/supercore/credential_store/__init__.py +33 -0
- flwr/supercore/credential_store/credential_store.py +34 -0
- flwr/supercore/credential_store/file_credential_store.py +76 -0
- flwr/supercore/sql_mixin.py +292 -0
- flwr/supercore/sqlite_mixin.py +4 -7
- flwr/supercore/state/__init__.py +15 -0
- flwr/supercore/state/schema/README.md +125 -0
- flwr/supercore/state/schema/__init__.py +15 -0
- flwr/supercore/state/schema/corestate_tables.py +36 -0
- flwr/supercore/state/schema/linkstate_tables.py +152 -0
- flwr/supercore/state/schema/objectstore_tables.py +90 -0
- flwr/supercore/utils.py +14 -0
- flwr/superlink/servicer/control/control_servicer.py +2 -1
- flwr/supernode/servicer/clientappio/clientappio_servicer.py +6 -4
- flwr/supernode/start_client_internal.py +3 -2
- {flwr_nightly-1.26.0.dev20251226.dist-info → flwr_nightly-1.26.0.dev20260121.dist-info}/METADATA +2 -1
- {flwr_nightly-1.26.0.dev20251226.dist-info → flwr_nightly-1.26.0.dev20260121.dist-info}/RECORD +76 -58
- flwr/cli/federation/show.py +0 -318
- flwr/common/pyproject.py +0 -42
- {flwr_nightly-1.26.0.dev20251226.dist-info → flwr_nightly-1.26.0.dev20260121.dist-info}/WHEEL +0 -0
- {flwr_nightly-1.26.0.dev20251226.dist-info → flwr_nightly-1.26.0.dev20260121.dist-info}/entry_points.txt +0 -0
flwr/common/pyproject.py
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
# Copyright 2025 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
|
-
"""Validates the project's name property."""
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
import re
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
def validate_project_name(name: str) -> bool:
|
|
22
|
-
"""Validate the project name against PEP 621 and PEP 503 specifications.
|
|
23
|
-
|
|
24
|
-
Conventions at a glance:
|
|
25
|
-
- Must be lowercase
|
|
26
|
-
- Must not contain special characters
|
|
27
|
-
- Must use hyphens(recommended) or underscores. No spaces.
|
|
28
|
-
- Recommended to be no more than 40 characters long (But it can be)
|
|
29
|
-
|
|
30
|
-
Parameters
|
|
31
|
-
----------
|
|
32
|
-
name : str
|
|
33
|
-
The project name to validate.
|
|
34
|
-
|
|
35
|
-
Returns
|
|
36
|
-
-------
|
|
37
|
-
bool
|
|
38
|
-
True if the name is valid, False otherwise.
|
|
39
|
-
"""
|
|
40
|
-
if not name or len(name) > 40 or not re.match(r"^[a-z0-9-_]+$", name):
|
|
41
|
-
return False
|
|
42
|
-
return True
|
{flwr_nightly-1.26.0.dev20251226.dist-info → flwr_nightly-1.26.0.dev20260121.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|