Comparison
cwcwidth vs wcwidth
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Python bindings for wc(s)width
Maintained. Last release 2 weeks ago, commits in 4 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install cwcwidthMeasures the displayed width of unicode strings in a terminal
Actively maintained. Last release 9 days ago, commits in 15 of the last 26 weeks. A safe choice.
$
pip install wcwidthIn short
- wcwidth is the most used: 298.1M downloads a month, 535× more than cwcwidth.
- wcwidth also has the best Pythie’s Index (85).
- cwcwidth is growing fastest: downloads +35% over the last month.
- Safe default for a new project: wcwidth.