mixpeek 0.8.2__py3-none-any.whl → 0.8.3__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.
Files changed (86) hide show
  1. mixpeek-0.8.3.dist-info/METADATA +356 -0
  2. mixpeek-0.8.3.dist-info/RECORD +73 -0
  3. {mixpeek-0.8.2.dist-info → mixpeek-0.8.3.dist-info}/WHEEL +1 -2
  4. mixpeek-0.8.3.dist-info/licenses/LICENSE +201 -0
  5. mixpeek_sdk/__init__.py +93 -0
  6. mixpeek_sdk/_base_client.py +2041 -0
  7. mixpeek_sdk/_client.py +444 -0
  8. mixpeek_sdk/_compat.py +219 -0
  9. mixpeek_sdk/_constants.py +14 -0
  10. mixpeek_sdk/_exceptions.py +108 -0
  11. mixpeek_sdk/_files.py +123 -0
  12. mixpeek_sdk/_models.py +785 -0
  13. mixpeek_sdk/_qs.py +150 -0
  14. mixpeek_sdk/_resource.py +43 -0
  15. mixpeek_sdk/_response.py +826 -0
  16. mixpeek_sdk/_streaming.py +333 -0
  17. mixpeek_sdk/_types.py +217 -0
  18. mixpeek_sdk/_utils/__init__.py +55 -0
  19. mixpeek_sdk/_utils/_logs.py +25 -0
  20. mixpeek_sdk/_utils/_proxy.py +62 -0
  21. mixpeek_sdk/_utils/_reflection.py +42 -0
  22. mixpeek_sdk/_utils/_streams.py +12 -0
  23. mixpeek_sdk/_utils/_sync.py +81 -0
  24. mixpeek_sdk/_utils/_transform.py +382 -0
  25. mixpeek_sdk/_utils/_typing.py +120 -0
  26. mixpeek_sdk/_utils/_utils.py +397 -0
  27. mixpeek_sdk/_version.py +4 -0
  28. mixpeek_sdk/lib/.keep +4 -0
  29. mixpeek_sdk/resources/__init__.py +159 -0
  30. mixpeek_sdk/resources/accounts/__init__.py +33 -0
  31. mixpeek_sdk/resources/accounts/accounts.py +102 -0
  32. mixpeek_sdk/resources/accounts/private.py +232 -0
  33. mixpeek_sdk/resources/agent/__init__.py +33 -0
  34. mixpeek_sdk/resources/agent/agent.py +225 -0
  35. mixpeek_sdk/resources/agent/task.py +189 -0
  36. mixpeek_sdk/resources/collections/__init__.py +33 -0
  37. mixpeek_sdk/resources/collections/collections.py +459 -0
  38. mixpeek_sdk/resources/collections/files.py +679 -0
  39. mixpeek_sdk/resources/describe.py +338 -0
  40. mixpeek_sdk/resources/embed.py +234 -0
  41. mixpeek_sdk/resources/index.py +506 -0
  42. mixpeek_sdk/resources/read.py +183 -0
  43. mixpeek_sdk/resources/recognize.py +183 -0
  44. mixpeek_sdk/resources/search.py +542 -0
  45. mixpeek_sdk/resources/tasks.py +294 -0
  46. mixpeek_sdk/resources/transcribe.py +192 -0
  47. mixpeek_sdk/types/__init__.py +19 -0
  48. mixpeek_sdk/types/accounts/__init__.py +6 -0
  49. mixpeek_sdk/types/accounts/private_update_params.py +25 -0
  50. mixpeek_sdk/types/accounts/user.py +32 -0
  51. mixpeek_sdk/types/agent/__init__.py +3 -0
  52. mixpeek_sdk/types/agent_create_params.py +18 -0
  53. mixpeek_sdk/types/agentresponse.py +11 -0
  54. mixpeek_sdk/types/collection_search_params.py +29 -0
  55. mixpeek_sdk/types/collections/__init__.py +9 -0
  56. mixpeek_sdk/types/collections/file_create_params.py +31 -0
  57. mixpeek_sdk/types/collections/file_full_params.py +22 -0
  58. mixpeek_sdk/types/collections/file_update_params.py +18 -0
  59. mixpeek_sdk/types/collections/fileresponse.py +23 -0
  60. mixpeek_sdk/types/collections/groupedfiledata.py +38 -0
  61. mixpeek_sdk/types/describe_upload_params.py +21 -0
  62. mixpeek_sdk/types/describe_url_params.py +20 -0
  63. mixpeek_sdk/types/embed_create_params.py +29 -0
  64. mixpeek_sdk/types/embeddingresponse.py +15 -0
  65. mixpeek_sdk/types/index_face_params.py +23 -0
  66. mixpeek_sdk/types/index_upload_params.py +27 -0
  67. mixpeek_sdk/types/index_url_params.py +159 -0
  68. mixpeek_sdk/types/search_text_params.py +45 -0
  69. mixpeek_sdk/types/search_upload_params.py +25 -0
  70. mixpeek_sdk/types/search_url_params.py +45 -0
  71. mixpeek_sdk/types/taskresponse.py +15 -0
  72. mixpeek_sdk/types/transcribe_url_params.py +18 -0
  73. mixpeek/__init__.py +0 -1
  74. mixpeek/client.py +0 -27
  75. mixpeek/endpoints/collections.py +0 -86
  76. mixpeek/endpoints/embed.py +0 -66
  77. mixpeek/endpoints/index.py +0 -51
  78. mixpeek/endpoints/register.py +0 -34
  79. mixpeek/endpoints/search.py +0 -67
  80. mixpeek/endpoints/tasks.py +0 -26
  81. mixpeek/endpoints/tools.py +0 -138
  82. mixpeek/exceptions.py +0 -13
  83. mixpeek-0.8.2.dist-info/METADATA +0 -375
  84. mixpeek-0.8.2.dist-info/RECORD +0 -15
  85. mixpeek-0.8.2.dist-info/top_level.txt +0 -1
  86. /mixpeek/endpoints/__init__.py → /mixpeek_sdk/py.typed +0 -0
@@ -0,0 +1,356 @@
1
+ Metadata-Version: 2.3
2
+ Name: mixpeek
3
+ Version: 0.8.3
4
+ Summary: The official Python library for the mixpeek-sdk API
5
+ Project-URL: Homepage, https://github.com/mixpeek/python-client
6
+ Project-URL: Repository, https://github.com/mixpeek/python-client
7
+ Author-email: Mixpeek SDK <dev-feedback@mixpeek-sdk.com>
8
+ License-Expression: Apache-2.0
9
+ License-File: LICENSE
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: License :: OSI Approved :: Apache Software License
12
+ Classifier: Operating System :: MacOS
13
+ Classifier: Operating System :: Microsoft :: Windows
14
+ Classifier: Operating System :: OS Independent
15
+ Classifier: Operating System :: POSIX
16
+ Classifier: Operating System :: POSIX :: Linux
17
+ Classifier: Programming Language :: Python :: 3.7
18
+ Classifier: Programming Language :: Python :: 3.8
19
+ Classifier: Programming Language :: Python :: 3.9
20
+ Classifier: Programming Language :: Python :: 3.10
21
+ Classifier: Programming Language :: Python :: 3.11
22
+ Classifier: Programming Language :: Python :: 3.12
23
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
24
+ Classifier: Typing :: Typed
25
+ Requires-Python: >=3.7
26
+ Requires-Dist: anyio<5,>=3.5.0
27
+ Requires-Dist: cached-property; python_version < '3.8'
28
+ Requires-Dist: distro<2,>=1.7.0
29
+ Requires-Dist: httpx<1,>=0.23.0
30
+ Requires-Dist: pydantic<3,>=1.9.0
31
+ Requires-Dist: sniffio
32
+ Requires-Dist: typing-extensions<5,>=4.7
33
+ Description-Content-Type: text/markdown
34
+
35
+ # Mixpeek SDK Python API library
36
+
37
+ [![PyPI version](https://img.shields.io/pypi/v/mixpeek.svg)](https://pypi.org/project/mixpeek/)
38
+
39
+ The Mixpeek SDK Python library provides convenient access to the Mixpeek SDK REST API from any Python 3.7+
40
+ application. The library includes type definitions for all request params and response fields,
41
+ and offers both synchronous and asynchronous clients powered by [httpx](https://github.com/encode/httpx).
42
+
43
+ It is generated with [Stainless](https://www.stainlessapi.com/).
44
+
45
+ ## Documentation
46
+
47
+ The REST API documentation can be found on [docs.mixpeek-sdk.com](https://docs.mixpeek-sdk.com). The full API of this library can be found in [api.md](https://github.com/mixpeek/python-client/tree/main/api.md).
48
+
49
+ ## Installation
50
+
51
+ ```sh
52
+ # install from PyPI
53
+ pip install mixpeek
54
+ ```
55
+
56
+ ## Usage
57
+
58
+ The full API of this library can be found in [api.md](https://github.com/mixpeek/python-client/tree/main/api.md).
59
+
60
+ ```python
61
+ from mixpeek_sdk import MixpeekSDK
62
+
63
+ client = MixpeekSDK()
64
+
65
+ agentresponse = client.agent.create(
66
+ prompt="prompt",
67
+ )
68
+ print(agentresponse.task_id)
69
+ ```
70
+
71
+ ## Async usage
72
+
73
+ Simply import `AsyncMixpeekSDK` instead of `MixpeekSDK` and use `await` with each API call:
74
+
75
+ ```python
76
+ import asyncio
77
+ from mixpeek_sdk import AsyncMixpeekSDK
78
+
79
+ client = AsyncMixpeekSDK()
80
+
81
+
82
+ async def main() -> None:
83
+ agentresponse = await client.agent.create(
84
+ prompt="prompt",
85
+ )
86
+ print(agentresponse.task_id)
87
+
88
+
89
+ asyncio.run(main())
90
+ ```
91
+
92
+ Functionality between the synchronous and asynchronous clients is otherwise identical.
93
+
94
+ ## Using types
95
+
96
+ 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:
97
+
98
+ - Serializing back into JSON, `model.to_json()`
99
+ - Converting to a dictionary, `model.to_dict()`
100
+
101
+ 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`.
102
+
103
+ ## Handling errors
104
+
105
+ When the library is unable to connect to the API (for example, due to network connection problems or a timeout), a subclass of `mixpeek_sdk.APIConnectionError` is raised.
106
+
107
+ When the API returns a non-success status code (that is, 4xx or 5xx
108
+ response), a subclass of `mixpeek_sdk.APIStatusError` is raised, containing `status_code` and `response` properties.
109
+
110
+ All errors inherit from `mixpeek_sdk.APIError`.
111
+
112
+ ```python
113
+ import mixpeek_sdk
114
+ from mixpeek_sdk import MixpeekSDK
115
+
116
+ client = MixpeekSDK()
117
+
118
+ try:
119
+ client.agent.create(
120
+ prompt="prompt",
121
+ )
122
+ except mixpeek_sdk.APIConnectionError as e:
123
+ print("The server could not be reached")
124
+ print(e.__cause__) # an underlying Exception, likely raised within httpx.
125
+ except mixpeek_sdk.RateLimitError as e:
126
+ print("A 429 status code was received; we should back off a bit.")
127
+ except mixpeek_sdk.APIStatusError as e:
128
+ print("Another non-200-range status code was received")
129
+ print(e.status_code)
130
+ print(e.response)
131
+ ```
132
+
133
+ Error codes are as followed:
134
+
135
+ | Status Code | Error Type |
136
+ | ----------- | -------------------------- |
137
+ | 400 | `BadRequestError` |
138
+ | 401 | `AuthenticationError` |
139
+ | 403 | `PermissionDeniedError` |
140
+ | 404 | `NotFoundError` |
141
+ | 422 | `UnprocessableEntityError` |
142
+ | 429 | `RateLimitError` |
143
+ | >=500 | `InternalServerError` |
144
+ | N/A | `APIConnectionError` |
145
+
146
+ ### Retries
147
+
148
+ Certain errors are automatically retried 2 times by default, with a short exponential backoff.
149
+ Connection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict,
150
+ 429 Rate Limit, and >=500 Internal errors are all retried by default.
151
+
152
+ You can use the `max_retries` option to configure or disable retry settings:
153
+
154
+ ```python
155
+ from mixpeek_sdk import MixpeekSDK
156
+
157
+ # Configure the default for all requests:
158
+ client = MixpeekSDK(
159
+ # default is 2
160
+ max_retries=0,
161
+ )
162
+
163
+ # Or, configure per-request:
164
+ client.with_options(max_retries=5).agent.create(
165
+ prompt="prompt",
166
+ )
167
+ ```
168
+
169
+ ### Timeouts
170
+
171
+ By default requests time out after 1 minute. You can configure this with a `timeout` option,
172
+ which accepts a float or an [`httpx.Timeout`](https://www.python-httpx.org/advanced/#fine-tuning-the-configuration) object:
173
+
174
+ ```python
175
+ from mixpeek_sdk import MixpeekSDK
176
+
177
+ # Configure the default for all requests:
178
+ client = MixpeekSDK(
179
+ # 20 seconds (default is 1 minute)
180
+ timeout=20.0,
181
+ )
182
+
183
+ # More granular control:
184
+ client = MixpeekSDK(
185
+ timeout=httpx.Timeout(60.0, read=5.0, write=10.0, connect=2.0),
186
+ )
187
+
188
+ # Override per-request:
189
+ client.with_options(timeout=5.0).agent.create(
190
+ prompt="prompt",
191
+ )
192
+ ```
193
+
194
+ On timeout, an `APITimeoutError` is thrown.
195
+
196
+ Note that requests that time out are [retried twice by default](https://github.com/mixpeek/python-client/tree/main/#retries).
197
+
198
+ ## Advanced
199
+
200
+ ### Logging
201
+
202
+ We use the standard library [`logging`](https://docs.python.org/3/library/logging.html) module.
203
+
204
+ You can enable logging by setting the environment variable `MIXPEEK_SDK_LOG` to `debug`.
205
+
206
+ ```shell
207
+ $ export MIXPEEK_SDK_LOG=debug
208
+ ```
209
+
210
+ ### How to tell whether `None` means `null` or missing
211
+
212
+ 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`:
213
+
214
+ ```py
215
+ if response.my_field is None:
216
+ if 'my_field' not in response.model_fields_set:
217
+ print('Got json like {}, without a "my_field" key present at all.')
218
+ else:
219
+ print('Got json like {"my_field": null}.')
220
+ ```
221
+
222
+ ### Accessing raw response data (e.g. headers)
223
+
224
+ The "raw" Response object can be accessed by prefixing `.with_raw_response.` to any HTTP method call, e.g.,
225
+
226
+ ```py
227
+ from mixpeek_sdk import MixpeekSDK
228
+
229
+ client = MixpeekSDK()
230
+ response = client.agent.with_raw_response.create(
231
+ prompt="prompt",
232
+ )
233
+ print(response.headers.get('X-My-Header'))
234
+
235
+ agent = response.parse() # get the object that `agent.create()` would have returned
236
+ print(agent.task_id)
237
+ ```
238
+
239
+ These methods return an [`APIResponse`](https://github.com/mixpeek/python-client/tree/main/src/mixpeek_sdk/_response.py) object.
240
+
241
+ The async client returns an [`AsyncAPIResponse`](https://github.com/mixpeek/python-client/tree/main/src/mixpeek_sdk/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.
242
+
243
+ #### `.with_streaming_response`
244
+
245
+ The above interface eagerly reads the full response body when you make the request, which may not always be what you want.
246
+
247
+ 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.
248
+
249
+ ```python
250
+ with client.agent.with_streaming_response.create(
251
+ prompt="prompt",
252
+ ) as response:
253
+ print(response.headers.get("X-My-Header"))
254
+
255
+ for line in response.iter_lines():
256
+ print(line)
257
+ ```
258
+
259
+ The context manager is required so that the response will reliably be closed.
260
+
261
+ ### Making custom/undocumented requests
262
+
263
+ This library is typed for convenient access to the documented API.
264
+
265
+ If you need to access undocumented endpoints, params, or response properties, the library can still be used.
266
+
267
+ #### Undocumented endpoints
268
+
269
+ To make requests to undocumented endpoints, you can make requests using `client.get`, `client.post`, and other
270
+ http verbs. Options on the client will be respected (such as retries) will be respected when making this
271
+ request.
272
+
273
+ ```py
274
+ import httpx
275
+
276
+ response = client.post(
277
+ "/foo",
278
+ cast_to=httpx.Response,
279
+ body={"my_param": True},
280
+ )
281
+
282
+ print(response.headers.get("x-foo"))
283
+ ```
284
+
285
+ #### Undocumented request params
286
+
287
+ If you want to explicitly send an extra param, you can do so with the `extra_query`, `extra_body`, and `extra_headers` request
288
+ options.
289
+
290
+ #### Undocumented response properties
291
+
292
+ To access undocumented response properties, you can access the extra fields like `response.unknown_prop`. You
293
+ can also get all the extra fields on the Pydantic model as a dict with
294
+ [`response.model_extra`](https://docs.pydantic.dev/latest/api/base_model/#pydantic.BaseModel.model_extra).
295
+
296
+ ### Configuring the HTTP client
297
+
298
+ You can directly override the [httpx client](https://www.python-httpx.org/api/#client) to customize it for your use case, including:
299
+
300
+ - Support for proxies
301
+ - Custom transports
302
+ - Additional [advanced](https://www.python-httpx.org/advanced/clients/) functionality
303
+
304
+ ```python
305
+ from mixpeek_sdk import MixpeekSDK, DefaultHttpxClient
306
+
307
+ client = MixpeekSDK(
308
+ # Or use the `MIXPEEK_SDK_BASE_URL` env var
309
+ base_url="http://my.test.server.example.com:8083",
310
+ http_client=DefaultHttpxClient(
311
+ proxies="http://my.test.proxy.example.com",
312
+ transport=httpx.HTTPTransport(local_address="0.0.0.0"),
313
+ ),
314
+ )
315
+ ```
316
+
317
+ You can also customize the client on a per-request basis by using `with_options()`:
318
+
319
+ ```python
320
+ client.with_options(http_client=DefaultHttpxClient(...))
321
+ ```
322
+
323
+ ### Managing HTTP resources
324
+
325
+ 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.
326
+
327
+ ## Versioning
328
+
329
+ 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:
330
+
331
+ 1. Changes that only affect static types, without breaking runtime behavior.
332
+ 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)_.
333
+ 3. Changes that we do not expect to impact the vast majority of users in practice.
334
+
335
+ We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.
336
+
337
+ We are keen for your feedback; please open an [issue](https://www.github.com/mixpeek/python-client/issues) with questions, bugs, or suggestions.
338
+
339
+ ### Determining the installed version
340
+
341
+ 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.
342
+
343
+ You can determine the version that is being used at runtime with:
344
+
345
+ ```py
346
+ import mixpeek_sdk
347
+ print(mixpeek_sdk.__version__)
348
+ ```
349
+
350
+ ## Requirements
351
+
352
+ Python 3.7 or higher.
353
+
354
+ ## Contributing
355
+
356
+ See [the contributing documentation](https://github.com/mixpeek/python-client/tree/main/./CONTRIBUTING.md).
@@ -0,0 +1,73 @@
1
+ mixpeek_sdk/__init__.py,sha256=cb2Nnlnknbtn0gbWTA0YtqMGqZI7RbMgHhPpxIfQwes,2479
2
+ mixpeek_sdk/_base_client.py,sha256=dnjxb2J9BgMPl5ti32p4X_aAp_5y7U9QlkRUZEhHSMw,67845
3
+ mixpeek_sdk/_client.py,sha256=ye5lsPouFa9YkPkM0nAXom8X98SwWnNcKimUH36ZhbI,18925
4
+ mixpeek_sdk/_compat.py,sha256=9CWnEaYK0kot7aSNW-m2W9xZb5giIdvKN9sWxvBbbSA,6488
5
+ mixpeek_sdk/_constants.py,sha256=JE8kyZa2Q4NK_i4fO--8siEYTzeHnT0fYbOFDgDP4uk,464
6
+ mixpeek_sdk/_exceptions.py,sha256=uhuT-chEyIWrSHVO6_mF07FIHDWIPL7RlWpgAjtLMNA,3228
7
+ mixpeek_sdk/_files.py,sha256=mf4dOgL4b0ryyZlbqLhggD3GVgDf6XxdGFAgce01ugE,3549
8
+ mixpeek_sdk/_models.py,sha256=pXirq94yiihFXBbiR50vA-0NIlDurxbJ_rLXK062vWQ,28267
9
+ mixpeek_sdk/_qs.py,sha256=AOkSz4rHtK4YI3ZU_kzea-zpwBUgEY8WniGmTPyEimc,4846
10
+ mixpeek_sdk/_resource.py,sha256=eFmGH2QSR3EXTXg6Yt0O475Of9KwH4ybaL-pI6OOzVo,1124
11
+ mixpeek_sdk/_response.py,sha256=gqTeZXY33J9o3TM2WuVejtE_VETFLGdzkfI0NAiAabk,28667
12
+ mixpeek_sdk/_streaming.py,sha256=eD7nQ3pmDWgSLauSbtmacvyRnTRgI3jDRLm5hhng-X0,10116
13
+ mixpeek_sdk/_types.py,sha256=loR54ynzKuTaxp6NMfHDMPedXe40QPYDQr-UN8ubTQk,6108
14
+ mixpeek_sdk/_version.py,sha256=a5_to93MAhpAWpnb-sLtWcniLPwcYI7RkNCtFOHpHsk,163
15
+ mixpeek_sdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
+ mixpeek_sdk/_utils/__init__.py,sha256=Uzq1-FIih_VUjzdNVWXks0sdC39KBKLMrZoz-_JOjJ4,1988
17
+ mixpeek_sdk/_utils/_logs.py,sha256=1-VkdvCyw_UmTG5JpUgGgZnWJU5oJIGuTR4-_YoQ1L8,789
18
+ mixpeek_sdk/_utils/_proxy.py,sha256=z3zsateHtb0EARTWKk8QZNHfPkqJbqwd1lM993LBwGE,1902
19
+ mixpeek_sdk/_utils/_reflection.py,sha256=ZmGkIgT_PuwedyNBrrKGbxoWtkpytJNU1uU4QHnmEMU,1364
20
+ mixpeek_sdk/_utils/_streams.py,sha256=SMC90diFFecpEg_zgDRVbdR3hSEIgVVij4taD-noMLM,289
21
+ mixpeek_sdk/_utils/_sync.py,sha256=9ex9pfOyd8xAF1LxpFx4IkqL8k0vk8srE2Ee-OTMQ0A,2840
22
+ mixpeek_sdk/_utils/_transform.py,sha256=NCz3q9_O-vuj60xVe-qzhEQ8uJWlZWJTsM-GwHDccf8,12958
23
+ mixpeek_sdk/_utils/_typing.py,sha256=tFbktdpdHCQliwzGsWysgn0P5H0JRdagkZdb_LegGkY,3838
24
+ mixpeek_sdk/_utils/_utils.py,sha256=tYrr7IX-5NMwsVKbNggbzOM84uNw7XnAe06e2Ln8Or0,11472
25
+ mixpeek_sdk/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
26
+ mixpeek_sdk/resources/__init__.py,sha256=a2TPX0pfuSLduUva6IJRkJsCZ9n9kltIxR4s1Pz8esY,5182
27
+ mixpeek_sdk/resources/describe.py,sha256=3hCcuix_0Los0jzOyXi6PSUcL5Rr3FH0dVQyampBHA4,11853
28
+ mixpeek_sdk/resources/embed.py,sha256=-TD_nOTft0xP19wOceNO-muqOxt9P9ZDLovq8Cp42Wk,7978
29
+ mixpeek_sdk/resources/index.py,sha256=PwB2rmNRVwPQUQBMyB1_mQOPcR9_mn2FMwF-6nTjmps,18206
30
+ mixpeek_sdk/resources/read.py,sha256=_ZMKbD60ZMh3inFXhlE5abdXAi3cKgJ1y2BuJ7X80jA,6086
31
+ mixpeek_sdk/resources/recognize.py,sha256=wTDuhmlrhJmmu2HgDteOmEubjjfR4i2mgCNGxwW6IqE,6276
32
+ mixpeek_sdk/resources/search.py,sha256=phut239bkb_ccuFshxSqOtPYxl7Idg8uO_i7qX-mHN4,19163
33
+ mixpeek_sdk/resources/tasks.py,sha256=5aooYZQj37HeagQVyNc5uNMaytNpqO04t1LR5hRoF-Q,10154
34
+ mixpeek_sdk/resources/transcribe.py,sha256=mePVOsYOtd7nu4SBIIGjnQQVaoFKgWLuwYNVrhjhiLI,6645
35
+ mixpeek_sdk/resources/accounts/__init__.py,sha256=E2G262T6ZDvdgtjoDYDJhJPBaJSgTmoP0kF56RfgJJA,1041
36
+ mixpeek_sdk/resources/accounts/accounts.py,sha256=PQyQ6PlTB2ID3tWO2w83v6w8EEhIxankIBHqgvRIxzQ,3696
37
+ mixpeek_sdk/resources/accounts/private.py,sha256=To8ibZL84SV3HjpuaJCzHxvMCr7lRPo0aUiVTSqvre0,8297
38
+ mixpeek_sdk/resources/agent/__init__.py,sha256=8ZziMYVbbdclY956Wi1JQsJflO9piM5LxYbvIfZa--c,963
39
+ mixpeek_sdk/resources/agent/agent.py,sha256=zxasXvU0ZzBB23IcAcXQCpwm2kv4lLueftoYHmMZFbU,7566
40
+ mixpeek_sdk/resources/agent/task.py,sha256=Imnwoo2_0e4V5KY3NzwaurKRR0wmlOLilJcoE4UNXVU,6446
41
+ mixpeek_sdk/resources/collections/__init__.py,sha256=Z2Rifyx7j2prEwAq-vNKkLYGnLx8x56SYrbBHFkDrTk,1054
42
+ mixpeek_sdk/resources/collections/collections.py,sha256=ShYvSrIMydBr4aXtzNyQQqCBKKPSOuUbGJnil1ODgDE,16046
43
+ mixpeek_sdk/resources/collections/files.py,sha256=8YEyCZ0tmQyJq1R-orpoQr3oHowIank53-h2zXMkjgg,23978
44
+ mixpeek_sdk/types/__init__.py,sha256=2i4VRNuULZs79qxlKQAsl6H73r48RL3QA74TACObmJQ,1179
45
+ mixpeek_sdk/types/agent_create_params.py,sha256=3fS7o2hkeb5UShD0F75A6QGCok1N48DeltGZv3gKROk,496
46
+ mixpeek_sdk/types/agentresponse.py,sha256=L4E4fo937sp2HdfVIR7ThWg-5QLYdUcQLzVD6xvkrAM,201
47
+ mixpeek_sdk/types/collection_search_params.py,sha256=RLSZrA5Jzrq2a4E7KYb_c-ndC4zyWuQbIGWEDwQI6Xc,689
48
+ mixpeek_sdk/types/describe_upload_params.py,sha256=104kgev7KKoKWrCoxjq8iikX8z6tcGNUQx9Yq-C3sos,564
49
+ mixpeek_sdk/types/describe_url_params.py,sha256=UQqhEQsLkr6dgpzdxTJnNR9q2Y5PXPDE6xY5SqhibdU,520
50
+ mixpeek_sdk/types/embed_create_params.py,sha256=p_Eav7Q7a1yenVn2mlBMhOkJFQBZ_TdASo5lDaeqeUg,869
51
+ mixpeek_sdk/types/embeddingresponse.py,sha256=tBHASrZxPXjTHFQq6J_PcyTiTxkVDtJ8jSlGvDmJN9g,387
52
+ mixpeek_sdk/types/index_face_params.py,sha256=kr2mbNuwbvllvQkltIUSMg4mjBSCXAkPxdW8itbw0ZY,580
53
+ mixpeek_sdk/types/index_upload_params.py,sha256=xkMJjoGu5ABj-b3TBQbuZat5WpNI4ebzFCpsd5oVATc,634
54
+ mixpeek_sdk/types/index_url_params.py,sha256=Mr0Sxlz8vAApxn0zdkiZazNnH7NG1Lw5RyCzfozjeuM,3944
55
+ mixpeek_sdk/types/search_text_params.py,sha256=PnFcLYGNUrW6IEJyI7U3yAXJkhrIz5szHGfznMDZ7kI,1023
56
+ mixpeek_sdk/types/search_upload_params.py,sha256=GudNCR_eLafFuhlo5sSt1OtVWUlOF7x42jDwHbjj1_8,586
57
+ mixpeek_sdk/types/search_url_params.py,sha256=_ZqnuWinCjlfeO6zBNx4hzK68wVWqQfWi8fAS54aZuQ,1021
58
+ mixpeek_sdk/types/taskresponse.py,sha256=ub9aVQmtRi87lwOSVXfsMxe41cHetcfd5hKqBABVlF4,338
59
+ mixpeek_sdk/types/transcribe_url_params.py,sha256=1kyl8zfRmAdGaGtoyLJ54C9tNGw0TcvzVf4349gpwzo,497
60
+ mixpeek_sdk/types/accounts/__init__.py,sha256=QI8K7JwYVH6Shx_rYwvyR8VFKfPWCZ3D9tWb3ADGy60,232
61
+ mixpeek_sdk/types/accounts/private_update_params.py,sha256=MGldBmPtblgLmPvXFb4I4QhAXr9DRzcGt038tDAFyGg,605
62
+ mixpeek_sdk/types/accounts/user.py,sha256=Yrd_MHznqxot7BQqymmMH7dlhzkLz4Y35b3YuEL-PCc,629
63
+ mixpeek_sdk/types/agent/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
64
+ mixpeek_sdk/types/collections/__init__.py,sha256=Ow92wueBqOBbAO-6s4O8xBnKyKR5R1ZvakO3oYxmzmA,443
65
+ mixpeek_sdk/types/collections/file_create_params.py,sha256=7H-805bacjFwTvR8_DWW2xzecpn1enouhQ8WKIhgxb4,704
66
+ mixpeek_sdk/types/collections/file_full_params.py,sha256=AYuEQew8Sdx3XGLt5UY_ORYFKgi_ctD-ieruGh_x-0M,508
67
+ mixpeek_sdk/types/collections/file_update_params.py,sha256=m1C33PolkgSr0arL3elxEzXfXRRBf9Q6GBB6DECsZ18,496
68
+ mixpeek_sdk/types/collections/fileresponse.py,sha256=iokbF3X_sE6-Vkt8sUDoazTNTwyIvh-Yvp7cK0d7rQI,351
69
+ mixpeek_sdk/types/collections/groupedfiledata.py,sha256=id9xiaw-DTnpLThbDlI7q08SfG-PrG18z1gMWLc2g5w,700
70
+ mixpeek-0.8.3.dist-info/METADATA,sha256=7uLrWQgjpzTWXBeExAjA8rjDZSlY7dgyjEa-3T8EVFQ,12228
71
+ mixpeek-0.8.3.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
72
+ mixpeek-0.8.3.dist-info/licenses/LICENSE,sha256=-o6p7v4Plgq-5IW0zY3volFbC4BWuzDH_VebeITLtLU,11341
73
+ mixpeek-0.8.3.dist-info/RECORD,,
@@ -1,5 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.1.0)
2
+ Generator: hatchling 1.25.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
-
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2024 Mixpeek SDK
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.