Observed since 21 Oct, 09:46 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
AI4OS extensions to the Python Flower federated learning framework (https://flower.dev)
This repository contains the AI4OS extensions for the Flower framework.
Authentication for Flower is implemented directly via GRPC: interceptors (server side) and authentication medatata plugins (client side).
In order to use it, the server must be initialized with any object of the
ai4flwr.auth package as interceptor. See the examples below for more
details.
In your server, start it as follows:
import ai4flwr.auth.bearer
fl.server.start_server(
server_address="0.0.0.0:5000",
certificates=(...),
interceptors=[ai4flwr.auth.bearer.BearerTokenInterceptor()]
)
In your client, start it as follows:
import ai4flwr.auth.bearer
token = "Your token as configured in the server"
fl.client.start_numpy_client(
server_address=f"localhost:5000",
client=...,
root_certificates=...
call_credentials=grpc.metadata_call_credentials(
ai4flwr.auth.bearer.BearerTokenAuthPlugin(token)
),
)
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.2.0 | 10 Jan 2024 | 2 |
This describes our collected data; it is not a security assessment.
Observed since 21 Oct, 09:46 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:09b0c2ad62d5a76b3c29ec4aca4483d293e22359660b901d6e4957d87612cf07