hubmap-search-sdk 1.0.0a1__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.
- hubmap_search_sdk/__init__.py +94 -0
- hubmap_search_sdk/_base_client.py +1969 -0
- hubmap_search_sdk/_client.py +464 -0
- hubmap_search_sdk/_compat.py +219 -0
- hubmap_search_sdk/_constants.py +14 -0
- hubmap_search_sdk/_exceptions.py +108 -0
- hubmap_search_sdk/_files.py +123 -0
- hubmap_search_sdk/_models.py +804 -0
- hubmap_search_sdk/_qs.py +150 -0
- hubmap_search_sdk/_resource.py +43 -0
- hubmap_search_sdk/_response.py +832 -0
- hubmap_search_sdk/_streaming.py +333 -0
- hubmap_search_sdk/_types.py +217 -0
- hubmap_search_sdk/_utils/__init__.py +57 -0
- hubmap_search_sdk/_utils/_logs.py +25 -0
- hubmap_search_sdk/_utils/_proxy.py +62 -0
- hubmap_search_sdk/_utils/_reflection.py +42 -0
- hubmap_search_sdk/_utils/_streams.py +12 -0
- hubmap_search_sdk/_utils/_sync.py +86 -0
- hubmap_search_sdk/_utils/_transform.py +402 -0
- hubmap_search_sdk/_utils/_typing.py +149 -0
- hubmap_search_sdk/_utils/_utils.py +414 -0
- hubmap_search_sdk/_version.py +4 -0
- hubmap_search_sdk/lib/.keep +4 -0
- hubmap_search_sdk/py.typed +0 -0
- hubmap_search_sdk/resources/__init__.py +145 -0
- hubmap_search_sdk/resources/add.py +367 -0
- hubmap_search_sdk/resources/clear_docs.py +342 -0
- hubmap_search_sdk/resources/indices.py +145 -0
- hubmap_search_sdk/resources/mapping.py +212 -0
- hubmap_search_sdk/resources/mget.py +265 -0
- hubmap_search_sdk/resources/param_search.py +197 -0
- hubmap_search_sdk/resources/reindex.py +164 -0
- hubmap_search_sdk/resources/scroll_search.py +181 -0
- hubmap_search_sdk/resources/search.py +313 -0
- hubmap_search_sdk/resources/update.py +367 -0
- hubmap_search_sdk/types/__init__.py +23 -0
- hubmap_search_sdk/types/add_create_document_params.py +11 -0
- hubmap_search_sdk/types/add_create_document_with_index_params.py +13 -0
- hubmap_search_sdk/types/add_update_document_with_scope_params.py +15 -0
- hubmap_search_sdk/types/index_list_response.py +11 -0
- hubmap_search_sdk/types/mget_retrieve_multiple_by_index_params.py +11 -0
- hubmap_search_sdk/types/mget_retrieve_multiple_params.py +11 -0
- hubmap_search_sdk/types/param_search_execute_params.py +18 -0
- hubmap_search_sdk/types/scroll_search_create_params.py +11 -0
- hubmap_search_sdk/types/search_execute_index_query_params.py +20 -0
- hubmap_search_sdk/types/search_execute_query_params.py +20 -0
- hubmap_search_sdk/types/update_update_document_at_index_params.py +13 -0
- hubmap_search_sdk/types/update_update_document_params.py +11 -0
- hubmap_search_sdk/types/update_update_document_with_scope_params.py +15 -0
- hubmap_search_sdk-1.0.0a1.dist-info/METADATA +355 -0
- hubmap_search_sdk-1.0.0a1.dist-info/RECORD +54 -0
- hubmap_search_sdk-1.0.0a1.dist-info/WHEEL +4 -0
- hubmap_search_sdk-1.0.0a1.dist-info/licenses/LICENSE +7 -0
@@ -0,0 +1,355 @@
|
|
1
|
+
Metadata-Version: 2.3
|
2
|
+
Name: hubmap_search_sdk
|
3
|
+
Version: 1.0.0a1
|
4
|
+
Summary: The official Python library for the hubmap-search-sdk API
|
5
|
+
Project-URL: Homepage, https://github.com/hubmapconsortium/search-python-sdk
|
6
|
+
Project-URL: Repository, https://github.com/hubmapconsortium/search-python-sdk
|
7
|
+
Author-email: Hubmap Search SDK <help@hubmapconsortium.org>
|
8
|
+
License: MIT
|
9
|
+
Classifier: Intended Audience :: Developers
|
10
|
+
Classifier: License :: OSI Approved :: MIT License
|
11
|
+
Classifier: Operating System :: MacOS
|
12
|
+
Classifier: Operating System :: Microsoft :: Windows
|
13
|
+
Classifier: Operating System :: OS Independent
|
14
|
+
Classifier: Operating System :: POSIX
|
15
|
+
Classifier: Operating System :: POSIX :: Linux
|
16
|
+
Classifier: Programming Language :: Python :: 3.8
|
17
|
+
Classifier: Programming Language :: Python :: 3.9
|
18
|
+
Classifier: Programming Language :: Python :: 3.10
|
19
|
+
Classifier: Programming Language :: Python :: 3.11
|
20
|
+
Classifier: Programming Language :: Python :: 3.12
|
21
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
22
|
+
Classifier: Typing :: Typed
|
23
|
+
Requires-Python: >=3.8
|
24
|
+
Requires-Dist: anyio<5,>=3.5.0
|
25
|
+
Requires-Dist: distro<2,>=1.7.0
|
26
|
+
Requires-Dist: httpx<1,>=0.23.0
|
27
|
+
Requires-Dist: pydantic<3,>=1.9.0
|
28
|
+
Requires-Dist: sniffio
|
29
|
+
Requires-Dist: typing-extensions<5,>=4.10
|
30
|
+
Description-Content-Type: text/markdown
|
31
|
+
|
32
|
+
# Hubmap Search SDK Python API library
|
33
|
+
|
34
|
+
[](https://pypi.org/project/hubmap_search_sdk/)
|
35
|
+
|
36
|
+
The Hubmap Search SDK Python library provides convenient access to the Hubmap Search SDK REST API from any Python 3.8+
|
37
|
+
application. The library includes type definitions for all request params and response fields,
|
38
|
+
and offers both synchronous and asynchronous clients powered by [httpx](https://github.com/encode/httpx).
|
39
|
+
|
40
|
+
It is generated with [Stainless](https://www.stainless.com/).
|
41
|
+
|
42
|
+
## Documentation
|
43
|
+
|
44
|
+
The REST API documentation can be found on [docs.hubmapconsortium.org](https://docs.hubmapconsortium.org/clt/generate-manifest.html). The full API of this library can be found in [api.md](https://github.com/hubmapconsortium/search-python-sdk/tree/main/api.md).
|
45
|
+
|
46
|
+
## Installation
|
47
|
+
|
48
|
+
```sh
|
49
|
+
# install from PyPI
|
50
|
+
pip install --pre hubmap_search_sdk
|
51
|
+
```
|
52
|
+
|
53
|
+
## Usage
|
54
|
+
|
55
|
+
The full API of this library can be found in [api.md](https://github.com/hubmapconsortium/search-python-sdk/tree/main/api.md).
|
56
|
+
|
57
|
+
```python
|
58
|
+
from hubmap_search_sdk import HubmapSearchSDK
|
59
|
+
|
60
|
+
client = HubmapSearchSDK(
|
61
|
+
bearer_token="My Bearer Token",
|
62
|
+
)
|
63
|
+
|
64
|
+
indices = client.indices.list()
|
65
|
+
print(indices.indices)
|
66
|
+
```
|
67
|
+
|
68
|
+
## Async usage
|
69
|
+
|
70
|
+
Simply import `AsyncHubmapSearchSDK` instead of `HubmapSearchSDK` and use `await` with each API call:
|
71
|
+
|
72
|
+
```python
|
73
|
+
import asyncio
|
74
|
+
from hubmap_search_sdk import AsyncHubmapSearchSDK
|
75
|
+
|
76
|
+
client = AsyncHubmapSearchSDK(
|
77
|
+
bearer_token="My Bearer Token",
|
78
|
+
)
|
79
|
+
|
80
|
+
|
81
|
+
async def main() -> None:
|
82
|
+
indices = await client.indices.list()
|
83
|
+
print(indices.indices)
|
84
|
+
|
85
|
+
|
86
|
+
asyncio.run(main())
|
87
|
+
```
|
88
|
+
|
89
|
+
Functionality between the synchronous and asynchronous clients is otherwise identical.
|
90
|
+
|
91
|
+
## Using types
|
92
|
+
|
93
|
+
Nested request parameters are [TypedDicts](https://docs.python.org/3/library/typing.html#typing.TypedDict). Responses are [Pydantic models](https://docs.pydantic.dev) which also provide helper methods for things like:
|
94
|
+
|
95
|
+
- Serializing back into JSON, `model.to_json()`
|
96
|
+
- Converting to a dictionary, `model.to_dict()`
|
97
|
+
|
98
|
+
Typed requests and responses provide autocomplete and documentation within your editor. If you would like to see type errors in VS Code to help catch bugs earlier, set `python.analysis.typeCheckingMode` to `basic`.
|
99
|
+
|
100
|
+
## Handling errors
|
101
|
+
|
102
|
+
When the library is unable to connect to the API (for example, due to network connection problems or a timeout), a subclass of `hubmap_search_sdk.APIConnectionError` is raised.
|
103
|
+
|
104
|
+
When the API returns a non-success status code (that is, 4xx or 5xx
|
105
|
+
response), a subclass of `hubmap_search_sdk.APIStatusError` is raised, containing `status_code` and `response` properties.
|
106
|
+
|
107
|
+
All errors inherit from `hubmap_search_sdk.APIError`.
|
108
|
+
|
109
|
+
```python
|
110
|
+
import hubmap_search_sdk
|
111
|
+
from hubmap_search_sdk import HubmapSearchSDK
|
112
|
+
|
113
|
+
client = HubmapSearchSDK()
|
114
|
+
|
115
|
+
try:
|
116
|
+
client.indices.list()
|
117
|
+
except hubmap_search_sdk.APIConnectionError as e:
|
118
|
+
print("The server could not be reached")
|
119
|
+
print(e.__cause__) # an underlying Exception, likely raised within httpx.
|
120
|
+
except hubmap_search_sdk.RateLimitError as e:
|
121
|
+
print("A 429 status code was received; we should back off a bit.")
|
122
|
+
except hubmap_search_sdk.APIStatusError as e:
|
123
|
+
print("Another non-200-range status code was received")
|
124
|
+
print(e.status_code)
|
125
|
+
print(e.response)
|
126
|
+
```
|
127
|
+
|
128
|
+
Error codes are as follows:
|
129
|
+
|
130
|
+
| Status Code | Error Type |
|
131
|
+
| ----------- | -------------------------- |
|
132
|
+
| 400 | `BadRequestError` |
|
133
|
+
| 401 | `AuthenticationError` |
|
134
|
+
| 403 | `PermissionDeniedError` |
|
135
|
+
| 404 | `NotFoundError` |
|
136
|
+
| 422 | `UnprocessableEntityError` |
|
137
|
+
| 429 | `RateLimitError` |
|
138
|
+
| >=500 | `InternalServerError` |
|
139
|
+
| N/A | `APIConnectionError` |
|
140
|
+
|
141
|
+
### Retries
|
142
|
+
|
143
|
+
Certain errors are automatically retried 2 times by default, with a short exponential backoff.
|
144
|
+
Connection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict,
|
145
|
+
429 Rate Limit, and >=500 Internal errors are all retried by default.
|
146
|
+
|
147
|
+
You can use the `max_retries` option to configure or disable retry settings:
|
148
|
+
|
149
|
+
```python
|
150
|
+
from hubmap_search_sdk import HubmapSearchSDK
|
151
|
+
|
152
|
+
# Configure the default for all requests:
|
153
|
+
client = HubmapSearchSDK(
|
154
|
+
# default is 2
|
155
|
+
max_retries=0,
|
156
|
+
)
|
157
|
+
|
158
|
+
# Or, configure per-request:
|
159
|
+
client.with_options(max_retries=5).indices.list()
|
160
|
+
```
|
161
|
+
|
162
|
+
### Timeouts
|
163
|
+
|
164
|
+
By default requests time out after 1 minute. You can configure this with a `timeout` option,
|
165
|
+
which accepts a float or an [`httpx.Timeout`](https://www.python-httpx.org/advanced/#fine-tuning-the-configuration) object:
|
166
|
+
|
167
|
+
```python
|
168
|
+
from hubmap_search_sdk import HubmapSearchSDK
|
169
|
+
|
170
|
+
# Configure the default for all requests:
|
171
|
+
client = HubmapSearchSDK(
|
172
|
+
# 20 seconds (default is 1 minute)
|
173
|
+
timeout=20.0,
|
174
|
+
)
|
175
|
+
|
176
|
+
# More granular control:
|
177
|
+
client = HubmapSearchSDK(
|
178
|
+
timeout=httpx.Timeout(60.0, read=5.0, write=10.0, connect=2.0),
|
179
|
+
)
|
180
|
+
|
181
|
+
# Override per-request:
|
182
|
+
client.with_options(timeout=5.0).indices.list()
|
183
|
+
```
|
184
|
+
|
185
|
+
On timeout, an `APITimeoutError` is thrown.
|
186
|
+
|
187
|
+
Note that requests that time out are [retried twice by default](https://github.com/hubmapconsortium/search-python-sdk/tree/main/#retries).
|
188
|
+
|
189
|
+
## Advanced
|
190
|
+
|
191
|
+
### Logging
|
192
|
+
|
193
|
+
We use the standard library [`logging`](https://docs.python.org/3/library/logging.html) module.
|
194
|
+
|
195
|
+
You can enable logging by setting the environment variable `HUBMAP_SEARCH_SDK_LOG` to `info`.
|
196
|
+
|
197
|
+
```shell
|
198
|
+
$ export HUBMAP_SEARCH_SDK_LOG=info
|
199
|
+
```
|
200
|
+
|
201
|
+
Or to `debug` for more verbose logging.
|
202
|
+
|
203
|
+
### How to tell whether `None` means `null` or missing
|
204
|
+
|
205
|
+
In an API response, a field may be explicitly `null`, or missing entirely; in either case, its value is `None` in this library. You can differentiate the two cases with `.model_fields_set`:
|
206
|
+
|
207
|
+
```py
|
208
|
+
if response.my_field is None:
|
209
|
+
if 'my_field' not in response.model_fields_set:
|
210
|
+
print('Got json like {}, without a "my_field" key present at all.')
|
211
|
+
else:
|
212
|
+
print('Got json like {"my_field": null}.')
|
213
|
+
```
|
214
|
+
|
215
|
+
### Accessing raw response data (e.g. headers)
|
216
|
+
|
217
|
+
The "raw" Response object can be accessed by prefixing `.with_raw_response.` to any HTTP method call, e.g.,
|
218
|
+
|
219
|
+
```py
|
220
|
+
from hubmap_search_sdk import HubmapSearchSDK
|
221
|
+
|
222
|
+
client = HubmapSearchSDK()
|
223
|
+
response = client.indices.with_raw_response.list()
|
224
|
+
print(response.headers.get('X-My-Header'))
|
225
|
+
|
226
|
+
index = response.parse() # get the object that `indices.list()` would have returned
|
227
|
+
print(index.indices)
|
228
|
+
```
|
229
|
+
|
230
|
+
These methods return an [`APIResponse`](https://github.com/hubmapconsortium/search-python-sdk/tree/main/src/hubmap_search_sdk/_response.py) object.
|
231
|
+
|
232
|
+
The async client returns an [`AsyncAPIResponse`](https://github.com/hubmapconsortium/search-python-sdk/tree/main/src/hubmap_search_sdk/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.
|
233
|
+
|
234
|
+
#### `.with_streaming_response`
|
235
|
+
|
236
|
+
The above interface eagerly reads the full response body when you make the request, which may not always be what you want.
|
237
|
+
|
238
|
+
To stream the response body, use `.with_streaming_response` instead, which requires a context manager and only reads the response body once you call `.read()`, `.text()`, `.json()`, `.iter_bytes()`, `.iter_text()`, `.iter_lines()` or `.parse()`. In the async client, these are async methods.
|
239
|
+
|
240
|
+
```python
|
241
|
+
with client.indices.with_streaming_response.list() as response:
|
242
|
+
print(response.headers.get("X-My-Header"))
|
243
|
+
|
244
|
+
for line in response.iter_lines():
|
245
|
+
print(line)
|
246
|
+
```
|
247
|
+
|
248
|
+
The context manager is required so that the response will reliably be closed.
|
249
|
+
|
250
|
+
### Making custom/undocumented requests
|
251
|
+
|
252
|
+
This library is typed for convenient access to the documented API.
|
253
|
+
|
254
|
+
If you need to access undocumented endpoints, params, or response properties, the library can still be used.
|
255
|
+
|
256
|
+
#### Undocumented endpoints
|
257
|
+
|
258
|
+
To make requests to undocumented endpoints, you can make requests using `client.get`, `client.post`, and other
|
259
|
+
http verbs. Options on the client will be respected (such as retries) when making this request.
|
260
|
+
|
261
|
+
```py
|
262
|
+
import httpx
|
263
|
+
|
264
|
+
response = client.post(
|
265
|
+
"/foo",
|
266
|
+
cast_to=httpx.Response,
|
267
|
+
body={"my_param": True},
|
268
|
+
)
|
269
|
+
|
270
|
+
print(response.headers.get("x-foo"))
|
271
|
+
```
|
272
|
+
|
273
|
+
#### Undocumented request params
|
274
|
+
|
275
|
+
If you want to explicitly send an extra param, you can do so with the `extra_query`, `extra_body`, and `extra_headers` request
|
276
|
+
options.
|
277
|
+
|
278
|
+
#### Undocumented response properties
|
279
|
+
|
280
|
+
To access undocumented response properties, you can access the extra fields like `response.unknown_prop`. You
|
281
|
+
can also get all the extra fields on the Pydantic model as a dict with
|
282
|
+
[`response.model_extra`](https://docs.pydantic.dev/latest/api/base_model/#pydantic.BaseModel.model_extra).
|
283
|
+
|
284
|
+
### Configuring the HTTP client
|
285
|
+
|
286
|
+
You can directly override the [httpx client](https://www.python-httpx.org/api/#client) to customize it for your use case, including:
|
287
|
+
|
288
|
+
- Support for [proxies](https://www.python-httpx.org/advanced/proxies/)
|
289
|
+
- Custom [transports](https://www.python-httpx.org/advanced/transports/)
|
290
|
+
- Additional [advanced](https://www.python-httpx.org/advanced/clients/) functionality
|
291
|
+
|
292
|
+
```python
|
293
|
+
import httpx
|
294
|
+
from hubmap_search_sdk import HubmapSearchSDK, DefaultHttpxClient
|
295
|
+
|
296
|
+
client = HubmapSearchSDK(
|
297
|
+
# Or use the `HUBMAP_SEARCH_SDK_BASE_URL` env var
|
298
|
+
base_url="http://my.test.server.example.com:8083",
|
299
|
+
http_client=DefaultHttpxClient(
|
300
|
+
proxy="http://my.test.proxy.example.com",
|
301
|
+
transport=httpx.HTTPTransport(local_address="0.0.0.0"),
|
302
|
+
),
|
303
|
+
)
|
304
|
+
```
|
305
|
+
|
306
|
+
You can also customize the client on a per-request basis by using `with_options()`:
|
307
|
+
|
308
|
+
```python
|
309
|
+
client.with_options(http_client=DefaultHttpxClient(...))
|
310
|
+
```
|
311
|
+
|
312
|
+
### Managing HTTP resources
|
313
|
+
|
314
|
+
By default the library closes underlying HTTP connections whenever the client is [garbage collected](https://docs.python.org/3/reference/datamodel.html#object.__del__). You can manually close the client using the `.close()` method if desired, or with a context manager that closes when exiting.
|
315
|
+
|
316
|
+
```py
|
317
|
+
from hubmap_search_sdk import HubmapSearchSDK
|
318
|
+
|
319
|
+
with HubmapSearchSDK() as client:
|
320
|
+
# make requests here
|
321
|
+
...
|
322
|
+
|
323
|
+
# HTTP client is now closed
|
324
|
+
```
|
325
|
+
|
326
|
+
## Versioning
|
327
|
+
|
328
|
+
This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:
|
329
|
+
|
330
|
+
1. Changes that only affect static types, without breaking runtime behavior.
|
331
|
+
2. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_
|
332
|
+
3. Changes that we do not expect to impact the vast majority of users in practice.
|
333
|
+
|
334
|
+
We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.
|
335
|
+
|
336
|
+
We are keen for your feedback; please open an [issue](https://www.github.com/hubmapconsortium/search-python-sdk/issues) with questions, bugs, or suggestions.
|
337
|
+
|
338
|
+
### Determining the installed version
|
339
|
+
|
340
|
+
If you've upgraded to the latest version but aren't seeing any new features you were expecting then your python environment is likely still using an older version.
|
341
|
+
|
342
|
+
You can determine the version that is being used at runtime with:
|
343
|
+
|
344
|
+
```py
|
345
|
+
import hubmap_search_sdk
|
346
|
+
print(hubmap_search_sdk.__version__)
|
347
|
+
```
|
348
|
+
|
349
|
+
## Requirements
|
350
|
+
|
351
|
+
Python 3.8 or higher.
|
352
|
+
|
353
|
+
## Contributing
|
354
|
+
|
355
|
+
See [the contributing documentation](https://github.com/hubmapconsortium/search-python-sdk/tree/main/./CONTRIBUTING.md).
|
@@ -0,0 +1,54 @@
|
|
1
|
+
hubmap_search_sdk/__init__.py,sha256=eUNBFfdHquxHRjxdtY6YQ0pw-jeQuVT7fm5mtYzB8hY,2545
|
2
|
+
hubmap_search_sdk/_base_client.py,sha256=igIM7x0E4s4sx9L5JZHR-lYleo68KIm8PxqyrGuaxyU,64968
|
3
|
+
hubmap_search_sdk/_client.py,sha256=_B5lY2StPqLRgECImsspnws_3o0WbTfeMwZvhZTLRfo,19485
|
4
|
+
hubmap_search_sdk/_compat.py,sha256=VWemUKbj6DDkQ-O4baSpHVLJafotzeXmCQGJugfVTIw,6580
|
5
|
+
hubmap_search_sdk/_constants.py,sha256=S14PFzyN9-I31wiV7SmIlL5Ga0MLHxdvegInGdXH7tM,462
|
6
|
+
hubmap_search_sdk/_exceptions.py,sha256=TSu_vsDWiUzuD0Dfn2RJxjxeGl4RJBR2Sblmd-0cGho,3238
|
7
|
+
hubmap_search_sdk/_files.py,sha256=mf4dOgL4b0ryyZlbqLhggD3GVgDf6XxdGFAgce01ugE,3549
|
8
|
+
hubmap_search_sdk/_models.py,sha256=Bg-k8-T1kDWURAYXrbDF5FSAyLEy7k90Jrvne-dF4Wc,29070
|
9
|
+
hubmap_search_sdk/_qs.py,sha256=AOkSz4rHtK4YI3ZU_kzea-zpwBUgEY8WniGmTPyEimc,4846
|
10
|
+
hubmap_search_sdk/_resource.py,sha256=z9CsPEtCJP9np1GfCrGKkqUmlGd10QdY9ZtINq4vyIs,1154
|
11
|
+
hubmap_search_sdk/_response.py,sha256=V9jyjwgBvmdB9MqltIZFs4gLcdbj1MmLdhwS-ILkBSk,28881
|
12
|
+
hubmap_search_sdk/_streaming.py,sha256=Anm1GDFtbRi3IL4NaaajTXDlwv75_Rm-bi6TD_0tSxU,10136
|
13
|
+
hubmap_search_sdk/_types.py,sha256=Xxqpn7vIdO1HG3-TJaQdHFEI1etNZxdSS3QOOeakw0A,6154
|
14
|
+
hubmap_search_sdk/_version.py,sha256=l1ee3X3YOUwHDne6K0B2J6w8GP6H49gzeptXUjocexg,177
|
15
|
+
hubmap_search_sdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
16
|
+
hubmap_search_sdk/_utils/__init__.py,sha256=PNZ_QJuzZEgyYXqkO1HVhGkj5IU9bglVUcw7H-Knjzw,2062
|
17
|
+
hubmap_search_sdk/_utils/_logs.py,sha256=vEolshfk2D36E9yV2JC0vIbMfBmiM-lIAw-ledyLVVI,807
|
18
|
+
hubmap_search_sdk/_utils/_proxy.py,sha256=z3zsateHtb0EARTWKk8QZNHfPkqJbqwd1lM993LBwGE,1902
|
19
|
+
hubmap_search_sdk/_utils/_reflection.py,sha256=ZmGkIgT_PuwedyNBrrKGbxoWtkpytJNU1uU4QHnmEMU,1364
|
20
|
+
hubmap_search_sdk/_utils/_streams.py,sha256=SMC90diFFecpEg_zgDRVbdR3hSEIgVVij4taD-noMLM,289
|
21
|
+
hubmap_search_sdk/_utils/_sync.py,sha256=TpGLrrhRNWTJtODNE6Fup3_k7zrWm1j2RlirzBwre-0,2862
|
22
|
+
hubmap_search_sdk/_utils/_transform.py,sha256=asrbdx4Pf5NupzaB8QdEjypW_DgHjjkpswHT0Jum4S0,13987
|
23
|
+
hubmap_search_sdk/_utils/_typing.py,sha256=nTJz0jcrQbEgxwy4TtAkNxuU0QHHlmc6mQtA6vIR8tg,4501
|
24
|
+
hubmap_search_sdk/_utils/_utils.py,sha256=8UmbPOy_AAr2uUjjFui-VZSrVBHRj6bfNEKRp5YZP2A,12004
|
25
|
+
hubmap_search_sdk/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
|
26
|
+
hubmap_search_sdk/resources/__init__.py,sha256=in53qeBTsjQ4j4Gy2lRL9ptQbjduHnnROAmu6IbragQ,4761
|
27
|
+
hubmap_search_sdk/resources/add.py,sha256=PYknHcgJRZTfwB4DVu2EmOreQ6TtdAX37vDYwnRQASc,14304
|
28
|
+
hubmap_search_sdk/resources/clear_docs.py,sha256=AVGciD1yMMzVFl6qhClqRQ577KqWMaGpvgFoKXF4nYI,13287
|
29
|
+
hubmap_search_sdk/resources/indices.py,sha256=-MvJfXZX7LGDJA1IR_zZwYgssbETKd0lCTP8ujsQifI,5347
|
30
|
+
hubmap_search_sdk/resources/mapping.py,sha256=awjJkfSAiGA5U4HvQKTtlTk2C12wAHGnZT0ACsWLK7w,8095
|
31
|
+
hubmap_search_sdk/resources/mget.py,sha256=iCrx34QHJqSZg74k94Wmf38jBTUkZ6SN4xjusRA_Gkc,10636
|
32
|
+
hubmap_search_sdk/resources/param_search.py,sha256=SEEmGM2DrUhL7yGucxqOo-LeBbzHBlTu6UhGq4BkLmE,7984
|
33
|
+
hubmap_search_sdk/resources/reindex.py,sha256=lNCNQkvzyvENMMCxQzmn8Dy-d364tN7KIahfv0KhnQM,5971
|
34
|
+
hubmap_search_sdk/resources/scroll_search.py,sha256=xC_hZRlqYDgH310I_sSGnduEw7IBL1OE5Xy88NMlUxk,7064
|
35
|
+
hubmap_search_sdk/resources/search.py,sha256=FJguv91ED8igVa87r_yG5UJ6HXV6eKcm8tgI65kOT_Q,13071
|
36
|
+
hubmap_search_sdk/resources/update.py,sha256=tQ4CRYi_lvZ4kihDaHKAKdym4iRiigW2AYawReYGfP0,14469
|
37
|
+
hubmap_search_sdk/types/__init__.py,sha256=ZdTuvNr3rYL5PZq_w2tTDI2KmPsFRGRBWg09qNhdFAA,1520
|
38
|
+
hubmap_search_sdk/types/add_create_document_params.py,sha256=8xti5XGKIJOMavBOjlI1qvl0E75CC-9YvMPIqnmBANk,296
|
39
|
+
hubmap_search_sdk/types/add_create_document_with_index_params.py,sha256=Ge4KWrTOw3i0cHGWPRY3uaKnIlF5OQawUq8asZJhigI,339
|
40
|
+
hubmap_search_sdk/types/add_update_document_with_scope_params.py,sha256=XB_seJVZjRDgpVzcsmQKJNHOkLykdSY4YZUPGRx_J2Y,365
|
41
|
+
hubmap_search_sdk/types/index_list_response.py,sha256=I98C_5Nf3M8EGKr_8-pbc3TAGhuJ-slR01eQv1B-CUc,265
|
42
|
+
hubmap_search_sdk/types/mget_retrieve_multiple_by_index_params.py,sha256=0Iy4HdkmJARvYWxJliMycw6vfBK89DnRa0EpNULzDPA,316
|
43
|
+
hubmap_search_sdk/types/mget_retrieve_multiple_params.py,sha256=hbc_-mZEXmxpNLOTdPulAw1sDRC8b24xacYbaAzSCis,302
|
44
|
+
hubmap_search_sdk/types/param_search_execute_params.py,sha256=DcRJxEb6elfCsIpDJ2Kncfut21SfwE-IZA0qKqhtF9o,616
|
45
|
+
hubmap_search_sdk/types/scroll_search_create_params.py,sha256=ahpdwN-Uyc_3o_W8e5FMDOiwkjftu1K1663fdP3k598,298
|
46
|
+
hubmap_search_sdk/types/search_execute_index_query_params.py,sha256=mS5kqYkiS4IXF33O9tmvwmb1PRXLUOlQJs9APtkAEQM,664
|
47
|
+
hubmap_search_sdk/types/search_execute_query_params.py,sha256=La2udYbqLYPTzIRJttGOe_ZZEhQHo0B4uYsRIF3cuMo,654
|
48
|
+
hubmap_search_sdk/types/update_update_document_at_index_params.py,sha256=F6bL-5xzqfI1ClajCan9M2pWhKyP2qFENNXHE1unj54,341
|
49
|
+
hubmap_search_sdk/types/update_update_document_params.py,sha256=LM65ha6n6USOen2DqlL8R0N8APX9uAduWzqReXqJWOI,302
|
50
|
+
hubmap_search_sdk/types/update_update_document_with_scope_params.py,sha256=3Se48DT25C8gP_yvEoYWMg0whAD9qWPWMQH1rpvg8Zc,371
|
51
|
+
hubmap_search_sdk-1.0.0a1.dist-info/METADATA,sha256=vuA8OdTro0wFfHwIcMLc22zr9efQFa9Tyc74cCS8K-I,12673
|
52
|
+
hubmap_search_sdk-1.0.0a1.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
53
|
+
hubmap_search_sdk-1.0.0a1.dist-info/licenses/LICENSE,sha256=lLxIB8m5gVPdScdg81tBYiNbRkVgIBWcmAN1yJwrOME,1057
|
54
|
+
hubmap_search_sdk-1.0.0a1.dist-info/RECORD,,
|
@@ -0,0 +1,7 @@
|
|
1
|
+
Copyright 2025 hubmap-search-sdk
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
4
|
+
|
5
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
6
|
+
|
7
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|