mixpeek 0.8.3__py3-none-any.whl → 0.8.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.
Files changed (86) hide show
  1. mixpeek/__init__.py +1 -0
  2. mixpeek/client.py +27 -0
  3. mixpeek/endpoints/collections.py +86 -0
  4. mixpeek/endpoints/embed.py +66 -0
  5. mixpeek/endpoints/index.py +51 -0
  6. mixpeek/endpoints/register.py +34 -0
  7. mixpeek/endpoints/search.py +67 -0
  8. mixpeek/endpoints/tasks.py +26 -0
  9. mixpeek/endpoints/tools.py +138 -0
  10. mixpeek/exceptions.py +13 -0
  11. mixpeek-0.8.4.dist-info/METADATA +375 -0
  12. mixpeek-0.8.4.dist-info/RECORD +15 -0
  13. {mixpeek-0.8.3.dist-info → mixpeek-0.8.4.dist-info}/WHEEL +2 -1
  14. mixpeek-0.8.4.dist-info/top_level.txt +1 -0
  15. mixpeek-0.8.3.dist-info/METADATA +0 -356
  16. mixpeek-0.8.3.dist-info/RECORD +0 -73
  17. mixpeek-0.8.3.dist-info/licenses/LICENSE +0 -201
  18. mixpeek_sdk/__init__.py +0 -93
  19. mixpeek_sdk/_base_client.py +0 -2041
  20. mixpeek_sdk/_client.py +0 -444
  21. mixpeek_sdk/_compat.py +0 -219
  22. mixpeek_sdk/_constants.py +0 -14
  23. mixpeek_sdk/_exceptions.py +0 -108
  24. mixpeek_sdk/_files.py +0 -123
  25. mixpeek_sdk/_models.py +0 -785
  26. mixpeek_sdk/_qs.py +0 -150
  27. mixpeek_sdk/_resource.py +0 -43
  28. mixpeek_sdk/_response.py +0 -826
  29. mixpeek_sdk/_streaming.py +0 -333
  30. mixpeek_sdk/_types.py +0 -217
  31. mixpeek_sdk/_utils/__init__.py +0 -55
  32. mixpeek_sdk/_utils/_logs.py +0 -25
  33. mixpeek_sdk/_utils/_proxy.py +0 -62
  34. mixpeek_sdk/_utils/_reflection.py +0 -42
  35. mixpeek_sdk/_utils/_streams.py +0 -12
  36. mixpeek_sdk/_utils/_sync.py +0 -81
  37. mixpeek_sdk/_utils/_transform.py +0 -382
  38. mixpeek_sdk/_utils/_typing.py +0 -120
  39. mixpeek_sdk/_utils/_utils.py +0 -397
  40. mixpeek_sdk/_version.py +0 -4
  41. mixpeek_sdk/lib/.keep +0 -4
  42. mixpeek_sdk/resources/__init__.py +0 -159
  43. mixpeek_sdk/resources/accounts/__init__.py +0 -33
  44. mixpeek_sdk/resources/accounts/accounts.py +0 -102
  45. mixpeek_sdk/resources/accounts/private.py +0 -232
  46. mixpeek_sdk/resources/agent/__init__.py +0 -33
  47. mixpeek_sdk/resources/agent/agent.py +0 -225
  48. mixpeek_sdk/resources/agent/task.py +0 -189
  49. mixpeek_sdk/resources/collections/__init__.py +0 -33
  50. mixpeek_sdk/resources/collections/collections.py +0 -459
  51. mixpeek_sdk/resources/collections/files.py +0 -679
  52. mixpeek_sdk/resources/describe.py +0 -338
  53. mixpeek_sdk/resources/embed.py +0 -234
  54. mixpeek_sdk/resources/index.py +0 -506
  55. mixpeek_sdk/resources/read.py +0 -183
  56. mixpeek_sdk/resources/recognize.py +0 -183
  57. mixpeek_sdk/resources/search.py +0 -542
  58. mixpeek_sdk/resources/tasks.py +0 -294
  59. mixpeek_sdk/resources/transcribe.py +0 -192
  60. mixpeek_sdk/types/__init__.py +0 -19
  61. mixpeek_sdk/types/accounts/__init__.py +0 -6
  62. mixpeek_sdk/types/accounts/private_update_params.py +0 -25
  63. mixpeek_sdk/types/accounts/user.py +0 -32
  64. mixpeek_sdk/types/agent/__init__.py +0 -3
  65. mixpeek_sdk/types/agent_create_params.py +0 -18
  66. mixpeek_sdk/types/agentresponse.py +0 -11
  67. mixpeek_sdk/types/collection_search_params.py +0 -29
  68. mixpeek_sdk/types/collections/__init__.py +0 -9
  69. mixpeek_sdk/types/collections/file_create_params.py +0 -31
  70. mixpeek_sdk/types/collections/file_full_params.py +0 -22
  71. mixpeek_sdk/types/collections/file_update_params.py +0 -18
  72. mixpeek_sdk/types/collections/fileresponse.py +0 -23
  73. mixpeek_sdk/types/collections/groupedfiledata.py +0 -38
  74. mixpeek_sdk/types/describe_upload_params.py +0 -21
  75. mixpeek_sdk/types/describe_url_params.py +0 -20
  76. mixpeek_sdk/types/embed_create_params.py +0 -29
  77. mixpeek_sdk/types/embeddingresponse.py +0 -15
  78. mixpeek_sdk/types/index_face_params.py +0 -23
  79. mixpeek_sdk/types/index_upload_params.py +0 -27
  80. mixpeek_sdk/types/index_url_params.py +0 -159
  81. mixpeek_sdk/types/search_text_params.py +0 -45
  82. mixpeek_sdk/types/search_upload_params.py +0 -25
  83. mixpeek_sdk/types/search_url_params.py +0 -45
  84. mixpeek_sdk/types/taskresponse.py +0 -15
  85. mixpeek_sdk/types/transcribe_url_params.py +0 -18
  86. /mixpeek_sdk/py.typed → /mixpeek/endpoints/__init__.py +0 -0
mixpeek_sdk/__init__.py DELETED
@@ -1,93 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from . import types
4
- from ._types import NOT_GIVEN, NoneType, NotGiven, Transport, ProxiesTypes
5
- from ._utils import file_from_path
6
- from ._client import (
7
- Client,
8
- Stream,
9
- Timeout,
10
- Transport,
11
- MixpeekSDK,
12
- AsyncClient,
13
- AsyncStream,
14
- RequestOptions,
15
- AsyncMixpeekSDK,
16
- )
17
- from ._models import BaseModel
18
- from ._version import __title__, __version__
19
- from ._response import APIResponse as APIResponse, AsyncAPIResponse as AsyncAPIResponse
20
- from ._constants import DEFAULT_TIMEOUT, DEFAULT_MAX_RETRIES, DEFAULT_CONNECTION_LIMITS
21
- from ._exceptions import (
22
- APIError,
23
- ConflictError,
24
- NotFoundError,
25
- APIStatusError,
26
- RateLimitError,
27
- APITimeoutError,
28
- BadRequestError,
29
- MixpeekSDKError,
30
- APIConnectionError,
31
- AuthenticationError,
32
- InternalServerError,
33
- PermissionDeniedError,
34
- UnprocessableEntityError,
35
- APIResponseValidationError,
36
- )
37
- from ._base_client import DefaultHttpxClient, DefaultAsyncHttpxClient
38
- from ._utils._logs import setup_logging as _setup_logging
39
-
40
- __all__ = [
41
- "types",
42
- "__version__",
43
- "__title__",
44
- "NoneType",
45
- "Transport",
46
- "ProxiesTypes",
47
- "NotGiven",
48
- "NOT_GIVEN",
49
- "MixpeekSDKError",
50
- "APIError",
51
- "APIStatusError",
52
- "APITimeoutError",
53
- "APIConnectionError",
54
- "APIResponseValidationError",
55
- "BadRequestError",
56
- "AuthenticationError",
57
- "PermissionDeniedError",
58
- "NotFoundError",
59
- "ConflictError",
60
- "UnprocessableEntityError",
61
- "RateLimitError",
62
- "InternalServerError",
63
- "Timeout",
64
- "RequestOptions",
65
- "Client",
66
- "AsyncClient",
67
- "Stream",
68
- "AsyncStream",
69
- "MixpeekSDK",
70
- "AsyncMixpeekSDK",
71
- "file_from_path",
72
- "BaseModel",
73
- "DEFAULT_TIMEOUT",
74
- "DEFAULT_MAX_RETRIES",
75
- "DEFAULT_CONNECTION_LIMITS",
76
- "DefaultHttpxClient",
77
- "DefaultAsyncHttpxClient",
78
- ]
79
-
80
- _setup_logging()
81
-
82
- # Update the __module__ attribute for exported symbols so that
83
- # error messages point to this module instead of the module
84
- # it was originally defined in, e.g.
85
- # mixpeek_sdk._exceptions.NotFoundError -> mixpeek_sdk.NotFoundError
86
- __locals = locals()
87
- for __name in __all__:
88
- if not __name.startswith("__"):
89
- try:
90
- __locals[__name].__module__ = "mixpeek_sdk"
91
- except (TypeError, AttributeError):
92
- # Some of our exported symbols are builtins which we can't set attributes for.
93
- pass