Comparison
ffn vs pyfolio vs quantstats
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Financial functions for Python
Actively maintained. Last release 8 weeks ago, commits in 22 of the last 26 weeks. A safe choice.
$
pip install ffnpyfolio is a Python library for performance and risk analysis of financial portfolios
Likely abandoned. No release or commit for years (last release over 7 years ago).
$
pip install pyfolioPortfolio analytics for quants
Maintained. Last release 2 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and contributor spread.
$
pip install quantstatsIn short
- pyfolio looks abandoned: avoid it for new projects.
- quantstats is the most used: 251.9K downloads a month, 3.0× more than ffn.
- ffn is better maintained: Pythie’s Index 91 against 53.
Side by side
| Metric | ffn | pyfolio | quantstats |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 91 | Pythie’s Index: 19 | Pythie’s Index: 53 |
| Verdict | Actively maintained | Likely abandoned | Maintained |
| Downloads / month | 84.5K | 66.5K | 251.9K |
| Downloads, month over month | -11% | +118% | -29% |
| GitHub stars | 2.7K | 6.4K | 7.9K |
| Stars, last 7 days | – | – | – |
| Direct dependents | 8 | 8 | 38 |
| Last release | Oct 10, 2026 | Apr 15, 2019 | Sep 27, 2026 |
| Releases, 12 months | 9 | 0 | 6 |
| Weeks with commits | 22 / 26 | 0 / 26 | 2 / 26 |
| Recent contributors | 10 | 16 | 2 |
| First release | Jun 2014 | Jul 2015 | May 2019 |
| Python versions | 3.9 – 3.13 | 3.4 – 3.5 | 3.10 – 3.13 |
| License | MIT | Apache-2.0 | Apache-2.0 |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.