mixpeek 0.17.2__py3-none-any.whl → 0.17.4__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.
- mixpeek/_version.py +3 -3
- mixpeek/assets.py +140 -28
- mixpeek/collections.py +100 -20
- mixpeek/feature_extractors.py +20 -4
- mixpeek/feature_search.py +20 -4
- mixpeek/features.py +80 -16
- mixpeek/health.py +12 -2
- mixpeek/ingest_assets.py +60 -12
- mixpeek/models/__init__.py +1 -3
- mixpeek/models/availablemodels.py +0 -1
- mixpeek/models/createnamespacerequest.py +2 -2
- mixpeek/models/imagedetectsettings.py +2 -8
- mixpeek/models/internal/__init__.py +2 -4
- mixpeek/models/vectormodel.py +0 -1
- mixpeek/models/videodetectsettings.py +2 -8
- mixpeek/namespaces.py +122 -26
- mixpeek/organizations.py +160 -32
- mixpeek/tasks.py +40 -8
- mixpeek/taxonomy_entities.py +200 -40
- {mixpeek-0.17.2.dist-info → mixpeek-0.17.4.dist-info}/METADATA +10 -6
- {mixpeek-0.17.2.dist-info → mixpeek-0.17.4.dist-info}/RECORD +22 -23
- mixpeek/models/facedetectsettings.py +0 -52
- {mixpeek-0.17.2.dist-info → mixpeek-0.17.4.dist-info}/WHEEL +0 -0
@@ -3,17 +3,17 @@ mixpeek/_hooks/__init__.py,sha256=p5J13DeYuISQyQWirjJAObHIf2VtIlOtFqnIpvjjVwk,11
|
|
3
3
|
mixpeek/_hooks/registration.py,sha256=1QZB41w6If7I9dXiOSQx6dhSc6BPWrnI5Q5bMOr4iVA,624
|
4
4
|
mixpeek/_hooks/sdkhooks.py,sha256=T0xbVPw8mvvFszHZlrZdtFrJBovAqE-JQfw4dS9Xi7Y,2495
|
5
5
|
mixpeek/_hooks/types.py,sha256=Qh9pO5ndynMrWpMLPkJUsOmAJ1AJHntJAXb5Yxe_a4o,2568
|
6
|
-
mixpeek/_version.py,sha256=
|
7
|
-
mixpeek/assets.py,sha256=
|
6
|
+
mixpeek/_version.py,sha256=8nfDejKU9JUTkDsOcTJXJw2iSQELDxDgDC0r0tW-klE,458
|
7
|
+
mixpeek/assets.py,sha256=okHHFp_tkGHH_2jFQVOolykQjcAT79X5whNDq8EzyrU,75844
|
8
8
|
mixpeek/basesdk.py,sha256=j_PZqE6WgIfx1cPCK5gAVn-rgPy9iLhUN5ELtefoEU0,11976
|
9
|
-
mixpeek/collections.py,sha256=
|
10
|
-
mixpeek/feature_extractors.py,sha256=
|
11
|
-
mixpeek/feature_search.py,sha256=
|
12
|
-
mixpeek/features.py,sha256=
|
13
|
-
mixpeek/health.py,sha256=
|
9
|
+
mixpeek/collections.py,sha256=FowQr_11c94vabISINK6SHDJvXdR5m7OQ3Oxr51eLrM,49397
|
10
|
+
mixpeek/feature_extractors.py,sha256=llQ7I1pEvRsi4gk6W42zAwk5XmLQwd811R5hMjmQVf8,9666
|
11
|
+
mixpeek/feature_search.py,sha256=h3H13Qhq_I597gD69IHUuIdAKThUlFLeZOrrWOdpHY0,17677
|
12
|
+
mixpeek/features.py,sha256=dRQMzv1TEEz4ytz1VfjLBAPP7MoLPNVPySj0AQUSeOk,41774
|
13
|
+
mixpeek/health.py,sha256=4i7KHGS2bYHCAE0nyHDw5g24MXcTZYVaTviQNKPW5o0,6742
|
14
14
|
mixpeek/httpclient.py,sha256=WDbLpMzo7qmWki_ryOJcCAYNI1T4uyWKV08rRuCdNII,2688
|
15
|
-
mixpeek/ingest_assets.py,sha256=
|
16
|
-
mixpeek/models/__init__.py,sha256=
|
15
|
+
mixpeek/ingest_assets.py,sha256=huVBLPX2e25QSV3ZVTHvJXT3EvdGCi9RuAWuxRR4AEw,40586
|
16
|
+
mixpeek/models/__init__.py,sha256=lIcW_0WjkANI-oHes13BEGfofe_BbeL5y-_HMzoPR6M,30766
|
17
17
|
mixpeek/models/actionusage.py,sha256=WAnnBVTeQ9j0dtIrubfyyJQwbBamxManfS8fc2OFNyo,324
|
18
18
|
mixpeek/models/apierror.py,sha256=9mTyJSyvUAOnSfW_1HWt9dGl8IDlpQ68DebwYsDNdug,528
|
19
19
|
mixpeek/models/apikey.py,sha256=P99SWsu6wgc6HStE2MteANIGShUkM2dwQnbQvdg5AOc,654
|
@@ -23,7 +23,7 @@ mixpeek/models/assetresponse.py,sha256=XR0gM7agzRnGIOqqPqrotZRg1hdN1o-rfW6x9-esE
|
|
23
23
|
mixpeek/models/assets_model_searchquery.py,sha256=F8TTe7lCD2IF_5ik-GwlvAR2437SBsWCI7IDipft904,664
|
24
24
|
mixpeek/models/assetupdate.py,sha256=xVL49RVIsc7ytm0yVJ9xq1GcSykiswMiC8GeWnZMKB4,670
|
25
25
|
mixpeek/models/assignmentconfig.py,sha256=MrgnPQNNlV8RSDr3OovDQyFjORdMocmfZRZN3NhgHLo,939
|
26
|
-
mixpeek/models/availablemodels.py,sha256=
|
26
|
+
mixpeek/models/availablemodels.py,sha256=raBZi6xCmWbYNgvX-N5LzWLwEfbEskcJ_nJfTst9u5U,460
|
27
27
|
mixpeek/models/availablemodelsresponse.py,sha256=DDo0FaQx38Dls2A-4K4pTdpFydzXS533WkJQz9zBADE,1072
|
28
28
|
mixpeek/models/boolindexparams.py,sha256=bg7Hy6y9acpu7AxMpHTsYjEphDd0HnrqFPSgIDpgdZc,454
|
29
29
|
mixpeek/models/classificationmatch.py,sha256=uMvpleNraudDlSq4aug8Yh7TXjQQXYZ_rul1L6Sr_yk,2127
|
@@ -35,7 +35,7 @@ mixpeek/models/create_api_key_v1_organizations_users_user_email_api_keys_postop.
|
|
35
35
|
mixpeek/models/create_collection_v1_collections_postop.py,sha256=GtPTeR2PC2LfGFN_hMwn1G7bSB_I_rFX9pTZF2tOcH0,2387
|
36
36
|
mixpeek/models/create_taxonomy_v1_entities_taxonomies_postop.py,sha256=_qjE2LEInNh2j5Gb4AFvdiCmpT9J_rezMy1EXzmBMJQ,2319
|
37
37
|
mixpeek/models/createcollectionrequest.py,sha256=SrM6TNu1qqWWPwLC91e1X1NvmVUXzE0a5e5B1LIOzRQ,1787
|
38
|
-
mixpeek/models/createnamespacerequest.py,sha256=
|
38
|
+
mixpeek/models/createnamespacerequest.py,sha256=4xHtJibncj5N_8RG2LGBHTyWcDHOzLXW6ISHo9JZlG0,2387
|
39
39
|
mixpeek/models/datetimeindexparams.py,sha256=i8SJBTEnWQEMOaOcN7Pt_Zptr6fxYJyO0Mx95-0EC68,468
|
40
40
|
mixpeek/models/dateusage.py,sha256=SjrU7Wk9CirF48u01L8UUjMs9BbkJnhozTnmxkXYupA,541
|
41
41
|
mixpeek/models/db_model_paginationresponse.py,sha256=1uY3GVZsfRXB5ZvnnwNdWnetVbmoPAgT6mYJCZs6H0c,1530
|
@@ -55,7 +55,6 @@ mixpeek/models/embeddingresponse.py,sha256=1H6OWwIIO0ktqhmK0mIGdo3Bqv8saM7jFaFll
|
|
55
55
|
mixpeek/models/entitysettings.py,sha256=L3v0AttBjp5Y75wOt1tYNgT9ij4wfJpA9XV6tFCq9yg,1684
|
56
56
|
mixpeek/models/errordetail.py,sha256=j7QNqtNrAHjznF8F-eBuxwEedFhYIqP5YKOyX8dSlcg,1510
|
57
57
|
mixpeek/models/errorresponse.py,sha256=YIbCFc44szh_OIUoQ3BByHWouYwa2Tqedm9NJcrNvyQ,582
|
58
|
-
mixpeek/models/facedetectsettings.py,sha256=mU78KWd0x1Uy_8FqyWSWPPJcDbwFhxIcAc1RJeR8uL4,1710
|
59
58
|
mixpeek/models/featureextractionembeddingrequest.py,sha256=7aHPcCdd3PoYX2Ozznnf8jsvqqI5beycYgZ56djPLnE,1770
|
60
59
|
mixpeek/models/featureoptions.py,sha256=pwxSNknZglFVPTLdWdMz7SoyBKahRVbdsG9xgtPTsK8,875
|
61
60
|
mixpeek/models/featureresponse.py,sha256=eWsnn1FSccueE9UZOSxVOH_4IimfuKbbsS1bKNPvJhs,2521
|
@@ -82,7 +81,7 @@ mixpeek/models/groupedassetdata.py,sha256=jezVBoyKu3muLIyeks5M3MqvJWBisQkkPGA1Jy
|
|
82
81
|
mixpeek/models/healthcheckresponse.py,sha256=PK3C50wcUdZeLl6qfSYGBli2B3wPzCDTaLtSEtq4ZVY,305
|
83
82
|
mixpeek/models/httpvalidationerror.py,sha256=sjKOM2oJR4c4Z24vHmyhtEfqaQeUdKZUMEclKu23OLc,600
|
84
83
|
mixpeek/models/imagedescribesettings.py,sha256=ulaQrF4AgdbmkJL-TB098W8TzhS_iG7QymGA58oisyw,2796
|
85
|
-
mixpeek/models/imagedetectsettings.py,sha256=
|
84
|
+
mixpeek/models/imagedetectsettings.py,sha256=zY8bpydUQ8AYjSPd4qTFy_peP0DzjBrvOahvgZrOzY0,1551
|
86
85
|
mixpeek/models/imagereadsettings.py,sha256=kGsvK00Wn6RIW7Qg2MJZ0IKYmeOVZJvyV695hBcVU6E,2495
|
87
86
|
mixpeek/models/imagesettings.py,sha256=2LSeuO-uIW82woZjXAdXRBz9KpgKVmOc6XV6YU8owZU,3706
|
88
87
|
mixpeek/models/ingest_image_url_v1_ingest_images_url_postop.py,sha256=_7pSPSI9rr6_w_aX5R3YIUWCyca3BMfTmh9nxdG5EFA,2359
|
@@ -90,7 +89,7 @@ mixpeek/models/ingest_text_v1_ingest_text_postop.py,sha256=ZYJPM3woJ_9Nsa65QDLJ0
|
|
90
89
|
mixpeek/models/ingest_video_url_v1_ingest_videos_url_postop.py,sha256=KPKrgMs9J4xVFpD45eAUhNrH3MWR7W6-gyzsiWaTzRo,2359
|
91
90
|
mixpeek/models/inputtype.py,sha256=e71-3dFq8sWgy3Ue0P-gADus3j1MLWvdHETlwBU7HjM,234
|
92
91
|
mixpeek/models/integerindexparams.py,sha256=r6nNOjihSSptcYwOdfrZTFRX_4bKWHbasGjEjdCLqM8,591
|
93
|
-
mixpeek/models/internal/__init__.py,sha256=
|
92
|
+
mixpeek/models/internal/__init__.py,sha256=6khoka0i1AXj5YsxEjzmIs1UYeD8DggU2Z69bLfmxvE,164
|
94
93
|
mixpeek/models/internal/globals.py,sha256=7PIqZPXMkyWKGGhRqEtmZiESK7Cbo-9dQjCjTi8yL1s,979
|
95
94
|
mixpeek/models/jsonimageoutputsettings.py,sha256=edd5mFi9AmKSpHTCNiP0huzu3_9_IVIN_3LqdXoQS94,1716
|
96
95
|
mixpeek/models/jsontextoutputsettings.py,sha256=EGbFfuSFSXQO6A3_Gkj58qPVsEU5NE55dxMUcvK_CHk,1622
|
@@ -159,20 +158,20 @@ mixpeek/models/usermodel_input.py,sha256=MfBJ_huhtCyiRQDLOySSjUEssmgMk0wE0dVxJyv
|
|
159
158
|
mixpeek/models/usermodel_output.py,sha256=uEngREhhuEiAGq4Aid0sQUAoI_0I2Bw5AKq3Fz2IYF4,887
|
160
159
|
mixpeek/models/uuidindexparams.py,sha256=2vR4nn9tJ5UeCKlpvUraBiLKIWSzgiErcrweV2Dsnpo,520
|
161
160
|
mixpeek/models/validationerror.py,sha256=g2zeZtOeoeEIsftPV67bjp5kqiIqBmM1hu7s3psh-Mc,524
|
162
|
-
mixpeek/models/vectormodel.py,sha256=
|
161
|
+
mixpeek/models/vectormodel.py,sha256=x-nWHCbDrU20Rhd1OfddZ_3ddbI6FgyPAp3nI1thdxQ,436
|
163
162
|
mixpeek/models/vectortype.py,sha256=ZIeRoKRmNCojOWTNgco4a2ZYAmcsizA9OyRARzGhYjE,203
|
164
163
|
mixpeek/models/videodescribesettings.py,sha256=_99zl9xc_c3KWU5sm61FeSq2qRpQff2a7zrpr5z5plo,2796
|
165
|
-
mixpeek/models/videodetectsettings.py,sha256=
|
164
|
+
mixpeek/models/videodetectsettings.py,sha256=tb_r0ahLA1IejuX5Er0I-N5AFbobL5OW7yHfXX792iU,1551
|
166
165
|
mixpeek/models/videoreadsettings.py,sha256=qFtWMM2XXZwlPgB4L-a3fQ3koxDLNtWOcGSkp7FPNdw,2427
|
167
166
|
mixpeek/models/videosettings.py,sha256=sNww8ZgmL4O4pp3wTgp76ZNzA6mC9NtOD2p-sC72pbM,4530
|
168
167
|
mixpeek/models/videotranscriptionsettings.py,sha256=70EN-PX2QiQAQjDLYaV2coUCnVjRJI2Y1pXNQYUBH2g,2471
|
169
|
-
mixpeek/namespaces.py,sha256=
|
170
|
-
mixpeek/organizations.py,sha256=
|
168
|
+
mixpeek/namespaces.py,sha256=5k9uvx4ku0XihLMNUC4HHlZMxX5D7zj31dZhuy951yU,54268
|
169
|
+
mixpeek/organizations.py,sha256=Vy4IzXiUjsVDtxidIDbRi-ml2h7jsRkvFLHvzcYsa08,70777
|
171
170
|
mixpeek/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
172
171
|
mixpeek/sdk.py,sha256=K7nIws2PhKEHC79up5B5E2T7l8XYUCzV51efONbdQTA,5995
|
173
172
|
mixpeek/sdkconfiguration.py,sha256=WDFDVblhsi547ZxDPEPR243zKLM1shTDSt9w3nporHc,1703
|
174
|
-
mixpeek/tasks.py,sha256=
|
175
|
-
mixpeek/taxonomy_entities.py,sha256
|
173
|
+
mixpeek/tasks.py,sha256=s2B-3CU1bAi1b392ghYs-4UJf5iOlQZ7DmXIQ456KhY,18512
|
174
|
+
mixpeek/taxonomy_entities.py,sha256=Zh2ek3LrYtS9hdywlOI-nePnwCbSmRPQog4nAkrZxKI,104988
|
176
175
|
mixpeek/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
|
177
176
|
mixpeek/types/basemodel.py,sha256=PexI39iKiOkIlobB8Ueo0yn8PLHp6_wb-WO-zelNDZY,1170
|
178
177
|
mixpeek/utils/__init__.py,sha256=8npwwHS-7zjVrbkzBGO-Uk4GkjC240PCleMbgPK1Axs,2418
|
@@ -190,6 +189,6 @@ mixpeek/utils/security.py,sha256=XoK-R2YMyZtVWQte7FoezfGJS-dea9jz4qQ7w5dwNWc,600
|
|
190
189
|
mixpeek/utils/serializers.py,sha256=BSJT7kBOkNBFyP7KREyMoe14JGbgijD1M6AXFMbdmco,4924
|
191
190
|
mixpeek/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
|
192
191
|
mixpeek/utils/values.py,sha256=_89YXPTI_BU6SXJBzFR4pIzTCBPQW9tsOTN1jeBBIDs,3428
|
193
|
-
mixpeek-0.17.
|
194
|
-
mixpeek-0.17.
|
195
|
-
mixpeek-0.17.
|
192
|
+
mixpeek-0.17.4.dist-info/METADATA,sha256=FnswpWs6jlw8AiGWznhkavlZJkHo5Lv4SuYLtpNwC3c,24130
|
193
|
+
mixpeek-0.17.4.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
194
|
+
mixpeek-0.17.4.dist-info/RECORD,,
|
@@ -1,52 +0,0 @@
|
|
1
|
-
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
2
|
-
|
3
|
-
from __future__ import annotations
|
4
|
-
from mixpeek.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL
|
5
|
-
from pydantic import model_serializer
|
6
|
-
from typing import Optional
|
7
|
-
from typing_extensions import NotRequired, TypedDict
|
8
|
-
|
9
|
-
|
10
|
-
class FaceDetectSettingsTypedDict(TypedDict):
|
11
|
-
enabled: NotRequired[bool]
|
12
|
-
r"""Enable face detection"""
|
13
|
-
confidence_threshold: NotRequired[Nullable[float]]
|
14
|
-
r"""Minimum confidence threshold for detected objects"""
|
15
|
-
|
16
|
-
|
17
|
-
class FaceDetectSettings(BaseModel):
|
18
|
-
enabled: Optional[bool] = True
|
19
|
-
r"""Enable face detection"""
|
20
|
-
|
21
|
-
confidence_threshold: OptionalNullable[float] = UNSET
|
22
|
-
r"""Minimum confidence threshold for detected objects"""
|
23
|
-
|
24
|
-
@model_serializer(mode="wrap")
|
25
|
-
def serialize_model(self, handler):
|
26
|
-
optional_fields = ["enabled", "confidence_threshold"]
|
27
|
-
nullable_fields = ["confidence_threshold"]
|
28
|
-
null_default_fields = []
|
29
|
-
|
30
|
-
serialized = handler(self)
|
31
|
-
|
32
|
-
m = {}
|
33
|
-
|
34
|
-
for n, f in self.model_fields.items():
|
35
|
-
k = f.alias or n
|
36
|
-
val = serialized.get(k)
|
37
|
-
serialized.pop(k, None)
|
38
|
-
|
39
|
-
optional_nullable = k in optional_fields and k in nullable_fields
|
40
|
-
is_set = (
|
41
|
-
self.__pydantic_fields_set__.intersection({n})
|
42
|
-
or k in null_default_fields
|
43
|
-
) # pylint: disable=no-member
|
44
|
-
|
45
|
-
if val is not None and val != UNSET_SENTINEL:
|
46
|
-
m[k] = val
|
47
|
-
elif val != UNSET_SENTINEL and (
|
48
|
-
not k in optional_fields or (optional_nullable and is_set)
|
49
|
-
):
|
50
|
-
m[k] = val
|
51
|
-
|
52
|
-
return m
|
File without changes
|