Comparison
kdtree vs pykdtree vs pyroots vs scipy
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A Python implementation of a kd-tree
Maintained. Last release 3 weeks ago, commits in 4 of the last 26 weeks. Weaker on commit activity and security practices.
pip install kdtreeFast kd-tree implementation with OpenMP-enabled queries
Low maintenance activity. Last release 16 months ago, commits in 4 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install pykdtreePure python single variable function solvers
Likely abandoned. No release or commit for years (last release over 6 years ago).
pip install pyrootsFundamental algorithms for scientific computing in Python
Actively maintained. Last release 3 months ago, commits in 26 of the last 26 weeks. A safe choice.
pip install scipyIn short
- pyroots looks abandoned: avoid it for new projects.
- scipy is the most used: 427.8M downloads a month, 1429× more than pykdtree.
- scipy also has the best Pythie’s Index (86).
- pykdtree is growing fastest: downloads +49% over the last month.
- Safe default for a new project: scipy.