Comparison
cidr-trie vs py-radix vs pytricia vs radixtarget
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Store/search CIDR prefixes in a trie structure.
Likely abandoned. No release or commit for years (last release over 7 years ago).
pip install cidr-trieRadix tree implementation
Low maintenance activity. Last release 12 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and issue handling.
pip install py-radixAn efficient IP address storage and lookup module 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 pytriciaFast radix tree for IP addresses and DNS names
Actively maintained. Last release 4 weeks ago, commits in 6 of the last 26 weeks. A safe choice.
pip install radixtargetIn short
- cidr-trie looks abandoned: avoid it for new projects.
- pytricia is the most used: 166.1K downloads a month.
- radixtarget is better maintained: Pythie’s Index 80 against 22.
- radixtarget is growing fastest: downloads +124% over the last month.
Side by side
| Metric | cidr-trie | py-radix | pytricia | radixtarget |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 11 | 32 |