Metadata-Version: 2.4
Name: fedora-fl-runtime
Version: 2.1.0b2
Summary: Standalone security-first federated learning runtime
Author-email: FedoRA Contributors <sam.urmian@gmail.com>
License-Expression: Apache-2.0
Project-URL: Homepage, https://github.com/mlgorithm/FedoRA
Project-URL: Repository, https://github.com/mlgorithm/FedoRA
Project-URL: Bug Tracker, https://github.com/mlgorithm/FedoRA/issues
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: fedora-fl==2.1.0b2
Requires-Dist: numpy<3.0.0,>=1.24.0
Requires-Dist: typer<1.0.0,>=0.12.0
Provides-Extra: flower
Requires-Dist: flwr<2.0.0,>=1.19.0; extra == "flower"
Provides-Extra: ray
Requires-Dist: ray<3.0.0,>=2.9.0; extra == "ray"
Provides-Extra: grpc
Requires-Dist: grpcio<2.0.0,>=1.57.0; extra == "grpc"
Requires-Dist: grpcio-health-checking<2.0.0,>=1.57.0; extra == "grpc"
Requires-Dist: grpcio-tools<2.0.0,>=1.57.0; extra == "grpc"
Requires-Dist: cryptography<51.0.0,>=50.0.2; extra == "grpc"
Provides-Extra: websocket
Requires-Dist: websockets<15.0,>=11.0; extra == "websocket"
Provides-Extra: test
Requires-Dist: pytest<10.0.0,>=9.0.3; extra == "test"

# fedora-fl-runtime

`fedora-fl-runtime` is a thin public facade for FedoRA's execution APIs. It
re-exports the implementation shipped in `fedora-fl` and depends on the exact
same version of that distribution. It is not a physically separate runtime.

The `fedora_runtime` namespace exposes experiments, engine and client APIs,
backend registration, gRPC configuration validation, and runtime CLI helpers.
Backend support and maturity follow the root library's capability matrix;
optional adapters do not have automatic feature parity.

## Install

```bash
pip install "fedora-fl-runtime==2.1.0b2"
pip install "fedora-fl-runtime[grpc]==2.1.0b2"
```

These commands apply after publication. For the unpublished candidate, install
the matching base and facade wheels supplied with the review packet.

For source development, run these commands from this directory to install the
implementation and then the facade:

```bash
pip install -e ..
pip install -e .
```

The `ray`, `flower`, and `websocket` extras install the corresponding optional
runtime dependencies. All three FedoRA distributions release in lockstep.

## Use

```python
from fedora_runtime import register_local_backend
from fedora_runtime.grpc import validate_grpc_deployment_config

register_local_backend()
report = validate_grpc_deployment_config({"bind": "127.0.0.1:50051"})
assert report["valid"]
```

Use the root library's executable quickstart to define a client and run a
simulation. A private simulation requires explicit public initial parameters.
Network deployments require the concrete backend's TLS, identity, resource,
evidence, and operational checks. Passing configuration and CI checks does not
replace independent security review or a deployment pilot.
