Comparison
datrie vs marisa-trie vs PyTrie
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 8 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install marisa-trieA pure Python implementation of the trie data structure.
Low maintenance activity. Last release over 6 years ago, commits in 1 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install pytrieIn short
- marisa-trie is the most used: 3.6M downloads a month, 29× more than datrie.
- marisa-trie also has the best Pythie’s Index (47).
- marisa-trie is growing fastest: downloads +13% over the last month.
Side by side
| Metric | datrie | marisa-trie | PyTrie |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 33 | 47 |