Comparison
datrie vs marisa-trie vs pygtrie
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Super-fast, efficiently stored Trie for Python.
Low maintenance activity. Last release 15 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install datrieStatic memory-efficient and fast Trie-like structures for Python.
Maintained. Last release today, 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 pygtrieIn short
- pygtrie is the most used: 5.7M 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 +13% over the last month.
Side by side
| Metric | datrie | marisa-trie | pygtrie |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 32 | 60 |