Comparison
publicsuffix2 vs publicsuffixlist
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Get a public suffix for a domain name using the Public Suffix List. Forked from and using the same API as the publicsuffix package.
Likely abandoned. No release or commit for years (last release over 6 years ago).
$
pip install publicsuffix2publicsuffixlist implement
Maintained. Last release 1 day ago, commits in 4 of the last 26 weeks. Weaker on commit activity and contributor spread.
$
pip install publicsuffixlistIn short
- publicsuffix2 looks abandoned: avoid it for new projects.
- publicsuffixlist is the most used: 7.1M downloads a month.
- publicsuffixlist also has the best Pythie’s Index (61).
- publicsuffixlist is growing fastest: downloads +83% over the last month.
- Safe default for a new project: publicsuffixlist.
Side by side
| Metric | publicsuffix2 | publicsuffixlist |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 21 | 61 |