Comparison
marisa-trie vs pygtrie vs sqltrie
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Static memory-efficient and fast Trie-like structures for Python.
Maintained. Last release 1 day ago, commits in 3 of the last 26 weeks. Weaker on commit activity and contributor spread.
$
pip install marisa-trieA pure Python trie data structure implementation.
Maintained. Last release 3 months ago, commits in 3 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install pygtrieSQL-based prefix tree inspired by pygtrie and python-diskcache
Maintained. Last release 5 days ago, commits in 0 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install sqltrieIn short
- pygtrie is the most used: 5.8M downloads a month, 1.6× more than marisa-trie.
- marisa-trie is better maintained: Pythie’s Index 60 against 47.
- marisa-trie is growing fastest: downloads +18% over the last month.
Side by side
| Metric | marisa-trie | pygtrie | sqltrie |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 60 | 47 |