Comparison
memory-profiler vs memray vs Pympler
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A module for monitoring memory usage of a python program
Low maintenance activity. Last release over 4 years ago, commits in 3 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install memory-profilerA memory profiler for Python applications
Actively maintained. Last release 4 days ago, commits in 18 of the last 26 weeks. A safe choice.
pip install memrayA development tool to measure, monitor and analyze the memory behavior of Python objects.
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install pymplerIn short
- Pympler is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- memray is the most used: 9.8M downloads a month, 1.6× more than Pympler.
- memray also has the best Pythie’s Index (86).
- Safe default for a new project: memray.
Side by side
| Metric | memory-profiler | memray | Pympler |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 29 | Pythie’s Index: 86 | Pythie’s Index: 20 |
| Verdict | Low maintenance activity | Actively maintained | Slowing down |
| Downloads / month | 5.2M | 9.8M | 6M |
| Downloads, month over month | -4% | -15% | +10% |
| GitHub stars | 4.6K | 15.4K | 1.4K |
| Stars, last 7 days | – | – | – |
| Direct dependents | 210 | 22 | 139 |
| Last release | Nov 15, 2022 | Nov 26, 2026 | Jun 28, 2024 |
| Releases, 12 months | 0 | 4 | 0 |
| Weeks with commits | 3 / 26 | 18 / 26 | 0 / 26 |
| Recent contributors | 21 | 16 | 16 |
| First release | Dec 2011 | Apr 2022 | Dec 2008 |
| Python versions | – | 3.9 – 3.15 | 3.6 – 3.12 |
| License | BSD-3-Clause | 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.