compare
Ruff vs YAPF
The same facts for both, read from GitHub every night, and the relation a person reviewed.
| Fact | Ruff | YAPF |
|---|---|---|
| Language | Rust | Python |
| Licence | MIT | Apache-2.0 |
| Stars | 50k | 14k |
| Latest | 0.16.10 | v0.43.0 |
| Last push | 2026-10-06 | 2026-10-02 |
| Release cadence | about 7 days between releases | too few releases |
| Active contributors | 53+ commit authors on the default branch in the last 90 days | 0 commit authors on the default branch in the last 90 days |
| Flags | none | none |
How they relate
Both replace Black. Alternatives to Black →
Drop-inRuffThe formatter is designed as a drop-in replacement for Black.
Full replacementYAPFA configurable style (pep8, google, facebook or your own) instead of a fixed one.
Ruff
✓ signed The latest release, 0.16.10, carries a signature GitHub verified.
Loading the security report
YAPF
unsigned The latest release, v0.43.0, carries no signature GitHub could verify.
Loading the security report