skillfed

pymongo-search-utils

Utility library for working with vector search in MongoDB using PyMongo

pymongo-search-utils v0.3.0 617.9K downloads/30d#5,736 on PyPI1
Permissive license Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for… (full text in the JSON record) Active released

What it is and what it does

This package is a utility library that wraps common vector search operations for MongoDB, designed to reduce boilerplate when working with vector embeddings and similarity queries through PyMongo. It sits between your application and PyMongo, providing helper functions and abstractions for vector search workflows.

The library targets developers building applications that rely on MongoDB's vector search capabilities—such as semantic search, recommendation systems, or retrieval-augmented generation (RAG) pipelines. It depends only on pymongo and supports current Python versions (3.10 through 3.14), making it straightforward to integrate into existing PyMongo-based projects with minimal additional dependencies.

Use it for:

  • Building semantic search features that query MongoDB collections by vector similarity rather than keyword matching.
  • Simplifying vector embedding workflows in RAG systems that store and retrieve document embeddings from MongoDB.
  • Reducing boilerplate code when implementing recommendation engines that rely on vector distance calculations.
  • Integrating vector search into data pipelines that already use PyMongo for MongoDB operations.
  • Prototyping or developing applications that combine traditional MongoDB queries with vector-based similarity search.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides utility functions for vector search operations in MongoDB using PyMongo, simplifying the integration of vector-based queries with MongoDB collections.

Yes, if you are already using PyMongo and need vector search functionality in MongoDB. The package has low install friction, permissive licensing, active maintenance, and no known vulnerabilities. However, adoption is still limited (top 15000 tier), so verify that its API surface and feature set match your specific vector search requirements before committing to production use.

Install

pymongo-search-utils on PyPI

pip

pip install pymongo-search-utils

uv

uv add pymongo-search-utils

poetry

poetry add pymongo-search-utils

Installing pymongo-search-utils

Before you install

Low install friction with a single runtime dependency (pymongo). The package is actively maintained with recent commits and supports modern Python versions (3.10–3.14), though it remains early-stage with limited adoption.

License in practice

Licensed under Apache License 2.0, a permissive open-source license that allows commercial use, modification, and distribution with minimal restrictions—suitable for most production and proprietary projects.

Quickstart

pip install pymongo-search-utils

from pymongo_search_utils import ...
# Use vector search utilities with your PyMongo client and collections

Requires Python 3.10 or later and an active MongoDB instance with PyMongo configured.

Verify before relying

  • What specific vector search utilities or helper functions does the package expose—e.g., query builders, result processors, or embedding handlers?
  • Does the package support specific vector search features like Atlas Vector Search, or is it agnostic to the underlying MongoDB vector implementation?
  • What is the scope of the API surface and typical usage patterns beyond basic vector queries?

Package facts

License Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for… (full text in the JSON record) (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 1 — pymongo
Maintenance actively maintained — 192 days since the last release
Last repo commit
First released
Downloads 617,930/month — #5,736 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: pymongo_search_utils-0.3.0-py3-none-any.whl

Intended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Libraries :: Python Modules

Tags

mongodb vector search utilitiespymongo vector search helpersmongodb semantic searchvector database operationsmongodb similarity searchembedding search mongodbpymongo search utilities
vector-searchmongodbembeddings

More Python Modules packages