{"adoption": {"forks": 416, "observed_at": "2026-08-28T04:06:19.562692+00:00", "stars": 2155}, "canonical_url": "https://ross.abutalabs.com/products/pfllib", "card": {"archived": false, "artifact_type": "library", "description": "Master Federated Learning in 2 Hours—Run It on Your PC!", "domain": ["machine-learning", "artificial-intelligence", "privacy", "microservices"], "enriched": true, "function": ["machine-learning", "benchmarking", "privacy", "data-science"], "health_score": 70, "homepage": "http://www.pfllib.com/", "language": "Python", "license": "Apache-2.0", "license_family": "permissive", "maturity": "active", "member_repos": ["TsingZ0/PFLlib"], "name": "TsingZ0/PFLlib", "platform": ["python", "cross-platform"], "pushed_at": "2026-01-25T02:31:48+00:00", "repo": "TsingZ0/PFLlib", "stars": 2155, "tags": ["federated-learning", "personalized-federated-learning", "non-iid-data", "differential-privacy", "pytorch", "benchmark", "data-heterogeneity", "gpu"], "topics": ["non-iid", "federated-learning", "personalization", "pytorch", "python", "distributed-computing", "heterogeneity", "differential-privacy", "privacy", "imagenet", "domainnet", "iot", "attack", "dlg", "privacy-protection"], "urls": [], "use_cases": ["simulate federated learning experiments on my PC", "compare personalized federated learning algorithms on non-IID data", "evaluate privacy attacks like DLG against federated models", "benchmark federated learning with 500 clients on one GPU", "learn federated learning quickly as a beginner", "test differential privacy in federated training"], "what_it_is": "PFLlib is a beginner-friendly Python library and benchmark for traditional and personalized federated learning, offering 39 algorithms, 24 datasets, and privacy evaluation tools built on PyTorch. It is designed to simulate federated learning scenarios with hundreds of clients on a single consumer GPU.", "when_to_avoid": ["you need production federated learning deployment across real devices rather than simulation", "you require model heterogeneity support, for which HtFLlib is the extended project"], "when_to_choose": ["you want a comprehensive, easy-to-extend FL library with many algorithms and datasets", "you need to benchmark personalized FL under data heterogeneity", "you have limited GPU resources but need large-scale client simulations"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/pfllib", "repo": "TsingZ0/PFLlib", "role": "main", "score": 59}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:19.562692+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:50:36.090410+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2f853cc9b73242295e090231e7e045a9b1fd5508a340c3c8c0931c7601a7a9d4", "fetched_at": "2026-08-28T04:06:19.562692+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TsingZ0/PFLlib"}, {"content_hash": "bf10e3ce3f9e9cbae84fa78c665baa3b1a91d798467762059bb199d156f31f06", "fetched_at": "2026-08-29T10:30:38.309604+00:00", "kind": "homepage", "missing": false, "url": "http://www.pfllib.com/"}, {"content_hash": "dedd05d5fd751d43aba1fcf67cf5ce3638eef50392a1a664a257ecd65128c48b", "fetched_at": "2026-08-29T10:30:38.318695+00:00", "kind": "site_page", "missing": false, "url": "http://www.pfllib.com/docs.html"}, {"content_hash": "051aff3e9993541578cb1ff475397a3f65d69f7daeb3ab73a299b204d9c9cc1a", "fetched_at": "2026-08-29T10:30:38.320734+00:00", "kind": "site_page", "missing": false, "url": "http://www.pfllib.com/about.html"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:19.562692+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:50:36.090410+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2f853cc9b73242295e090231e7e045a9b1fd5508a340c3c8c0931c7601a7a9d4", "fetched_at": "2026-08-28T04:06:19.562692+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TsingZ0/PFLlib"}, {"content_hash": "bf10e3ce3f9e9cbae84fa78c665baa3b1a91d798467762059bb199d156f31f06", "fetched_at": "2026-08-29T10:30:38.309604+00:00", "kind": "homepage", "missing": false, "url": "http://www.pfllib.com/"}, {"content_hash": "dedd05d5fd751d43aba1fcf67cf5ce3638eef50392a1a664a257ecd65128c48b", "fetched_at": "2026-08-29T10:30:38.318695+00:00", "kind": "site_page", "missing": false, "url": "http://www.pfllib.com/docs.html"}, {"content_hash": "051aff3e9993541578cb1ff475397a3f65d69f7daeb3ab73a299b204d9c9cc1a", "fetched_at": "2026-08-29T10:30:38.320734+00:00", "kind": "site_page", "missing": false, "url": "http://www.pfllib.com/about.html"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:50:36.090410+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2f853cc9b73242295e090231e7e045a9b1fd5508a340c3c8c0931c7601a7a9d4", "fetched_at": "2026-08-28T04:06:19.562692+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TsingZ0/PFLlib"}, {"content_hash": "bf10e3ce3f9e9cbae84fa78c665baa3b1a91d798467762059bb199d156f31f06", "fetched_at": "2026-08-29T10:30:38.309604+00:00", "kind": "homepage", "missing": false, "url": "http://www.pfllib.com/"}, {"content_hash": "dedd05d5fd751d43aba1fcf67cf5ce3638eef50392a1a664a257ecd65128c48b", "fetched_at": "2026-08-29T10:30:38.318695+00:00", "kind": "site_page", "missing": false, "url": "http://www.pfllib.com/docs.html"}, {"content_hash": "051aff3e9993541578cb1ff475397a3f65d69f7daeb3ab73a299b204d9c9cc1a", "fetched_at": "2026-08-29T10:30:38.320734+00:00", "kind": "site_page", "missing": false, "url": "http://www.pfllib.com/about.html"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:06:19.562692+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:19.562692+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:19.562692+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:50:36.090410+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2f853cc9b73242295e090231e7e045a9b1fd5508a340c3c8c0931c7601a7a9d4", "fetched_at": "2026-08-28T04:06:19.562692+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TsingZ0/PFLlib"}, {"content_hash": "bf10e3ce3f9e9cbae84fa78c665baa3b1a91d798467762059bb199d156f31f06", "fetched_at": "2026-08-29T10:30:38.309604+00:00", "kind": "homepage", "missing": false, "url": "http://www.pfllib.com/"}, {"content_hash": "dedd05d5fd751d43aba1fcf67cf5ce3638eef50392a1a664a257ecd65128c48b", "fetched_at": "2026-08-29T10:30:38.318695+00:00", "kind": "site_page", "missing": false, "url": "http://www.pfllib.com/docs.html"}, {"content_hash": "051aff3e9993541578cb1ff475397a3f65d69f7daeb3ab73a299b204d9c9cc1a", "fetched_at": "2026-08-29T10:30:38.320734+00:00", "kind": "site_page", "missing": false, "url": "http://www.pfllib.com/about.html"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:19.562692+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:19.562692+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:50:36.090410+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2f853cc9b73242295e090231e7e045a9b1fd5508a340c3c8c0931c7601a7a9d4", "fetched_at": "2026-08-28T04:06:19.562692+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TsingZ0/PFLlib"}, {"content_hash": "bf10e3ce3f9e9cbae84fa78c665baa3b1a91d798467762059bb199d156f31f06", "fetched_at": "2026-08-29T10:30:38.309604+00:00", "kind": "homepage", "missing": false, "url": "http://www.pfllib.com/"}, {"content_hash": "dedd05d5fd751d43aba1fcf67cf5ce3638eef50392a1a664a257ecd65128c48b", "fetched_at": "2026-08-29T10:30:38.318695+00:00", "kind": "site_page", "missing": false, "url": "http://www.pfllib.com/docs.html"}, {"content_hash": "051aff3e9993541578cb1ff475397a3f65d69f7daeb3ab73a299b204d9c9cc1a", "fetched_at": "2026-08-29T10:30:38.320734+00:00", "kind": "site_page", "missing": false, "url": "http://www.pfllib.com/about.html"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:19.562692+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:19.562692+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:19.562692+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:50:36.090410+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2f853cc9b73242295e090231e7e045a9b1fd5508a340c3c8c0931c7601a7a9d4", "fetched_at": "2026-08-28T04:06:19.562692+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TsingZ0/PFLlib"}, {"content_hash": "bf10e3ce3f9e9cbae84fa78c665baa3b1a91d798467762059bb199d156f31f06", "fetched_at": "2026-08-29T10:30:38.309604+00:00", "kind": "homepage", "missing": false, "url": "http://www.pfllib.com/"}, {"content_hash": "dedd05d5fd751d43aba1fcf67cf5ce3638eef50392a1a664a257ecd65128c48b", "fetched_at": "2026-08-29T10:30:38.318695+00:00", "kind": "site_page", "missing": false, "url": "http://www.pfllib.com/docs.html"}, {"content_hash": "051aff3e9993541578cb1ff475397a3f65d69f7daeb3ab73a299b204d9c9cc1a", "fetched_at": "2026-08-29T10:30:38.320734+00:00", "kind": "site_page", "missing": false, "url": "http://www.pfllib.com/about.html"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:19.562692+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:19.562692+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:50:36.090410+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2f853cc9b73242295e090231e7e045a9b1fd5508a340c3c8c0931c7601a7a9d4", "fetched_at": "2026-08-28T04:06:19.562692+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TsingZ0/PFLlib"}, {"content_hash": "bf10e3ce3f9e9cbae84fa78c665baa3b1a91d798467762059bb199d156f31f06", "fetched_at": "2026-08-29T10:30:38.309604+00:00", "kind": "homepage", "missing": false, "url": "http://www.pfllib.com/"}, {"content_hash": "dedd05d5fd751d43aba1fcf67cf5ce3638eef50392a1a664a257ecd65128c48b", "fetched_at": "2026-08-29T10:30:38.318695+00:00", "kind": "site_page", "missing": false, "url": "http://www.pfllib.com/docs.html"}, {"content_hash": "051aff3e9993541578cb1ff475397a3f65d69f7daeb3ab73a299b204d9c9cc1a", "fetched_at": "2026-08-29T10:30:38.320734+00:00", "kind": "site_page", "missing": false, "url": "http://www.pfllib.com/about.html"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:50:36.090410+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2f853cc9b73242295e090231e7e045a9b1fd5508a340c3c8c0931c7601a7a9d4", "fetched_at": "2026-08-28T04:06:19.562692+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TsingZ0/PFLlib"}, {"content_hash": "bf10e3ce3f9e9cbae84fa78c665baa3b1a91d798467762059bb199d156f31f06", "fetched_at": "2026-08-29T10:30:38.309604+00:00", "kind": "homepage", "missing": false, "url": "http://www.pfllib.com/"}, {"content_hash": "dedd05d5fd751d43aba1fcf67cf5ce3638eef50392a1a664a257ecd65128c48b", "fetched_at": "2026-08-29T10:30:38.318695+00:00", "kind": "site_page", "missing": false, "url": "http://www.pfllib.com/docs.html"}, {"content_hash": "051aff3e9993541578cb1ff475397a3f65d69f7daeb3ab73a299b204d9c9cc1a", "fetched_at": "2026-08-29T10:30:38.320734+00:00", "kind": "site_page", "missing": false, "url": "http://www.pfllib.com/about.html"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:50:36.090410+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2f853cc9b73242295e090231e7e045a9b1fd5508a340c3c8c0931c7601a7a9d4", "fetched_at": "2026-08-28T04:06:19.562692+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TsingZ0/PFLlib"}, {"content_hash": "bf10e3ce3f9e9cbae84fa78c665baa3b1a91d798467762059bb199d156f31f06", "fetched_at": "2026-08-29T10:30:38.309604+00:00", "kind": "homepage", "missing": false, "url": "http://www.pfllib.com/"}, {"content_hash": "dedd05d5fd751d43aba1fcf67cf5ce3638eef50392a1a664a257ecd65128c48b", "fetched_at": "2026-08-29T10:30:38.318695+00:00", "kind": "site_page", "missing": false, "url": "http://www.pfllib.com/docs.html"}, {"content_hash": "051aff3e9993541578cb1ff475397a3f65d69f7daeb3ab73a299b204d9c9cc1a", "fetched_at": "2026-08-29T10:30:38.320734+00:00", "kind": "site_page", "missing": false, "url": "http://www.pfllib.com/about.html"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:50:36.090410+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2f853cc9b73242295e090231e7e045a9b1fd5508a340c3c8c0931c7601a7a9d4", "fetched_at": "2026-08-28T04:06:19.562692+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TsingZ0/PFLlib"}, {"content_hash": "bf10e3ce3f9e9cbae84fa78c665baa3b1a91d798467762059bb199d156f31f06", "fetched_at": "2026-08-29T10:30:38.309604+00:00", "kind": "homepage", "missing": false, "url": "http://www.pfllib.com/"}, {"content_hash": "dedd05d5fd751d43aba1fcf67cf5ce3638eef50392a1a664a257ecd65128c48b", "fetched_at": "2026-08-29T10:30:38.318695+00:00", "kind": "site_page", "missing": false, "url": "http://www.pfllib.com/docs.html"}, {"content_hash": "051aff3e9993541578cb1ff475397a3f65d69f7daeb3ab73a299b204d9c9cc1a", "fetched_at": "2026-08-29T10:30:38.320734+00:00", "kind": "site_page", "missing": false, "url": "http://www.pfllib.com/about.html"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 64, "longevity": 100, "rhythm": 28}, "computed_at": "2026-09-03T02:39:23.370411+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2191, "days_push": 221, "days_rel": 525, "gap_med": 67.5, "n_releases_24m": 3}, "score": 59, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}