Skip to content

Commit dddd51f

Browse files
authored
INTPYTHON-763 Rename the pymongo-search-utils (#7)
1 parent 4a1886d commit dddd51f

File tree

13 files changed

+17
-17
lines changed

13 files changed

+17
-17
lines changed

.github/workflows/dist.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
run: |
5454
python -m pip install dist/*.gz
5555
cd ..
56-
python -c "from pymongo_vectorsearch_utils import create_vector_search_index"
56+
python -c "from pymongo_search_utils import create_vector_search_index"
5757
5858
- uses: actions/upload-artifact@v4
5959
with:

.github/workflows/release-python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414

1515
env:
1616
# Changes per repo
17-
PRODUCT_NAME: pymongo-vectorsearch-utils
17+
PRODUCT_NAME: pymongo-search-utils
1818
# Constant
1919
# inputs will be empty on a scheduled run. so, we only set dry_run
2020
# to 'false' when the input is set to 'false'.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# pymongo-vectorsearch-utils
1+
# pymongo-search-utils
22

33
A utility library for working with vector search in MongoDB using PyMongo.
File renamed without changes.
File renamed without changes.
File renamed without changes.

pymongo_vectorsearch_utils/operation.py renamed to pymongo_search_utils/operation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
from pymongo import ReplaceOne
88
from pymongo.synchronous.collection import Collection
99

10-
from pymongo_vectorsearch_utils.pipeline import vector_search_stage
11-
from pymongo_vectorsearch_utils.util import oid_to_str, str_to_oid
10+
from pymongo_search_utils.pipeline import vector_search_stage
11+
from pymongo_search_utils.util import oid_to_str, str_to_oid
1212

1313

1414
def bulk_embed_and_insert_texts(
File renamed without changes.
File renamed without changes.

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = ["hatchling"]
33
build-backend = "hatchling.build"
44

55
[project]
6-
name = "pymongo-vectorsearch-utils"
6+
name = "pymongo-search-utils"
77
dynamic = ["version"]
88
description = "Utility library for working with vector search in MongoDB using PyMongo"
99
readme = "README.md"
@@ -29,8 +29,8 @@ dependencies = [
2929
]
3030

3131
[project.urls]
32-
Download = "https://github.com/mongodb-labs/pymongo-vectorsearch-utils/tags"
33-
Homepage = "http://pymongo-vectorsearch-utils.readthedocs.org/"
32+
Download = "https://github.com/mongodb-labs/pymongo-search-utils/tags"
33+
Homepage = "http://pymongo-search-utils.readthedocs.org/"
3434

3535
[dependency-groups]
3636
dev = [
@@ -41,11 +41,11 @@ dev = [
4141
]
4242

4343
[tool.hatch.version]
44-
path = "pymongo_vectorsearch_utils/_version.py"
44+
path = "pymongo_search_utils/_version.py"
4545

4646
[tool.hatch.build.targets.sdist]
4747
include = [
48-
"/pymongo_vectorsearch_utils",
48+
"/pymongo_search_utils",
4949
]
5050

5151

0 commit comments

Comments
 (0)