Comparison
datrie vs pygtrie vs PyTrie vs sqltrie
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 datrieA 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 pygtrieA 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 pytrieSQL-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, 3.2× more than sqltrie.
- Maintenance is comparable: pygtrie 47, sqltrie 47, datrie 32, PyTrie 17 on Pythie’s Index.
- PyTrie is growing fastest: downloads +15% over the last month.