meilisearch-python-sdk 5.1.0__py3-none-any.whl → 5.3.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of meilisearch-python-sdk might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: meilisearch-python-sdk
3
- Version: 5.1.0
3
+ Version: 5.3.0
4
4
  Summary: A Python client providing both async and sync support for the Meilisearch API
5
5
  Project-URL: repository, https://github.com/sanders41/meilisearch-python-sdk
6
6
  Project-URL: homepage, https://github.com/sanders41/meilisearch-python-sdk
@@ -122,15 +122,15 @@ async with AsyncClient('http://127.0.0.1:7700', 'masterKey') as client:
122
122
  ```py
123
123
  from meilisearch_python_sdk import Client
124
124
 
125
- client = Client('http://127.0.0.1:7700', 'masterKey')
126
- index = client.index("books")
125
+ with Client('http://127.0.0.1:7700', 'masterKey') as client:
126
+ index = client.index("books")
127
127
 
128
- documents = [
129
- {"id": 1, "title": "Ready Player One"},
130
- {"id": 42, "title": "The Hitchhiker's Guide to the Galaxy"},
131
- ]
128
+ documents = [
129
+ {"id": 1, "title": "Ready Player One"},
130
+ {"id": 42, "title": "The Hitchhiker's Guide to the Galaxy"},
131
+ ]
132
132
 
133
- index.add_documents(documents)
133
+ index.add_documents(documents)
134
134
  ```
135
135
 
136
136
  The server will return an update id that can be used to
@@ -252,7 +252,7 @@ Meilisearch takes to index the documents since that is outside of the library fu
252
252
 
253
253
  ![Add Documents in Batches](https://raw.githubusercontent.com/sanders41/meilisearch-python-sdk/main/assets/add_in_batches.png)
254
254
 
255
- ### Muiltiple Searches
255
+ ### Multiple Searches
256
256
 
257
257
  This test compares how long it takes to complete 1000 searches (lower is better)
258
258
 
@@ -1,13 +1,13 @@
1
1
  meilisearch_python_sdk/__init__.py,sha256=SB0Jlm6FwT13J9xasZKseZzTWBk0hkfe1CWyWmIIZnE,258
2
2
  meilisearch_python_sdk/_batch.py,sha256=Hbt-M8Lt8ZDZqcKToUMzUd5zvT-gku709er4pRlvXWk,5065
3
- meilisearch_python_sdk/_client.py,sha256=HA0FdvsVGAHhUt6mVB-sK03bIzVivN7ProcimeQdgjQ,90624
3
+ meilisearch_python_sdk/_client.py,sha256=wDGeki-lZx9IHQhtkN5JY4Z_W0K7c2MnR7q0tvSfCZU,91504
4
4
  meilisearch_python_sdk/_http_requests.py,sha256=9NMTKrJDFpdWZKPLNGlRQ54EtqhPXlhov3EoeR3VrwU,6773
5
- meilisearch_python_sdk/_task.py,sha256=QgVcqMlZdURRS_oYpB_bTBa5dvT3Sp_-O0-s6TqAxHk,12485
5
+ meilisearch_python_sdk/_task.py,sha256=vZuBozL0qQDJBwEGgq6mrmYjJPBNi_NzCMk_uql0tsA,12485
6
6
  meilisearch_python_sdk/_utils.py,sha256=NoCDxJPhjABeuSxFTNCih585UDWdXEUBD_FvdgtScQw,1539
7
- meilisearch_python_sdk/_version.py,sha256=n65_AMV9xWnAAWXLUYz_Z2Q1OdGU8iqZ-dRAydz390w,18
8
- meilisearch_python_sdk/decorators.py,sha256=xtG-ptJkVbPlbC1hJQ6dPgPYqU27VluGwL_CTJuIq3I,8701
7
+ meilisearch_python_sdk/_version.py,sha256=CiZ4Q0e8bsMieE5CwowPjU5odGERRC1IIpiMtSINDUg,18
8
+ meilisearch_python_sdk/decorators.py,sha256=6v630usrbHS8KFxgEI1U_STo3QWDnwGzOnbq7NPGp_0,8703
9
9
  meilisearch_python_sdk/errors.py,sha256=RNNHXtXLBiCVZaLM2MeKKs9RbRuE-SLRttiPeVAEXgA,2133
10
- meilisearch_python_sdk/index.py,sha256=CI4K_G997MmMnGR3U-oe3OzvROpzMbibfVHFZjHwKkA,351125
10
+ meilisearch_python_sdk/index.py,sha256=jK0a73goCup_V1jMZ6MlrmaAlrp_MGCe-q-zRfP9gko,352995
11
11
  meilisearch_python_sdk/json_handler.py,sha256=c1rGKzYlE0dGfLygQjPqVUNfQkN1JvafBGmIx31JW8g,2044
12
12
  meilisearch_python_sdk/plugins.py,sha256=YySzTuVr4IrogTgrP8q-gZPsew8TwedopjWnTj5eV48,3607
13
13
  meilisearch_python_sdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -23,7 +23,7 @@ meilisearch_python_sdk/models/settings.py,sha256=eh0xnro4D_sj8ck2nifa3tBdf2_7RcZ
23
23
  meilisearch_python_sdk/models/task.py,sha256=JVYF46ylD-XwqVVNq2offhLOkljaGxPyRVuF6PwLOBU,2174
24
24
  meilisearch_python_sdk/models/version.py,sha256=ISU-ZHgpXLBFDuMpWWfKdVo9Dq1HcD7s6HFnCiGTF8Y,184
25
25
  meilisearch_python_sdk/models/webhook.py,sha256=zSkEJJdEflinW3_seJTLQ_ZWs4w-pjTD3SS1ZawC32k,455
26
- meilisearch_python_sdk-5.1.0.dist-info/METADATA,sha256=WJgG0U-GzXz7ubBm6oY62PtSdbFlHBrwdgBjFfdTolg,9699
27
- meilisearch_python_sdk-5.1.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
28
- meilisearch_python_sdk-5.1.0.dist-info/licenses/LICENSE,sha256=xVzevI1TrlKfM0plmJ7vfK1Muu0V9n-dGE8RnDrOFlM,1069
29
- meilisearch_python_sdk-5.1.0.dist-info/RECORD,,
26
+ meilisearch_python_sdk-5.3.0.dist-info/METADATA,sha256=jvCbYsvySP6BLzw40o1K_b4QCpzkynEf1wI96L9gI6Q,9729
27
+ meilisearch_python_sdk-5.3.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
28
+ meilisearch_python_sdk-5.3.0.dist-info/licenses/LICENSE,sha256=xVzevI1TrlKfM0plmJ7vfK1Muu0V9n-dGE8RnDrOFlM,1069
29
+ meilisearch_python_sdk-5.3.0.dist-info/RECORD,,