pymongo-search-utils
Utility library for working with vector search in MongoDB using PyMongo
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-utilsuv
uv add pymongo-search-utilspoetry
poetry add pymongo-search-utilsInstalling 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
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
langchain-mongodbConnects MongoDB Atlas Vector Search to…
unclear · top 5,000 on PyPI
mongo-query-matchProvides a MongoDB-like query language for…
unclear · top 15,000 on PyPI
pymongoPyMongo is the official MongoDB Python driver,…
permissive · top 1,000 on PyPI
Flask-PyMongoFlask-PyMongo integrates MongoDB database…
permissive · top 15,000 on PyPI
pymongoexplainWraps PyMongo's Collection class to explain…
permissive · top 15,000 on PyPI
sqlite-vecsqlite-vec adds vector search capabilities to…
permissive · top 5,000 on PyPI
mongomockMongomock provides an in-memory mock of MongoDB…
permissive · top 5,000 on PyPI
zhinst-utilsProvides helper functions and device-specific…
permissive · top 15,000 on PyPI
llama-index-vector-stores-faissIntegrates FAISS vector storage with LlamaIndex…
permissive · top 15,000 on PyPI
astrapyAstraPy is a Python client library for DataStax…
permissive · top 15,000 on PyPI