Comparison
devtools vs icecream vs objprint vs prettyprinter
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Python's missing debug print command, and more.
Maintained. Last release 7 weeks ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install devtoolsNever use print() to debug again: inspect variables, expressions, and program execution with a single, simple function call.
Maintained. Last release 8 months ago, commits in 10 of the last 26 weeks.
pip install icecreamA library that can print Python objects in human readable format
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install objprintSyntax-highlighting, declarative and composable pretty printer for Python 3.5+
Likely abandoned. No release or commit for years (last release over 7 years ago).
pip install prettyprinterIn short
- objprint is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- prettyprinter looks abandoned: avoid it for new projects.
- devtools is the most used: 3.5M downloads a month, 2.2× more than objprint.
- icecream is better maintained: Pythie’s Index 63 against 45.
Side by side
| Metric | devtools | icecream | objprint | prettyprinter |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 45 | 63 |