Compare
| autopep8 | Black | Ruff | YAPF | |
|---|---|---|---|---|
| What it is | Automatically reformats Python code to follow the PEP 8 style guide | The uncompromising Python code formatter: one deterministic style, no configuration debates | An extremely fast Python linter and code formatter, written in Rust | Configurable Python code formatter based on clang-format's algorithm |
| Kind | Open source | Open source | Open source | Open source |
| Trust | 0.40 | 0.80 | 0.83 | 0.20 |
| Stars | 4651 | 42210 | 51403 | 13987 |
| Last commit | 2026-07-06 | 2026-11-20 | 2026-11-24 | 2025-02-10 |
| Licence | MIT | MIT | MIT | Apache-2.0 |
| Pricing | Free and open source | Free and open source | Free and open source | Free and open source |
| Free tier | Yes | Yes | Yes | Yes |
| Self-hostable | — | — | — | — |
| Ways to run it | — | — | — | — |
| SOC 2 | — | — | — | — |
| HIPAA | — | — | — | — |
| SSO | — | — | — | — |
| API | — | — | — | — |
| Plugins | — | — | — | — |
| MCP server | — | — | — | — |
| Company | Hideo Hattori | Python Software Foundation non-profit | Astral Series B | Google public company (NASDAQ:GOOGL) |
| Features |
|
|
|
|
| Limitations |
|
|