Skip to content

SimilariPy Logo

PyPI version Docs Build and Test Publish to PyPI Docs Status Python versions License DOI

Welcome to SimilariPy’s documentation!

SimilariPy is a Python package that provides high-performance KNN similarity and normalization functions, optimized for sparse matrices.


🔥 Why SimilariPy?

  • Fast: powered by Cython and OpenMP for fast parallel execution
  • Sparse matrix focus: optimized for Scipy CSR/COO formats
  • Wide similarity coverage: Dot Product, Cosine, Tversky, P3α, RP3β, and more
  • Flexible normalization: includes L1, L2, TF-IDF, BM25, BM25+

📚 Guide