mixpeek 0.11.2__py3-none-any.whl → 0.13__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 (189) hide show
  1. mixpeek/__init__.py +9 -1
  2. mixpeek/_hooks/__init__.py +5 -0
  3. mixpeek/_hooks/registration.py +13 -0
  4. mixpeek/_hooks/sdkhooks.py +76 -0
  5. mixpeek/_hooks/types.py +94 -0
  6. mixpeek/_version.py +12 -0
  7. mixpeek/assets.py +1561 -0
  8. mixpeek/basesdk.py +350 -0
  9. mixpeek/collections.py +1029 -0
  10. mixpeek/featureextractors.py +205 -0
  11. mixpeek/features.py +1181 -0
  12. mixpeek/health.py +167 -0
  13. mixpeek/httpclient.py +84 -0
  14. mixpeek/ingest.py +831 -0
  15. mixpeek/interactions.py +221 -0
  16. mixpeek/models/__init__.py +751 -0
  17. mixpeek/models/actionusage.py +16 -0
  18. mixpeek/models/apierror.py +22 -0
  19. mixpeek/models/apikey.py +25 -0
  20. mixpeek/models/apikeyupdate.py +49 -0
  21. mixpeek/models/assetfeatures.py +55 -0
  22. mixpeek/models/assetresponse.py +166 -0
  23. mixpeek/models/assets_model_searchquery.py +21 -0
  24. mixpeek/models/assetupdate.py +28 -0
  25. mixpeek/models/availableindexesresponse.py +23 -0
  26. mixpeek/models/availablemodels.py +12 -0
  27. mixpeek/models/boolindexparams.py +18 -0
  28. mixpeek/models/collectionmodel.py +70 -0
  29. mixpeek/models/collectionresult.py +73 -0
  30. mixpeek/models/create_api_key_organizations_users_user_email_api_keys_postop.py +23 -0
  31. mixpeek/models/create_collection_collections_postop.py +62 -0
  32. mixpeek/models/create_interaction_features_search_interactions_postop.py +59 -0
  33. mixpeek/models/createcollectionrequest.py +59 -0
  34. mixpeek/models/createnamespacerequest.py +62 -0
  35. mixpeek/models/datetimeindexparams.py +18 -0
  36. mixpeek/models/dateusage.py +22 -0
  37. mixpeek/models/db_model_paginationresponse.py +59 -0
  38. mixpeek/models/db_model_taskresponse.py +20 -0
  39. mixpeek/models/delete_api_key_organizations_users_user_email_api_keys_key_name_deleteop.py +23 -0
  40. mixpeek/models/delete_asset_assets_asset_id_deleteop.py +57 -0
  41. mixpeek/models/delete_collection_collections_collection_deleteop.py +59 -0
  42. mixpeek/models/delete_feature_features_feature_id_deleteop.py +57 -0
  43. mixpeek/models/delete_interaction_features_search_interactions_interaction_id_deleteop.py +59 -0
  44. mixpeek/models/delete_namespace_namespaces_namespace_deleteop.py +18 -0
  45. mixpeek/models/delete_user_organizations_users_user_email_deleteop.py +16 -0
  46. mixpeek/models/denseembedding.py +16 -0
  47. mixpeek/models/embeddingrequest.py +59 -0
  48. mixpeek/models/embeddingresponse.py +64 -0
  49. mixpeek/models/errormessage.py +13 -0
  50. mixpeek/models/errorresponse.py +21 -0
  51. mixpeek/models/facedetectsettings.py +52 -0
  52. mixpeek/models/featureextractionembeddingrequest.py +54 -0
  53. mixpeek/models/featureresponse.py +74 -0
  54. mixpeek/models/features_model_paginationresponse.py +59 -0
  55. mixpeek/models/featureupdaterequest.py +21 -0
  56. mixpeek/models/filtercondition.py +74 -0
  57. mixpeek/models/floatindexparams.py +18 -0
  58. mixpeek/models/full_asset_update_assets_asset_id_putop.py +69 -0
  59. mixpeek/models/full_feature_update_features_feature_id_putop.py +69 -0
  60. mixpeek/models/geoindexparams.py +18 -0
  61. mixpeek/models/get_asset_assets_asset_id_getop.py +73 -0
  62. mixpeek/models/get_asset_with_features_assets_asset_id_features_getop.py +73 -0
  63. mixpeek/models/get_collection_collections_collection_getop.py +59 -0
  64. mixpeek/models/get_feature_features_feature_id_getop.py +70 -0
  65. mixpeek/models/get_interaction_features_search_interactions_interaction_id_getop.py +59 -0
  66. mixpeek/models/get_namespace_namespaces_namespace_getop.py +18 -0
  67. mixpeek/models/get_task_tasks_task_id_getop.py +57 -0
  68. mixpeek/models/get_user_organizations_users_user_email_getop.py +16 -0
  69. mixpeek/models/groupbyoptions.py +71 -0
  70. mixpeek/models/groupbyoptionsasset.py +71 -0
  71. mixpeek/models/groupedassetdata.py +18 -0
  72. mixpeek/models/healthcheckresponse.py +13 -0
  73. mixpeek/models/httpvalidationerror.py +21 -0
  74. mixpeek/models/imagedescribesettings.py +82 -0
  75. mixpeek/models/imagedetectsettings.py +53 -0
  76. mixpeek/models/imagereadsettings.py +71 -0
  77. mixpeek/models/imagesettings.py +79 -0
  78. mixpeek/models/ingest_image_url_ingest_images_url_postop.py +59 -0
  79. mixpeek/models/ingest_text_ingest_text_postop.py +59 -0
  80. mixpeek/models/ingest_video_url_ingest_videos_url_postop.py +59 -0
  81. mixpeek/models/inputtype.py +11 -0
  82. mixpeek/models/integerindexparams.py +24 -0
  83. mixpeek/models/interactionresponse.py +87 -0
  84. mixpeek/models/interactiontype.py +11 -0
  85. mixpeek/models/jsonimageoutputsettings.py +55 -0
  86. mixpeek/models/jsontextoutputsettings.py +55 -0
  87. mixpeek/models/jsonvideooutputsettings.py +55 -0
  88. mixpeek/models/keywordindexparams.py +21 -0
  89. mixpeek/models/kill_task_tasks_task_id_deleteop.py +57 -0
  90. mixpeek/models/list_assets_assets_postop.py +77 -0
  91. mixpeek/models/list_collections_collections_getop.py +65 -0
  92. mixpeek/models/list_features_features_postop.py +79 -0
  93. mixpeek/models/list_interactions_features_search_interactions_getop.py +96 -0
  94. mixpeek/models/listassetsrequest.py +75 -0
  95. mixpeek/models/listassetsresponse.py +22 -0
  96. mixpeek/models/listcollectionsresponse.py +22 -0
  97. mixpeek/models/listfeaturesrequest.py +77 -0
  98. mixpeek/models/listfeaturesresponse.py +22 -0
  99. mixpeek/models/logicaloperator_input.py +88 -0
  100. mixpeek/models/logicaloperator_output.py +103 -0
  101. mixpeek/models/logodetectsettings.py +52 -0
  102. mixpeek/models/modality.py +13 -0
  103. mixpeek/models/modeldetails.py +57 -0
  104. mixpeek/models/namespaceresponse.py +54 -0
  105. mixpeek/models/organizationmodel.py +45 -0
  106. mixpeek/models/partial_asset_update_assets_asset_id_patchop.py +69 -0
  107. mixpeek/models/payloadindexconfig.py +94 -0
  108. mixpeek/models/payloadindextype.py +17 -0
  109. mixpeek/models/payloadschematype.py +15 -0
  110. mixpeek/models/percolaterequest.py +57 -0
  111. mixpeek/models/permission.py +10 -0
  112. mixpeek/models/processimageurlinput.py +99 -0
  113. mixpeek/models/processtextinput.py +94 -0
  114. mixpeek/models/processvideourlinput.py +99 -0
  115. mixpeek/models/querysettings.py +56 -0
  116. mixpeek/models/rerankingoptions.py +47 -0
  117. mixpeek/models/search_assets_assets_search_postop.py +59 -0
  118. mixpeek/models/search_features_features_search_postop.py +96 -0
  119. mixpeek/models/search_model_searchquery_input.py +76 -0
  120. mixpeek/models/searchassetsrequest.py +78 -0
  121. mixpeek/models/searchinteraction.py +82 -0
  122. mixpeek/models/searchquery_output.py +79 -0
  123. mixpeek/models/searchrequestfeatures_input.py +151 -0
  124. mixpeek/models/searchrequestfeatures_output.py +151 -0
  125. mixpeek/models/sortoption.py +28 -0
  126. mixpeek/models/sparseembedding.py +21 -0
  127. mixpeek/models/tasks_model_taskresponse.py +24 -0
  128. mixpeek/models/taskstatus.py +16 -0
  129. mixpeek/models/textindexparams.py +31 -0
  130. mixpeek/models/textsettings.py +61 -0
  131. mixpeek/models/tokenizertype.py +11 -0
  132. mixpeek/models/update_api_key_organizations_users_user_email_api_keys_key_name_patchop.py +30 -0
  133. mixpeek/models/update_collection_collections_collection_putop.py +74 -0
  134. mixpeek/models/update_namespace_namespaces_namespace_putop.py +28 -0
  135. mixpeek/models/updateassetrequest.py +60 -0
  136. mixpeek/models/updatenamespacerequest.py +26 -0
  137. mixpeek/models/usage.py +18 -0
  138. mixpeek/models/usermodel_input.py +36 -0
  139. mixpeek/models/usermodel_output.py +36 -0
  140. mixpeek/models/uuidindexparams.py +21 -0
  141. mixpeek/models/validationerror.py +26 -0
  142. mixpeek/models/vectormodel.py +11 -0
  143. mixpeek/models/vectortype.py +9 -0
  144. mixpeek/models/videodescribesettings.py +82 -0
  145. mixpeek/models/videodetectsettings.py +53 -0
  146. mixpeek/models/videoreadsettings.py +71 -0
  147. mixpeek/models/videosettings.py +101 -0
  148. mixpeek/models/videotranscriptionsettings.py +69 -0
  149. mixpeek/namespaces.py +1143 -0
  150. mixpeek/organizations.py +1508 -0
  151. mixpeek/py.typed +1 -0
  152. mixpeek/sdk.py +135 -0
  153. mixpeek/sdkconfiguration.py +45 -0
  154. mixpeek/searchinteractions.py +647 -0
  155. mixpeek/tasks.py +387 -0
  156. mixpeek/types/__init__.py +21 -0
  157. mixpeek/types/basemodel.py +39 -0
  158. mixpeek/utils/__init__.py +97 -0
  159. mixpeek/utils/annotations.py +55 -0
  160. mixpeek/utils/enums.py +34 -0
  161. mixpeek/utils/eventstreaming.py +238 -0
  162. mixpeek/utils/forms.py +202 -0
  163. mixpeek/utils/headers.py +136 -0
  164. mixpeek/utils/logger.py +27 -0
  165. mixpeek/utils/metadata.py +118 -0
  166. mixpeek/utils/queryparams.py +205 -0
  167. mixpeek/utils/requestbodies.py +66 -0
  168. mixpeek/utils/retries.py +217 -0
  169. mixpeek/utils/security.py +174 -0
  170. mixpeek/utils/serializers.py +215 -0
  171. mixpeek/utils/url.py +155 -0
  172. mixpeek/utils/values.py +134 -0
  173. mixpeek-0.13.dist-info/METADATA +439 -0
  174. mixpeek-0.13.dist-info/RECORD +176 -0
  175. {mixpeek-0.11.2.dist-info → mixpeek-0.13.dist-info}/WHEEL +1 -2
  176. py.typed +1 -0
  177. mixpeek/client.py +0 -27
  178. mixpeek/endpoints/__init__.py +0 -0
  179. mixpeek/endpoints/collections.py +0 -86
  180. mixpeek/endpoints/embed.py +0 -66
  181. mixpeek/endpoints/index.py +0 -51
  182. mixpeek/endpoints/register.py +0 -34
  183. mixpeek/endpoints/search.py +0 -44
  184. mixpeek/endpoints/tasks.py +0 -26
  185. mixpeek/endpoints/tools.py +0 -138
  186. mixpeek/exceptions.py +0 -13
  187. mixpeek-0.11.2.dist-info/METADATA +0 -375
  188. mixpeek-0.11.2.dist-info/RECORD +0 -15
  189. mixpeek-0.11.2.dist-info/top_level.txt +0 -1
@@ -0,0 +1,439 @@
1
+ Metadata-Version: 2.1
2
+ Name: mixpeek
3
+ Version: 0.13
4
+ Summary: Python Client SDK Generated by Speakeasy.
5
+ Home-page: https://github.com/mixpeek/python-sdk.git
6
+ Author: Speakeasy
7
+ Requires-Python: >=3.8,<4.0
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: Programming Language :: Python :: 3.8
10
+ Classifier: Programming Language :: Python :: 3.9
11
+ Classifier: Programming Language :: Python :: 3.10
12
+ Classifier: Programming Language :: Python :: 3.11
13
+ Classifier: Programming Language :: Python :: 3.12
14
+ Classifier: Programming Language :: Python :: 3.13
15
+ Requires-Dist: eval-type-backport (>=0.2.0,<0.3.0)
16
+ Requires-Dist: httpx (>=0.28.1,<0.29.0)
17
+ Requires-Dist: jsonpath-python (>=1.0.6,<2.0.0)
18
+ Requires-Dist: pydantic (>=2.10.3,<2.11.0)
19
+ Requires-Dist: python-dateutil (>=2.8.2,<3.0.0)
20
+ Requires-Dist: typing-inspect (>=0.9.0,<0.10.0)
21
+ Project-URL: Repository, https://github.com/mixpeek/python-sdk.git
22
+ Description-Content-Type: text/markdown
23
+
24
+ # mixpeek
25
+
26
+ Developer-friendly & type-safe Python SDK specifically catered to leverage *mixpeek* API.
27
+
28
+ <div align="left">
29
+ <a href="https://www.speakeasy.com/?utm_source=mixpeek&utm_campaign=python"><img src="https://custom-icon-badges.demolab.com/badge/-Built%20By%20Speakeasy-212015?style=for-the-badge&logoColor=FBE331&logo=speakeasy&labelColor=545454" /></a>
30
+ <a href="https://opensource.org/licenses/MIT">
31
+ <img src="https://img.shields.io/badge/License-MIT-blue.svg" style="width: 100px; height: 28px;" />
32
+ </a>
33
+ </div>
34
+
35
+
36
+ <br /><br />
37
+ > [!IMPORTANT]
38
+ > This SDK is not yet ready for production use. To complete setup please follow the steps outlined in your [workspace](https://app.speakeasy.com/org/mixpeek/api). Delete this section before > publishing to a package manager.
39
+
40
+ <!-- Start Summary [summary] -->
41
+ ## Summary
42
+
43
+ Mixpeek API: This is the Mixpeek API, providing access to various endpoints for data processing and retrieval.
44
+ <!-- End Summary [summary] -->
45
+
46
+ <!-- Start Table of Contents [toc] -->
47
+ ## Table of Contents
48
+ <!-- $toc-max-depth=2 -->
49
+ * [mixpeek](https://github.com/mixpeek/python-sdk/blob/master/#mixpeek)
50
+ * [SDK Installation](https://github.com/mixpeek/python-sdk/blob/master/#sdk-installation)
51
+ * [IDE Support](https://github.com/mixpeek/python-sdk/blob/master/#ide-support)
52
+ * [SDK Example Usage](https://github.com/mixpeek/python-sdk/blob/master/#sdk-example-usage)
53
+ * [Available Resources and Operations](https://github.com/mixpeek/python-sdk/blob/master/#available-resources-and-operations)
54
+ * [Retries](https://github.com/mixpeek/python-sdk/blob/master/#retries)
55
+ * [Error Handling](https://github.com/mixpeek/python-sdk/blob/master/#error-handling)
56
+ * [Server Selection](https://github.com/mixpeek/python-sdk/blob/master/#server-selection)
57
+ * [Custom HTTP Client](https://github.com/mixpeek/python-sdk/blob/master/#custom-http-client)
58
+ * [Debugging](https://github.com/mixpeek/python-sdk/blob/master/#debugging)
59
+ * [Development](https://github.com/mixpeek/python-sdk/blob/master/#development)
60
+ * [Maturity](https://github.com/mixpeek/python-sdk/blob/master/#maturity)
61
+ * [Contributions](https://github.com/mixpeek/python-sdk/blob/master/#contributions)
62
+
63
+ <!-- End Table of Contents [toc] -->
64
+
65
+ <!-- Start SDK Installation [installation] -->
66
+ ## SDK Installation
67
+
68
+ The SDK can be installed with either *pip* or *poetry* package managers.
69
+
70
+ ### PIP
71
+
72
+ *PIP* is the default package installer for Python, enabling easy installation and management of packages from PyPI via the command line.
73
+
74
+ ```bash
75
+ pip install mixpeek
76
+ ```
77
+
78
+ ### Poetry
79
+
80
+ *Poetry* is a modern tool that simplifies dependency management and package publishing by using a single `pyproject.toml` file to handle project metadata and dependencies.
81
+
82
+ ```bash
83
+ poetry add mixpeek
84
+ ```
85
+ <!-- End SDK Installation [installation] -->
86
+
87
+ <!-- Start IDE Support [idesupport] -->
88
+ ## IDE Support
89
+
90
+ ### PyCharm
91
+
92
+ Generally, the SDK will work well with most IDEs out of the box. However, when using PyCharm, you can enjoy much better integration with Pydantic by installing an additional plugin.
93
+
94
+ - [PyCharm Pydantic Plugin](https://docs.pydantic.dev/latest/integrations/pycharm/)
95
+ <!-- End IDE Support [idesupport] -->
96
+
97
+ <!-- Start SDK Example Usage [usage] -->
98
+ ## SDK Example Usage
99
+
100
+ ### Example
101
+
102
+ ```python
103
+ # Synchronous Example
104
+ from mixpeek import Mixpeek
105
+
106
+ with Mixpeek() as mixpeek:
107
+
108
+ res = mixpeek.organizations.get()
109
+
110
+ # Handle response
111
+ print(res)
112
+ ```
113
+
114
+ </br>
115
+
116
+ The same SDK client can also be used to make asychronous requests by importing asyncio.
117
+ ```python
118
+ # Asynchronous Example
119
+ import asyncio
120
+ from mixpeek import Mixpeek
121
+
122
+ async def main():
123
+ async with Mixpeek() as mixpeek:
124
+
125
+ res = await mixpeek.organizations.get_async()
126
+
127
+ # Handle response
128
+ print(res)
129
+
130
+ asyncio.run(main())
131
+ ```
132
+ <!-- End SDK Example Usage [usage] -->
133
+
134
+ <!-- Start Available Resources and Operations [operations] -->
135
+ ## Available Resources and Operations
136
+
137
+ <details open>
138
+ <summary>Available methods</summary>
139
+
140
+ ### [assets](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/assets/README.md)
141
+
142
+ * [get](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/assets/README.md#get) - Get Asset
143
+ * [delete](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/assets/README.md#delete) - Delete Asset
144
+ * [update](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/assets/README.md#update) - Full Asset Update
145
+ * [partial_update](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/assets/README.md#partial_update) - Partial Asset Update
146
+ * [get_features](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/assets/README.md#get_features) - Get Asset With Features
147
+ * [list](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/assets/README.md#list) - List Assets
148
+ * [search](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/assets/README.md#search) - Search Assets
149
+
150
+ ### [collections](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/collections/README.md)
151
+
152
+ * [list](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/collections/README.md#list) - List Collections
153
+ * [create](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/collections/README.md#create) - Create Collection
154
+ * [delete](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/collections/README.md#delete) - Delete Collection
155
+ * [update](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/collections/README.md#update) - Update Collection
156
+ * [get](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/collections/README.md#get) - Get Collection
157
+
158
+ ### [feature_extractors](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/featureextractors/README.md)
159
+
160
+ * [extract_embeddings](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/featureextractors/README.md#extract_embeddings) - Extract Embeddings
161
+
162
+ ### [features](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/features/README.md)
163
+
164
+ * [get](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/features/README.md#get) - Get Feature
165
+ * [delete](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/features/README.md#delete) - Delete Feature
166
+ * [update](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/features/README.md#update) - Full Feature Update
167
+ * [list](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/features/README.md#list) - List Features
168
+ * [search](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/features/README.md#search) - Search Features
169
+
170
+ ### [health](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/health/README.md)
171
+
172
+ * [check](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/health/README.md#check) - Healthcheck
173
+
174
+ ### [ingest](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/ingest/README.md)
175
+
176
+ * [text](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/ingest/README.md#text) - Ingest Text
177
+ * [video_from_url](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/ingest/README.md#video_from_url) - Ingest Video Url
178
+ * [image_url](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/ingest/README.md#image_url) - Ingest Image Url
179
+
180
+ ### [interactions](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/interactions/README.md)
181
+
182
+ * [list](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/interactions/README.md#list) - List Interactions
183
+
184
+
185
+ ### [namespaces](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/namespaces/README.md)
186
+
187
+ * [create](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/namespaces/README.md#create) - Create Namespace
188
+ * [list](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/namespaces/README.md#list) - List Namespaces
189
+ * [delete](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/namespaces/README.md#delete) - Delete Namespace
190
+ * [update](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/namespaces/README.md#update) - Update Namespace
191
+ * [get](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/namespaces/README.md#get) - Get Namespace
192
+ * [list_indexes](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/namespaces/README.md#list_indexes) - List Available Indexes
193
+
194
+ ### [organizations](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/organizations/README.md)
195
+
196
+ * [get](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/organizations/README.md#get) - Get Organization
197
+ * [get_usage](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/organizations/README.md#get_usage) - Get Usage
198
+ * [get_user](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/organizations/README.md#get_user) - Get User
199
+ * [delete_user](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/organizations/README.md#delete_user) - Delete User
200
+ * [add_user](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/organizations/README.md#add_user) - Add User
201
+ * [create_api_key](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/organizations/README.md#create_api_key) - Create Api Key
202
+ * [delete_api_key](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/organizations/README.md#delete_api_key) - Delete Api Key
203
+ * [update_api_key](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/organizations/README.md#update_api_key) - Update Api Key
204
+
205
+ ### [search_interactions](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/searchinteractions/README.md)
206
+
207
+ * [create](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/searchinteractions/README.md#create) - Create Interaction
208
+ * [get_interaction](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/searchinteractions/README.md#get_interaction) - Get Interaction
209
+ * [delete](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/searchinteractions/README.md#delete) - Delete Interaction
210
+
211
+ ### [tasks](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/tasks/README.md)
212
+
213
+ * [delete](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/tasks/README.md#delete) - Kill Task
214
+ * [get](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/tasks/README.md#get) - Get Task Information
215
+
216
+ </details>
217
+ <!-- End Available Resources and Operations [operations] -->
218
+
219
+ <!-- Start Retries [retries] -->
220
+ ## Retries
221
+
222
+ Some of the endpoints in this SDK support retries. If you use the SDK without any configuration, it will fall back to the default retry strategy provided by the API. However, the default retry strategy can be overridden on a per-operation basis, or across the entire SDK.
223
+
224
+ To change the default retry strategy for a single API call, simply provide a `RetryConfig` object to the call:
225
+ ```python
226
+ from mixpeek import Mixpeek
227
+ from mixpeek.utils import BackoffStrategy, RetryConfig
228
+
229
+ with Mixpeek() as mixpeek:
230
+
231
+ res = mixpeek.organizations.get(,
232
+ RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False))
233
+
234
+ # Handle response
235
+ print(res)
236
+
237
+ ```
238
+
239
+ If you'd like to override the default retry strategy for all operations that support retries, you can use the `retry_config` optional parameter when initializing the SDK:
240
+ ```python
241
+ from mixpeek import Mixpeek
242
+ from mixpeek.utils import BackoffStrategy, RetryConfig
243
+
244
+ with Mixpeek(
245
+ retry_config=RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False),
246
+ ) as mixpeek:
247
+
248
+ res = mixpeek.organizations.get()
249
+
250
+ # Handle response
251
+ print(res)
252
+
253
+ ```
254
+ <!-- End Retries [retries] -->
255
+
256
+ <!-- Start Error Handling [errors] -->
257
+ ## Error Handling
258
+
259
+ Handling errors in this SDK should largely match your expectations. All operations return a response object or raise an exception.
260
+
261
+ By default, an API error will raise a models.APIError exception, which has the following properties:
262
+
263
+ | Property | Type | Description |
264
+ |-----------------|------------------|-----------------------|
265
+ | `.status_code` | *int* | The HTTP status code |
266
+ | `.message` | *str* | The error message |
267
+ | `.raw_response` | *httpx.Response* | The raw HTTP response |
268
+ | `.body` | *str* | The response content |
269
+
270
+ When custom error responses are specified for an operation, the SDK may also raise their associated exceptions. You can refer to respective *Errors* tables in SDK docs for more details on possible exception types for each operation. For example, the `get_async` method may raise the following exceptions:
271
+
272
+ | Error Type | Status Code | Content Type |
273
+ | -------------------------- | ----------------------- | ---------------- |
274
+ | models.ErrorResponse | 400, 401, 403, 404, 500 | application/json |
275
+ | models.HTTPValidationError | 422 | application/json |
276
+ | models.APIError | 4XX, 5XX | \*/\* |
277
+
278
+ ### Example
279
+
280
+ ```python
281
+ from mixpeek import Mixpeek, models
282
+
283
+ with Mixpeek() as mixpeek:
284
+ res = None
285
+ try:
286
+
287
+ res = mixpeek.organizations.get()
288
+
289
+ # Handle response
290
+ print(res)
291
+
292
+ except models.ErrorResponse as e:
293
+ # handle e.data: models.ErrorResponseData
294
+ raise(e)
295
+ except models.HTTPValidationError as e:
296
+ # handle e.data: models.HTTPValidationErrorData
297
+ raise(e)
298
+ except models.APIError as e:
299
+ # handle exception
300
+ raise(e)
301
+ ```
302
+ <!-- End Error Handling [errors] -->
303
+
304
+ <!-- Start Server Selection [server] -->
305
+ ## Server Selection
306
+
307
+ ### Override Server URL Per-Client
308
+
309
+ The default server can also be overridden globally by passing a URL to the `server_url: str` optional parameter when initializing the SDK client instance. For example:
310
+ ```python
311
+ from mixpeek import Mixpeek
312
+
313
+ with Mixpeek(
314
+ server_url="https://api.mixpeek.com/",
315
+ ) as mixpeek:
316
+
317
+ res = mixpeek.organizations.get()
318
+
319
+ # Handle response
320
+ print(res)
321
+
322
+ ```
323
+ <!-- End Server Selection [server] -->
324
+
325
+ <!-- Start Custom HTTP Client [http-client] -->
326
+ ## Custom HTTP Client
327
+
328
+ The Python SDK makes API calls using the [httpx](https://www.python-httpx.org/) HTTP library. In order to provide a convenient way to configure timeouts, cookies, proxies, custom headers, and other low-level configuration, you can initialize the SDK client with your own HTTP client instance.
329
+ Depending on whether you are using the sync or async version of the SDK, you can pass an instance of `HttpClient` or `AsyncHttpClient` respectively, which are Protocol's ensuring that the client has the necessary methods to make API calls.
330
+ This allows you to wrap the client with your own custom logic, such as adding custom headers, logging, or error handling, or you can just pass an instance of `httpx.Client` or `httpx.AsyncClient` directly.
331
+
332
+ For example, you could specify a header for every request that this sdk makes as follows:
333
+ ```python
334
+ from mixpeek import Mixpeek
335
+ import httpx
336
+
337
+ http_client = httpx.Client(headers={"x-custom-header": "someValue"})
338
+ s = Mixpeek(client=http_client)
339
+ ```
340
+
341
+ or you could wrap the client with your own custom logic:
342
+ ```python
343
+ from mixpeek import Mixpeek
344
+ from mixpeek.httpclient import AsyncHttpClient
345
+ import httpx
346
+
347
+ class CustomClient(AsyncHttpClient):
348
+ client: AsyncHttpClient
349
+
350
+ def __init__(self, client: AsyncHttpClient):
351
+ self.client = client
352
+
353
+ async def send(
354
+ self,
355
+ request: httpx.Request,
356
+ *,
357
+ stream: bool = False,
358
+ auth: Union[
359
+ httpx._types.AuthTypes, httpx._client.UseClientDefault, None
360
+ ] = httpx.USE_CLIENT_DEFAULT,
361
+ follow_redirects: Union[
362
+ bool, httpx._client.UseClientDefault
363
+ ] = httpx.USE_CLIENT_DEFAULT,
364
+ ) -> httpx.Response:
365
+ request.headers["Client-Level-Header"] = "added by client"
366
+
367
+ return await self.client.send(
368
+ request, stream=stream, auth=auth, follow_redirects=follow_redirects
369
+ )
370
+
371
+ def build_request(
372
+ self,
373
+ method: str,
374
+ url: httpx._types.URLTypes,
375
+ *,
376
+ content: Optional[httpx._types.RequestContent] = None,
377
+ data: Optional[httpx._types.RequestData] = None,
378
+ files: Optional[httpx._types.RequestFiles] = None,
379
+ json: Optional[Any] = None,
380
+ params: Optional[httpx._types.QueryParamTypes] = None,
381
+ headers: Optional[httpx._types.HeaderTypes] = None,
382
+ cookies: Optional[httpx._types.CookieTypes] = None,
383
+ timeout: Union[
384
+ httpx._types.TimeoutTypes, httpx._client.UseClientDefault
385
+ ] = httpx.USE_CLIENT_DEFAULT,
386
+ extensions: Optional[httpx._types.RequestExtensions] = None,
387
+ ) -> httpx.Request:
388
+ return self.client.build_request(
389
+ method,
390
+ url,
391
+ content=content,
392
+ data=data,
393
+ files=files,
394
+ json=json,
395
+ params=params,
396
+ headers=headers,
397
+ cookies=cookies,
398
+ timeout=timeout,
399
+ extensions=extensions,
400
+ )
401
+
402
+ s = Mixpeek(async_client=CustomClient(httpx.AsyncClient()))
403
+ ```
404
+ <!-- End Custom HTTP Client [http-client] -->
405
+
406
+ <!-- Start Debugging [debug] -->
407
+ ## Debugging
408
+
409
+ You can setup your SDK to emit debug logs for SDK requests and responses.
410
+
411
+ You can pass your own logger class directly into your SDK.
412
+ ```python
413
+ from mixpeek import Mixpeek
414
+ import logging
415
+
416
+ logging.basicConfig(level=logging.DEBUG)
417
+ s = Mixpeek(debug_logger=logging.getLogger("mixpeek"))
418
+ ```
419
+
420
+ You can also enable a default debug logger by setting an environment variable `MIXPEEK_DEBUG` to true.
421
+ <!-- End Debugging [debug] -->
422
+
423
+ <!-- Placeholder for Future Speakeasy SDK Sections -->
424
+
425
+ # Development
426
+
427
+ ## Maturity
428
+
429
+ This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning usage
430
+ to a specific package version. This way, you can install the same version each time without breaking changes unless you are intentionally
431
+ looking for the latest version.
432
+
433
+ ## Contributions
434
+
435
+ While we value open-source contributions to this SDK, this library is generated programmatically. Any manual changes added to internal files will be overwritten on the next generation.
436
+ We look forward to hearing your feedback. Feel free to open a PR or an issue with a proof of concept and we'll do our best to include it in a future release.
437
+
438
+ ### SDK Created by [Speakeasy](https://www.speakeasy.com/?utm_source=mixpeek&utm_campaign=python)
439
+
@@ -0,0 +1,176 @@
1
+ py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
2
+ mixpeek/__init__.py,sha256=ybmMeI8Pa2HEQCdADbpyIdm3JWu8AU61HxmDupOlTws,220
3
+ mixpeek/_hooks/__init__.py,sha256=9_7W5jAYw8rcO8Kfc-Ty-lB82BHfksAJJpVFb_UeU1c,146
4
+ mixpeek/_hooks/registration.py,sha256=1QZB41w6If7I9dXiOSQx6dhSc6BPWrnI5Q5bMOr4iVA,624
5
+ mixpeek/_hooks/sdkhooks.py,sha256=NMqSNr_PmeJuQgXFEntPJElH9a6yfdyvwEQFH0TrunI,2557
6
+ mixpeek/_hooks/types.py,sha256=Qh9pO5ndynMrWpMLPkJUsOmAJ1AJHntJAXb5Yxe_a4o,2568
7
+ mixpeek/_version.py,sha256=7GmLZEhcBazWSLm0Jb70AwfIzGzM83yYdbjXua7Y6BY,310
8
+ mixpeek/assets.py,sha256=ESum0B7UhOxipq8iJLNISzSawGevs1MPAqQpIMFThG4,66550
9
+ mixpeek/basesdk.py,sha256=yjFc0kFcaUG17DbNzzryB9oOyjpuuMt3vzSdtc3L0qg,11896
10
+ mixpeek/collections.py,sha256=3Pd1CsPY03Zb91mwXwLmAI3i_iqT-eqICGDTdifOHjs,42727
11
+ mixpeek/featureextractors.py,sha256=DUNN8Yvqnt9s9bQk6ef4OCD3pr9tC5wH_bZ3QFP_c-w,8320
12
+ mixpeek/features.py,sha256=jlomjziTWNzxaiaBIEQx3gInmg9oJKZq1RxJssgjOyU,52378
13
+ mixpeek/health.py,sha256=Njg0ESgrQPk4n9CFQy-4ds2xqHaXYjG1K3XmRBbh6BE,6519
14
+ mixpeek/httpclient.py,sha256=WDbLpMzo7qmWki_ryOJcCAYNI1T4uyWKV08rRuCdNII,2688
15
+ mixpeek/ingest.py,sha256=VubgOL0ebjeAB-8WutiBLBKVkrFAXHbDQ9xwmaGJeks,38592
16
+ mixpeek/interactions.py,sha256=p8wBdRCU0-fkVw7gTJHmx8MmDk_Z4xxh2HIHjoWeUeE,9097
17
+ mixpeek/models/__init__.py,sha256=iyzCKB7JLP4pzCkwvGY7gr3PTFaNoXOc4NXjZOW8x3w,27628
18
+ mixpeek/models/actionusage.py,sha256=WAnnBVTeQ9j0dtIrubfyyJQwbBamxManfS8fc2OFNyo,324
19
+ mixpeek/models/apierror.py,sha256=9mTyJSyvUAOnSfW_1HWt9dGl8IDlpQ68DebwYsDNdug,528
20
+ mixpeek/models/apikey.py,sha256=P99SWsu6wgc6HStE2MteANIGShUkM2dwQnbQvdg5AOc,654
21
+ mixpeek/models/apikeyupdate.py,sha256=mSUkPR43JjWkZeSPyXHAo0KzWS79PWDGTsdpiNRoCBQ,1543
22
+ mixpeek/models/assetfeatures.py,sha256=etqfjGnlrbI6fAp6OrM86jxP92X0MAeO3lKqUz3Pk5M,1907
23
+ mixpeek/models/assetresponse.py,sha256=pn_OwYuHTdvix5pQAXz3vXif6hV3iM7b_NBxflPfR2c,5121
24
+ mixpeek/models/assets_model_searchquery.py,sha256=F8TTe7lCD2IF_5ik-GwlvAR2437SBsWCI7IDipft904,664
25
+ mixpeek/models/assetupdate.py,sha256=xVL49RVIsc7ytm0yVJ9xq1GcSykiswMiC8GeWnZMKB4,670
26
+ mixpeek/models/availableindexesresponse.py,sha256=A-h88N7B_wbZ3fgDB-m-J0zN4Jq8MPMMGtA9CN_8-zk,762
27
+ mixpeek/models/availablemodels.py,sha256=RWIXWxgDDPLlJhG5cNmTz8IVYfYIh_69Lo8Pxh6DT4g,278
28
+ mixpeek/models/boolindexparams.py,sha256=bg7Hy6y9acpu7AxMpHTsYjEphDd0HnrqFPSgIDpgdZc,454
29
+ mixpeek/models/collectionmodel.py,sha256=iCh87KQXyc2QPD12Dzr8OhhsqkflyLSAKrYSm00STEc,2163
30
+ mixpeek/models/collectionresult.py,sha256=ijKOo_rtJKQnH6_EUfTnlhqlmz-c8HP3IF8dAeAlkik,2062
31
+ mixpeek/models/create_api_key_organizations_users_user_email_api_keys_postop.py,sha256=PUV7GoERceacxhNoLVzVimM2ZyQpm1pkPUE4gSYOxI8,790
32
+ mixpeek/models/create_collection_collections_postop.py,sha256=rVbri1rgnnXHgTKc8RwWwO_4HZos8yEkK4aRPKgS0zw,2383
33
+ mixpeek/models/create_interaction_features_search_interactions_postop.py,sha256=JSSAHfS_tvTRZCNeXo2pXAKE-X-5v2-lFNDXu-EuEm8,2358
34
+ mixpeek/models/createcollectionrequest.py,sha256=SrM6TNu1qqWWPwLC91e1X1NvmVUXzE0a5e5B1LIOzRQ,1787
35
+ mixpeek/models/createnamespacerequest.py,sha256=sx_29pDal4YpERZdaoYsukI7rF_xlyj38n4rKoKhJaM,2209
36
+ mixpeek/models/datetimeindexparams.py,sha256=i8SJBTEnWQEMOaOcN7Pt_Zptr6fxYJyO0Mx95-0EC68,468
37
+ mixpeek/models/dateusage.py,sha256=SjrU7Wk9CirF48u01L8UUjMs9BbkJnhozTnmxkXYupA,541
38
+ mixpeek/models/db_model_paginationresponse.py,sha256=1uY3GVZsfRXB5ZvnnwNdWnetVbmoPAgT6mYJCZs6H0c,1530
39
+ mixpeek/models/db_model_taskresponse.py,sha256=FbkMnGIVBBtIG6ZfmqCXwL6KegXanhUs8OjGZWqO8oY,566
40
+ mixpeek/models/delete_api_key_organizations_users_user_email_api_keys_key_name_deleteop.py,sha256=D1wp-HJ58CpRbPpZiD5e70TA9yC4emauYloo6RJLLlw,710
41
+ mixpeek/models/delete_asset_assets_asset_id_deleteop.py,sha256=Bl8NR7_sBqSCLzMFoC0hLHBGtDk5ZfIfLXyKMb2HEyw,2182
42
+ mixpeek/models/delete_collection_collections_collection_deleteop.py,sha256=ELWFh1EuKhetqFnRfxHEsjvqVROcWc1N1xMbFOmm-pI,2322
43
+ mixpeek/models/delete_feature_features_feature_id_deleteop.py,sha256=9iF6_3-eOMOcBs7X_CN-9sRe0BVkxsqZdvtPPdKxvm8,2198
44
+ mixpeek/models/delete_interaction_features_search_interactions_interaction_id_deleteop.py,sha256=D2mbnvW-e5peunqB2LEltxbwJu9JpfZspI65v76Zku8,2264
45
+ mixpeek/models/delete_namespace_namespaces_namespace_deleteop.py,sha256=YPv31HssXwavKxUkYqDCNnRthTTIXdCw7fgECNJCTl4,638
46
+ mixpeek/models/delete_user_organizations_users_user_email_deleteop.py,sha256=pwxa7t4vbF5ewzw346x5d0XskjAgZPOckNBM3ttpIhc,540
47
+ mixpeek/models/denseembedding.py,sha256=ECX8Nwo6tD8Qm1WxGPGOy4H8WYLQ6q6VKqbnanT3vlA,413
48
+ mixpeek/models/embeddingrequest.py,sha256=9Bk67IV1nr-d_UkTXkkL2e2o8Kv-YOHR0O3clHPGVHk,2092
49
+ mixpeek/models/embeddingresponse.py,sha256=1H6OWwIIO0ktqhmK0mIGdo3Bqv8saM7jFaFlljEZL1g,2223
50
+ mixpeek/models/errormessage.py,sha256=BmuIq7QHoCI9VB9QC3t5c6ZxfzK0ORT2sB5F0un1O0c,285
51
+ mixpeek/models/errorresponse.py,sha256=-lq07ro9LmnxAZjBLsMmkXvBhLQeCOWnI8jSwf26dck,554
52
+ mixpeek/models/facedetectsettings.py,sha256=mU78KWd0x1Uy_8FqyWSWPPJcDbwFhxIcAc1RJeR8uL4,1710
53
+ mixpeek/models/featureextractionembeddingrequest.py,sha256=fB2P7kPMKu1YSF9S8DgVlmdpcvxfcGsv4-Q8dlo64Jk,1764
54
+ mixpeek/models/featureresponse.py,sha256=eWsnn1FSccueE9UZOSxVOH_4IimfuKbbsS1bKNPvJhs,2521
55
+ mixpeek/models/features_model_paginationresponse.py,sha256=LR3n2NawnOf5QjaWjfV_i6WDX-IxncVPA7nJxZPkySE,1558
56
+ mixpeek/models/featureupdaterequest.py,sha256=z4OJi0SyHqQED4T1uV5CbDPipZm4-W1V345M-5AZY-E,495
57
+ mixpeek/models/filtercondition.py,sha256=qBtghojFaoCcShSgCV9gPMWHeeqEA0Pox11O73QTPIw,1971
58
+ mixpeek/models/floatindexparams.py,sha256=Ac0zuicEKeBwF59M4w0W6e6MODI2dRwDT1cntZt1D8E,453
59
+ mixpeek/models/full_asset_update_assets_asset_id_putop.py,sha256=Zl0MZq3fmyMx1sriQBP6yG2eSJEKHUa_602Xwnol2aI,2507
60
+ mixpeek/models/full_feature_update_features_feature_id_putop.py,sha256=2pjmsPjKD29CAZwkOkfZ3fjP7zWgIL4hcAkAg3rDzhM,2537
61
+ mixpeek/models/geoindexparams.py,sha256=wMb-04qAYhBZW1tCMzr8ZLRf5s43aWp_b4u_17bV5AE,443
62
+ mixpeek/models/get_asset_assets_asset_id_getop.py,sha256=OdRhQqEaEqYy9z9DinL0cD3B5FQgz5OjvbDwjZCiZLs,2807
63
+ mixpeek/models/get_asset_with_features_assets_asset_id_features_getop.py,sha256=C1T7fCAGLf8JX_Wl0Qt62-B3c2sWffsQ1SN9c6GUgQk,2848
64
+ mixpeek/models/get_collection_collections_collection_getop.py,sha256=ampkmJucIAom90SyywkEKDhPWiECuHCBCRZAbf4lsbU,2310
65
+ mixpeek/models/get_feature_features_feature_id_getop.py,sha256=Z8BZG9Hd41yOuHiuRIOOuPAIgG8JiD4iXLadSp7Srgc,2624
66
+ mixpeek/models/get_interaction_features_search_interactions_interaction_id_getop.py,sha256=6SGNwT_cZoqzMW_q6zYR3ybNuEwN96W3ZM9jnOc_TWM,2252
67
+ mixpeek/models/get_namespace_namespaces_namespace_getop.py,sha256=3WYuDkKMMlzpg55feRwWO1JQtPWfjFBU8Yv75pv_cXA,626
68
+ mixpeek/models/get_task_tasks_task_id_getop.py,sha256=LgF0oJbUdxlWbCGu1SJCZleoZL7lJjM-GNCVksTcLfU,2162
69
+ mixpeek/models/get_user_organizations_users_user_email_getop.py,sha256=kxtwC5C6a6ySF91ZdLtZP8V1n4RJBgIBUZMfOMfNsuM,528
70
+ mixpeek/models/groupbyoptions.py,sha256=9ROiNFqR4Y-GGeaQEL4gQJ04CjXClFFqlv8Y9j_TARQ,2281
71
+ mixpeek/models/groupbyoptionsasset.py,sha256=pTGoSfGsonefAoKO1yHcEboHdJNGTWUHqBmCArkGA9Y,2279
72
+ mixpeek/models/groupedassetdata.py,sha256=jezVBoyKu3muLIyeks5M3MqvJWBisQkkPGA1Jycbsrc,522
73
+ mixpeek/models/healthcheckresponse.py,sha256=PK3C50wcUdZeLl6qfSYGBli2B3wPzCDTaLtSEtq4ZVY,305
74
+ mixpeek/models/httpvalidationerror.py,sha256=sjKOM2oJR4c4Z24vHmyhtEfqaQeUdKZUMEclKu23OLc,600
75
+ mixpeek/models/imagedescribesettings.py,sha256=9L6idUpZ_hZbtyL3iAeJrNhY2gvLGgrdyVhzLlOC9d4,2778
76
+ mixpeek/models/imagedetectsettings.py,sha256=isbyJubebMoiA1K8bEBu2yQvEBDZSiM_DoNrU3MLyDY,1846
77
+ mixpeek/models/imagereadsettings.py,sha256=S91FPdh5sXqGTGFrzgiuKg7I91Yy8-Akpln4PYvaCDs,2477
78
+ mixpeek/models/imagesettings.py,sha256=_nwD1gOcvCAczVbCdDPONoRHPRgAQTTQ_AHNvOTEZq0,3282
79
+ mixpeek/models/ingest_image_url_ingest_images_url_postop.py,sha256=LK-oCjXvmg434VUVGRbvcDzrigjBWaB2nQYHJIKLySw,2355
80
+ mixpeek/models/ingest_text_ingest_text_postop.py,sha256=YFJXTmYz_XTQkjrs6Jhavjgx0XK09tg0355vM3wqUT0,2307
81
+ mixpeek/models/ingest_video_url_ingest_videos_url_postop.py,sha256=ML93MDtKefeyUpV6gEo0pj173hAfSKN1bKYvHqjOA9M,2355
82
+ mixpeek/models/inputtype.py,sha256=e71-3dFq8sWgy3Ue0P-gADus3j1MLWvdHETlwBU7HjM,234
83
+ mixpeek/models/integerindexparams.py,sha256=r6nNOjihSSptcYwOdfrZTFRX_4bKWHbasGjEjdCLqM8,591
84
+ mixpeek/models/interactionresponse.py,sha256=BC9Rj2phrop5JzVfYWZ3UgVtwzCvNifd0j2SlhdWBhc,2926
85
+ mixpeek/models/interactiontype.py,sha256=7-cshgqKl-RQacmaubjuUJ6Lhqy2SL5QIKgmQUtpKWs,292
86
+ mixpeek/models/jsonimageoutputsettings.py,sha256=edd5mFi9AmKSpHTCNiP0huzu3_9_IVIN_3LqdXoQS94,1716
87
+ mixpeek/models/jsontextoutputsettings.py,sha256=EGbFfuSFSXQO6A3_Gkj58qPVsEU5NE55dxMUcvK_CHk,1622
88
+ mixpeek/models/jsonvideooutputsettings.py,sha256=7kf0tJM2Go-rWBIbp9yWJYv2RFesQvOjPsE3p-DeA9I,1716
89
+ mixpeek/models/keywordindexparams.py,sha256=V_p8KMQ_eftLvDSMTFuifeOEXZVAqKFml9Fx2woyE50,535
90
+ mixpeek/models/kill_task_tasks_task_id_deleteop.py,sha256=Tm_sGFE405_DhJmbJtzF6-MUAdiePUV63FQWzGyjtyQ,2170
91
+ mixpeek/models/list_assets_assets_postop.py,sha256=h8IbWuoA7OuYEigl8hw3KQwNh2kRaslkr-cSvxL1sJ4,2755
92
+ mixpeek/models/list_collections_collections_getop.py,sha256=nAjP6zruOpMwB7E1uKqxQM-ZlBcZoA3Ku5Qb8mxNbio,2457
93
+ mixpeek/models/list_features_features_postop.py,sha256=ZwpcwTVpHeNn-W_f0fpq3F9pzLQhseDX-vjLzmm1LNc,2985
94
+ mixpeek/models/list_interactions_features_search_interactions_getop.py,sha256=f19dh4DnrGTdTORoegZDu97wsAkA4A2xdldqUW8bHDM,3330
95
+ mixpeek/models/listassetsrequest.py,sha256=LGMRSMXIv6Q0rAlQ2jCK-KvAJBT8Tvgud_w6_g_c6Lo,3184
96
+ mixpeek/models/listassetsresponse.py,sha256=do19qdQCmrAtt5bc99J-4Hx4VzC5yb1WqgkAjvepp5E,645
97
+ mixpeek/models/listcollectionsresponse.py,sha256=QRDk1-yg21sbRFUrH9lfqvA7q8Ex517C5UbsI5w1lQY,670
98
+ mixpeek/models/listfeaturesrequest.py,sha256=NqP0jOsbIXlwgdxczy6R6yVAGOslmEwQwz2fiNwBs_w,2856
99
+ mixpeek/models/listfeaturesresponse.py,sha256=5bGne8MktUoJnqyo2uWTg1nJQmFLNRTS8TX1HYcGvhQ,689
100
+ mixpeek/models/logicaloperator_input.py,sha256=9qz8VZJEKBd1lj8BiBDJw_iqytSwtCS_8VrBQYucVhE,2864
101
+ mixpeek/models/logicaloperator_output.py,sha256=wJLJshx5N0brYqFmsHknK1pIlVkILUDZQD_J0GK_uBI,3325
102
+ mixpeek/models/logodetectsettings.py,sha256=f_xvsILMrlbhS4raufxc7iNaONqEvWWTj7_OOIr4BTM,1706
103
+ mixpeek/models/modality.py,sha256=qITDsYEVP7vf1PiekTD6F0cRGn8HZaoHhPmn-C8ksmQ,291
104
+ mixpeek/models/modeldetails.py,sha256=bKbvqkQPBiGqvCJFQFpozjept0gpNe-Pz0y8xjhzia8,1593
105
+ mixpeek/models/namespaceresponse.py,sha256=w9ndVRODVaXkRdGPpAwEzH61PDCl5taRpoy0frtTlTU,1502
106
+ mixpeek/models/organizationmodel.py,sha256=nkTGqZdVoNiwy-OIWbgRZpkxOnwjvtG29r8Y3NaIDco,1204
107
+ mixpeek/models/partial_asset_update_assets_asset_id_patchop.py,sha256=vx2sEynihGrgDI2iUmotaZ1Gik98LR7dOBrp6ZqEbek,2517
108
+ mixpeek/models/payloadindexconfig.py,sha256=ik0jF70xJaA4K1PcQbt9gzxPu1FW_K0OUkta4SUugK0,2932
109
+ mixpeek/models/payloadindextype.py,sha256=1Lw8LccITIMG8KVRmsXHtmTPA8hNKwY4fBtM00Nnkmg,393
110
+ mixpeek/models/payloadschematype.py,sha256=DOhqg4XSdyx5ZT-1udYBcZ6PyhG48hiQ-gOtkrdbE40,332
111
+ mixpeek/models/percolaterequest.py,sha256=cP9vngiUDgCEY3Q4ThG6ix1odl30qF71jtKZwPYC_ew,2096
112
+ mixpeek/models/permission.py,sha256=kigROL8wrQX7zMk4co15wIrRF8Xpzxjdh05LLLwqeko,219
113
+ mixpeek/models/processimageurlinput.py,sha256=xWyhpXDq6kWnlQrvuVfGKeXJoxKobkFBtVieGCwjsrM,4630
114
+ mixpeek/models/processtextinput.py,sha256=1llb4P8JmnO_oUDiZfXOpluLbkRpqfAJoMauGs2YJSA,3990
115
+ mixpeek/models/processvideourlinput.py,sha256=Ytq4awE5Ln6Z3kCz9krrsogbQ-vmL50lnxNxrgS5VlM,4646
116
+ mixpeek/models/querysettings.py,sha256=uz35cHBuqmXYZbXl1Jm0vLA_-v4o2cZdy_lvX2fjnCs,2146
117
+ mixpeek/models/rerankingoptions.py,sha256=ZtaBvVODYwWjEbiosB_mNhn2HuMYF9sPrt4P-xb85wU,1560
118
+ mixpeek/models/search_assets_assets_search_postop.py,sha256=r21HsjXCdn5O2T72yuF2uPWdk6vB5S1xbvhjycnJWng,2336
119
+ mixpeek/models/search_features_features_search_postop.py,sha256=rGgqNUpn4JSPgyXuaAWctI7MqZhXAm7Iqgobdp2jkKc,3481
120
+ mixpeek/models/search_model_searchquery_input.py,sha256=LtsufOh2AWOXGI9GZQfCm3VXBye27lLhY4N1sQfl8UA,2568
121
+ mixpeek/models/searchassetsrequest.py,sha256=MvBBhGjbDSc99PW72_0l8W97bdprPDXmzp_hpE4zDkk,3024
122
+ mixpeek/models/searchinteraction.py,sha256=2X7aVM6Uoknv6mU1rZlUV9oUmDD1rTkDTXCY7W8FWxc,2692
123
+ mixpeek/models/searchquery_output.py,sha256=c7Ar09TanSqoLfLl-PeLcSCXpwUW9G-dm_TS8xPrhPw,2617
124
+ mixpeek/models/searchrequestfeatures_input.py,sha256=kQE7EPFU3yYXJ6kX2VB7Rz9_Y7eFzgkfooKeFxZvxmA,5769
125
+ mixpeek/models/searchrequestfeatures_output.py,sha256=s044mekxr7OF68sco7OvRALMt-w6scwbGHIm12wtVXs,5724
126
+ mixpeek/models/sortoption.py,sha256=3_cJW0A9vt8INQowzJ_kZtmYT1mlBNy-__f-tvLiC3Q,639
127
+ mixpeek/models/sparseembedding.py,sha256=-nXJSRELVSQqTyXAPYA4swPKBscLdljq9vH4N91Yz7A,530
128
+ mixpeek/models/tasks_model_taskresponse.py,sha256=oyO5jpGPk9UEDS-gyZ6VGqjZrLUcYto_ODMzwvT_Z8o,516
129
+ mixpeek/models/taskstatus.py,sha256=S7JzEJvOliepXpV49bFKV37Txrh0Vqcr-cmJopm-NYA,399
130
+ mixpeek/models/textindexparams.py,sha256=_E7_Rfb9g-3w8im3DPcOJF7zWIR9g_Q57_ZtTW3Rs98,798
131
+ mixpeek/models/textsettings.py,sha256=96rTGeEetcfMSvAHBLd_fqeSbpUrZPfrmrJON0QKXA8,2415
132
+ mixpeek/models/tokenizertype.py,sha256=anZ-d0-akzNjteTTGJmUUlhzZOglV_h3mz8rYVfUQzk,268
133
+ mixpeek/models/update_api_key_organizations_users_user_email_api_keys_key_name_patchop.py,sha256=bX9KA7374ooaqxh26e2RyhT5xwagYg7Abuz9qcToDvs,968
134
+ mixpeek/models/update_collection_collections_collection_putop.py,sha256=vVZfd_nPXOzhEjEjN0i-Ca4N68oOegTsdztPmx5YZFI,2687
135
+ mixpeek/models/update_namespace_namespaces_namespace_putop.py,sha256=5Y15jnqBM0TRpSKWREZZSY8_QUNsxdYmyVxNyQqE0X4,975
136
+ mixpeek/models/updateassetrequest.py,sha256=dJ5BWLOuZws5uBvUPRllcnVbaz47r4q2pvSGN8Ng9O0,2397
137
+ mixpeek/models/updatenamespacerequest.py,sha256=JdWrwx2dzoY9OxeEiWt1LRWlokO9yVZ2QKWs-C0vKFU,871
138
+ mixpeek/models/usage.py,sha256=Y7knayZRJH0ii1wTK83cy8adDyYtBQlOVhu4muc1Ri8,432
139
+ mixpeek/models/usermodel_input.py,sha256=MfBJ_huhtCyiRQDLOySSjUEssmgMk0wE0dVxJyvIzyM,881
140
+ mixpeek/models/usermodel_output.py,sha256=uEngREhhuEiAGq4Aid0sQUAoI_0I2Bw5AKq3Fz2IYF4,887
141
+ mixpeek/models/uuidindexparams.py,sha256=2vR4nn9tJ5UeCKlpvUraBiLKIWSzgiErcrweV2Dsnpo,520
142
+ mixpeek/models/validationerror.py,sha256=g2zeZtOeoeEIsftPV67bjp5kqiIqBmM1hu7s3psh-Mc,524
143
+ mixpeek/models/vectormodel.py,sha256=Aegef7zMech1d7z5TFpMvANH1ZeDmSKBXC-nVmcxpVk,254
144
+ mixpeek/models/vectortype.py,sha256=ZIeRoKRmNCojOWTNgco4a2ZYAmcsizA9OyRARzGhYjE,203
145
+ mixpeek/models/videodescribesettings.py,sha256=bkr8jey5oK5KgpFvd6cMRvoCiMrJKffQ-RaRBqCHWpM,2778
146
+ mixpeek/models/videodetectsettings.py,sha256=3l8pOw2USpDQIyPX27yStSPkrgLADPY9wHdsgtCYBMw,1846
147
+ mixpeek/models/videoreadsettings.py,sha256=3ZmqiQk_SRrylAMHX30PtJuUqgu_u5AwbZEOwfyZ4mM,2409
148
+ mixpeek/models/videosettings.py,sha256=bQe2vWYyaT0DSyELL49XqrcJIPyD0g8JgBaG7McOwSA,4094
149
+ mixpeek/models/videotranscriptionsettings.py,sha256=eIrlsSw5AUA9uE98bXvfIoitK5nu6ppq7412YQWQqtk,2453
150
+ mixpeek/namespaces.py,sha256=mEPPJ_TX8jVs3ZcqqcP5tKS44WX7IsVDU_9mQ_uJilo,46258
151
+ mixpeek/organizations.py,sha256=cekjjBZmmzt7sIOKBkZB_m2csxulRnFktaRNQZIJo60,59873
152
+ mixpeek/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
153
+ mixpeek/sdk.py,sha256=hPCpxWo0Ss9ITkgBSQrKFD-Qy4J79udWlg_FYFRBMZ0,5126
154
+ mixpeek/sdkconfiguration.py,sha256=OH1NwjTz9LVl33oqzAwzoCP-5IAWvNeJt3VanTajjFg,1402
155
+ mixpeek/searchinteractions.py,sha256=RFI5z33-j5DhnDYCbglwWf6iCNdJFZeVHCU4ovGphBU,27150
156
+ mixpeek/tasks.py,sha256=-NQFb54_imSLqj-GKVkOTPQOPokt_HbnPVgUrkVQO6g,15848
157
+ mixpeek/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
158
+ mixpeek/types/basemodel.py,sha256=PexI39iKiOkIlobB8Ueo0yn8PLHp6_wb-WO-zelNDZY,1170
159
+ mixpeek/utils/__init__.py,sha256=1x4KfQf2ULtO_aOk_M2RMCimoz8jgcW0RZd-f34KDAs,2365
160
+ mixpeek/utils/annotations.py,sha256=aR7mZG34FzgRdew7WZPYEu9QGBerpuKxCF4sek5Z_5Y,1699
161
+ mixpeek/utils/enums.py,sha256=VzjeslROrAr2luZOTJlvu-4UlxgTaGOKlRYtJJ7IfyY,1006
162
+ mixpeek/utils/eventstreaming.py,sha256=LtcrfJYw4nP2Oe4Wl0-cEURLzRGYReRGWNFY5wYECIE,6186
163
+ mixpeek/utils/forms.py,sha256=YSSijXrsM2nfrRHlPQejh1uRRKfoILomHL3d9xpJiy8,6058
164
+ mixpeek/utils/headers.py,sha256=cPxWSmUILrefTGDzTH1Hdj7_Hlsj-EY6K5Tyc4iH4dk,3663
165
+ mixpeek/utils/logger.py,sha256=xTNpnfLxFJ0_ntAEHhfzTwYZMnuv6aIiw-7uzA-SBqI,673
166
+ mixpeek/utils/metadata.py,sha256=Per2KFXXOqOtoUWXrlIfjrSrBg199KrRW0nKQDgHIBU,3136
167
+ mixpeek/utils/queryparams.py,sha256=MTK6inMS1_WwjmMJEJmAn67tSHHJyarpdGRlorRHEtI,5899
168
+ mixpeek/utils/requestbodies.py,sha256=ySjEyjcLi731LNUahWvLOrES2HihuA8VrOJx4eQ7Qzg,2101
169
+ mixpeek/utils/retries.py,sha256=6yhfZifqIat9i76xF0lTR2jLj1IN9BNGyqqxATlEFPU,6348
170
+ mixpeek/utils/security.py,sha256=ktep3HKwbFs-MLxUYTM8Jd4v-ZBum5_Z0u1PFIdYBX0,5516
171
+ mixpeek/utils/serializers.py,sha256=BSJT7kBOkNBFyP7KREyMoe14JGbgijD1M6AXFMbdmco,4924
172
+ mixpeek/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
173
+ mixpeek/utils/values.py,sha256=_89YXPTI_BU6SXJBzFR4pIzTCBPQW9tsOTN1jeBBIDs,3428
174
+ mixpeek-0.13.dist-info/METADATA,sha256=mL4Pe5BEYUhC4avofiaal3DP2ZkbrQnnfGt_-ZLwOPI,19232
175
+ mixpeek-0.13.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
176
+ mixpeek-0.13.dist-info/RECORD,,
@@ -1,5 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.1.0)
2
+ Generator: poetry-core 1.9.1
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
-
py.typed ADDED
@@ -0,0 +1 @@
1
+ # Marker file for PEP 561. The package enables type hints.
mixpeek/client.py DELETED
@@ -1,27 +0,0 @@
1
- import requests
2
-
3
- from .endpoints.embed import Embed
4
- from .endpoints.collections import Collections
5
- from .endpoints.index import Index
6
- from .endpoints.search import Search
7
- from .endpoints.tools import Tools
8
- from .endpoints.register import Register
9
-
10
-
11
- class Mixpeek:
12
- def __init__(self, api_key: str):
13
- self.api_key = api_key
14
- self.base_url = "https://api.mixpeek.com/"
15
- self.headers = {
16
- "Authorization": f"Bearer {self.api_key}",
17
- "Content-Type": "application/json"
18
- }
19
- # these are remote
20
- self.embed = Embed(self.base_url, self.headers)
21
- self.collections = Collections(self.base_url, self.headers)
22
- self.index = Index(self.base_url, self.headers)
23
- self.search = Search(self.base_url, self.headers)
24
- self.register = Register(self.base_url, self.headers)
25
-
26
- # tools is all local
27
- self.tools = Tools()
File without changes