$npx skillfedfor your agent

flwr

Flower: A Friendly Federated AI Framework

Worth itPyPI Software DevelopmentReleased Aug 2026188.8K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — flwr-1.33.0-py3-none-any.whl
v1.33.0 · released 2026-08-05 · Python <4.0,>=3.11 · 23 runtime deps: numpy, grpcio, grpcio-health-checking, protobuf, cryptography, pycryptodome, iterators, typer

Yes. Flower is production-stable (Development Status 5), actively maintained with recent releases, has no known vulnerabilities, and low install friction. Install it if you need to build federated learning systems or conduct distributed model training while preserving data privacy. The permissive Apache-2.0 license and framework-agnostic design make it suitable for research and commercial use.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.11 or later; federated learning scenarios typically require multiple client processes or machines to demonstrate value.
  • Low install friction with a pure-Python wheel distribution.
  • Active maintenance with a release 9 days old and recent commits; 7073 repository stars indicate established community adoption.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions, making it suitable for both research and production deployments.

last release 2026-08-05 (9 days) · last repo commit 2026-08-14 · 7,073 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 188,759 downloads/mo, #9,938 on PyPI

Verify before relying

pip install flwr

import flwr as fl

strategy = fl.server.strategy.FedAvg()
fl.server.start_server(config=fl.server.ServerConfig(num_rounds=3), strategy=strategy)
  • Whether the framework's gRPC and protobuf dependencies are suitable for all network environments (e.g., restrictive firewalls).
  • Performance characteristics and scalability limits for the number of clients and model sizes supported.
  • Whether privacy guarantees (differential privacy, secure aggregation) are built-in or require additional implementation.
Same gist for agents: .md · .json

What it is and what it does

Flower is a framework for implementing federated learning systems—distributed machine learning where model training happens across multiple clients that retain their data locally, with only model updates sent to a central server for aggregation. It abstracts away the complexity of coordinating training across heterogeneous devices and frameworks, allowing researchers and practitioners to focus on algorithm design rather than infrastructure. The framework is framework-agnostic and can work with PyTorch, TensorFlow, scikit-learn, JAX, XGBoost, and other ML libraries.

Flower's core dependencies include gRPC and protobuf for client-server communication, cryptography libraries for secure aggregation, FastAPI and Uvicorn for server infrastructure, SQLAlchemy for state management, and rich/typer for CLI tooling. It is designed for customization and extensibility—users can override strategies, define custom client logic, and integrate with their existing ML pipelines. The framework targets both research (with baseline implementations of published algorithms) and production use, supporting modern Python versions (3.11, 3.12, 3.13).

Use it for

  • Train a model across hospitals' patient data without centralizing sensitive medical records.
  • Aggregate model updates from mobile devices in a federated learning pipeline using PyTorch or TensorFlow.
  • Implement custom federated learning strategies by extending Flower's Strategy class for research experiments.
  • Conduct federated analytics on distributed datasets without moving raw data to a central location.
  • Deploy a federated learning system with secure aggregation using Flower's cryptography integrations.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Flower is production-stable (Development Status 5), actively maintained with recent releases, has no known vulnerabilities, and low install friction. Install it if you need to build federated learning systems or conduct distributed model training while preserving data privacy. The permissive Apache-2.0 license and framework-agnostic design make it suitable for research and commercial use.

Install

flwr on PyPI

Before you install

Low install friction with a pure-Python wheel distribution. Active maintenance with a release 9 days old and recent commits; 7073 repository stars indicate established community adoption.

Requires Python 3.11 or later; federated learning scenarios typically require multiple client processes or machines to demonstrate value.

License in practice

Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions, making it suitable for both research and production deployments.

Quickstart

pip install flwr

import flwr as fl

strategy = fl.server.strategy.FedAvg()
fl.server.start_server(config=fl.server.ServerConfig(num_rounds=3), strategy=strategy)

Verify before relying

  • Whether the framework's gRPC and protobuf dependencies are suitable for all network environments (e.g., restrictive firewalls).
  • Performance characteristics and scalability limits for the number of clients and model sizes supported.
  • Whether privacy guarantees (differential privacy, secure aggregation) are built-in or require additional implementation.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release <4.0,>=3.11
Install frictionLow. Pure-Python wheel
Runtime dependencies
23 packages
numpygrpciogrpcio-health-checkingprotobufcryptographypycryptodomeiteratorstyperuvtomlitomli-wpathspecprompt-toolkitrichpyyamlrequestsclickpackagingsqlalchemyalembicuvicornfastapistarlette
MaintenanceActively maintained 9 days since the last release
Last repo commit
First released
Downloads188,759 / month, #9,938 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseOperating System :: MacOS :: MacOS XOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: Implementation :: CPythonTopic :: Scientific/EngineeringTopic :: Scientific/Engineering :: Artificial IntelligenceTopic :: Scientific/Engineering :: MathematicsTopic :: Software DevelopmentTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

Evidence: flwr-1.33.0-py3-none-any.whl

Tags

Capabilities
federated learning frameworkdistributed machine learningprivacy-preserving model trainingfederated AI systemsdecentralized model aggregationcollaborative machine learningfederated analytics
Topics
federated-learningdistributed-trainingprivacy-preserving
PyPI keywords
Artificial IntelligenceFederated AIFederated AnalyticsFederated EvaluationFederated LearningFlowerMachine Learning

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “federated learning framework”

  • flwrFlower is a framework for building federated learning systems where…
  • drjaxDrJAX embeds MapReduce programming primitives into JAX, enabling…
  • opacusOpacus enables training PyTorch models with differential privacy…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also flower · tensorflow · tflite-runtime · keras · fastai · keras-nightly · tensorflow-cpu-aws · loralib · mlx

Further reading