Comparison
datrie vs pygtrie 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 pygtrieSQL-based prefix tree inspired by pygtrie and python-diskcache
Maintained. Last release 4 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.7M downloads a month, 3.3× more than sqltrie.
- Maintenance is comparable: pygtrie 47, sqltrie 47, datrie 33 on Pythie’s Index.
- datrie is growing fastest: downloads +10% over the last month.