studyfetch-sdk 0.1.0a1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (165) hide show
  1. studyfetch_sdk/__init__.py +100 -0
  2. studyfetch_sdk/_base_client.py +1992 -0
  3. studyfetch_sdk/_client.py +403 -0
  4. studyfetch_sdk/_compat.py +219 -0
  5. studyfetch_sdk/_constants.py +14 -0
  6. studyfetch_sdk/_exceptions.py +108 -0
  7. studyfetch_sdk/_files.py +123 -0
  8. studyfetch_sdk/_models.py +808 -0
  9. studyfetch_sdk/_qs.py +150 -0
  10. studyfetch_sdk/_resource.py +43 -0
  11. studyfetch_sdk/_response.py +832 -0
  12. studyfetch_sdk/_streaming.py +333 -0
  13. studyfetch_sdk/_types.py +219 -0
  14. studyfetch_sdk/_utils/__init__.py +57 -0
  15. studyfetch_sdk/_utils/_logs.py +25 -0
  16. studyfetch_sdk/_utils/_proxy.py +65 -0
  17. studyfetch_sdk/_utils/_reflection.py +42 -0
  18. studyfetch_sdk/_utils/_resources_proxy.py +24 -0
  19. studyfetch_sdk/_utils/_streams.py +12 -0
  20. studyfetch_sdk/_utils/_sync.py +86 -0
  21. studyfetch_sdk/_utils/_transform.py +447 -0
  22. studyfetch_sdk/_utils/_typing.py +151 -0
  23. studyfetch_sdk/_utils/_utils.py +422 -0
  24. studyfetch_sdk/_version.py +4 -0
  25. studyfetch_sdk/lib/.keep +4 -0
  26. studyfetch_sdk/py.typed +0 -0
  27. studyfetch_sdk/resources/__init__.py +19 -0
  28. studyfetch_sdk/resources/v1/__init__.py +215 -0
  29. studyfetch_sdk/resources/v1/audio_recaps/__init__.py +33 -0
  30. studyfetch_sdk/resources/v1/audio_recaps/audio_recaps.py +328 -0
  31. studyfetch_sdk/resources/v1/audio_recaps/sections.py +250 -0
  32. studyfetch_sdk/resources/v1/auth/__init__.py +61 -0
  33. studyfetch_sdk/resources/v1/auth/auth.py +620 -0
  34. studyfetch_sdk/resources/v1/auth/login.py +374 -0
  35. studyfetch_sdk/resources/v1/auth/number_2fa.py +457 -0
  36. studyfetch_sdk/resources/v1/auth/organization_invites.py +160 -0
  37. studyfetch_sdk/resources/v1/chat/__init__.py +47 -0
  38. studyfetch_sdk/resources/v1/chat/chat.py +576 -0
  39. studyfetch_sdk/resources/v1/chat/sessions.py +222 -0
  40. studyfetch_sdk/resources/v1/chat/test.py +190 -0
  41. studyfetch_sdk/resources/v1/components.py +943 -0
  42. studyfetch_sdk/resources/v1/embed/__init__.py +33 -0
  43. studyfetch_sdk/resources/v1/embed/component.py +278 -0
  44. studyfetch_sdk/resources/v1/embed/embed.py +346 -0
  45. studyfetch_sdk/resources/v1/explainers.py +216 -0
  46. studyfetch_sdk/resources/v1/flashcards.py +783 -0
  47. studyfetch_sdk/resources/v1/folders.py +744 -0
  48. studyfetch_sdk/resources/v1/materials/__init__.py +61 -0
  49. studyfetch_sdk/resources/v1/materials/bulk.py +134 -0
  50. studyfetch_sdk/resources/v1/materials/materials.py +1029 -0
  51. studyfetch_sdk/resources/v1/materials/test.py +290 -0
  52. studyfetch_sdk/resources/v1/materials/upload.py +410 -0
  53. studyfetch_sdk/resources/v1/organizations/__init__.py +103 -0
  54. studyfetch_sdk/resources/v1/organizations/api_keys.py +260 -0
  55. studyfetch_sdk/resources/v1/organizations/logo/__init__.py +33 -0
  56. studyfetch_sdk/resources/v1/organizations/logo/logo.py +166 -0
  57. studyfetch_sdk/resources/v1/organizations/logo/upload.py +184 -0
  58. studyfetch_sdk/resources/v1/organizations/organizations.py +428 -0
  59. studyfetch_sdk/resources/v1/organizations/profile/__init__.py +47 -0
  60. studyfetch_sdk/resources/v1/organizations/profile/models.py +134 -0
  61. studyfetch_sdk/resources/v1/organizations/profile/profile.py +248 -0
  62. studyfetch_sdk/resources/v1/organizations/profile/team.py +462 -0
  63. studyfetch_sdk/resources/v1/organizations/team/__init__.py +33 -0
  64. studyfetch_sdk/resources/v1/organizations/team/invite.py +236 -0
  65. studyfetch_sdk/resources/v1/organizations/team/team.py +564 -0
  66. studyfetch_sdk/resources/v1/organizations/theme.py +184 -0
  67. studyfetch_sdk/resources/v1/organizations/usage.py +160 -0
  68. studyfetch_sdk/resources/v1/scenarios/__init__.py +61 -0
  69. studyfetch_sdk/resources/v1/scenarios/component.py +330 -0
  70. studyfetch_sdk/resources/v1/scenarios/scenarios.py +708 -0
  71. studyfetch_sdk/resources/v1/scenarios/sessions.py +236 -0
  72. studyfetch_sdk/resources/v1/scenarios/submissions/__init__.py +33 -0
  73. studyfetch_sdk/resources/v1/scenarios/submissions/submissions.py +102 -0
  74. studyfetch_sdk/resources/v1/scenarios/submissions/user.py +210 -0
  75. studyfetch_sdk/resources/v1/tests/__init__.py +33 -0
  76. studyfetch_sdk/resources/v1/tests/component.py +160 -0
  77. studyfetch_sdk/resources/v1/tests/tests.py +682 -0
  78. studyfetch_sdk/resources/v1/upload/__init__.py +33 -0
  79. studyfetch_sdk/resources/v1/upload/component.py +388 -0
  80. studyfetch_sdk/resources/v1/upload/upload.py +102 -0
  81. studyfetch_sdk/resources/v1/usage.py +1126 -0
  82. studyfetch_sdk/resources/v1/v1.py +518 -0
  83. studyfetch_sdk/types/__init__.py +3 -0
  84. studyfetch_sdk/types/v1/__init__.py +52 -0
  85. studyfetch_sdk/types/v1/admin/__init__.py +3 -0
  86. studyfetch_sdk/types/v1/admin/organizations/__init__.py +3 -0
  87. studyfetch_sdk/types/v1/admin/organizations/models/__init__.py +3 -0
  88. studyfetch_sdk/types/v1/audio_recaps/__init__.py +3 -0
  89. studyfetch_sdk/types/v1/auth/__init__.py +13 -0
  90. studyfetch_sdk/types/v1/auth/login_authenticate_params.py +15 -0
  91. studyfetch_sdk/types/v1/auth/login_verify_2fa_params.py +15 -0
  92. studyfetch_sdk/types/v1/auth/login_verify_backup_code_params.py +17 -0
  93. studyfetch_sdk/types/v1/auth/number_2fa_disable_params.py +12 -0
  94. studyfetch_sdk/types/v1/auth/number_2fa_enable_params.py +12 -0
  95. studyfetch_sdk/types/v1/auth/number_2fa_regenerate_backup_codes_params.py +12 -0
  96. studyfetch_sdk/types/v1/auth/number_2fa_send_code_params.py +12 -0
  97. studyfetch_sdk/types/v1/auth_register_new_user_params.py +23 -0
  98. studyfetch_sdk/types/v1/auth_request_password_reset_params.py +12 -0
  99. studyfetch_sdk/types/v1/auth_reset_password_params.py +17 -0
  100. studyfetch_sdk/types/v1/chat/__init__.py +5 -0
  101. studyfetch_sdk/types/v1/chat/session_retrieve_params.py +11 -0
  102. studyfetch_sdk/types/v1/chat_retrieve_session_params.py +13 -0
  103. studyfetch_sdk/types/v1/chat_send_message_params.py +54 -0
  104. studyfetch_sdk/types/v1/chat_stream_params.py +28 -0
  105. studyfetch_sdk/types/v1/component_create_params.py +29 -0
  106. studyfetch_sdk/types/v1/component_create_response.py +46 -0
  107. studyfetch_sdk/types/v1/component_embed_params.py +99 -0
  108. studyfetch_sdk/types/v1/component_embed_response.py +38 -0
  109. studyfetch_sdk/types/v1/component_list_params.py +14 -0
  110. studyfetch_sdk/types/v1/component_list_response.py +49 -0
  111. studyfetch_sdk/types/v1/component_retrieve_response.py +46 -0
  112. studyfetch_sdk/types/v1/component_update_params.py +12 -0
  113. studyfetch_sdk/types/v1/component_update_response.py +46 -0
  114. studyfetch_sdk/types/v1/embed/__init__.py +6 -0
  115. studyfetch_sdk/types/v1/embed/component_interact_params.py +14 -0
  116. studyfetch_sdk/types/v1/embed/component_retrieve_params.py +12 -0
  117. studyfetch_sdk/types/v1/embed_get_theme_params.py +12 -0
  118. studyfetch_sdk/types/v1/embed_verify_params.py +12 -0
  119. studyfetch_sdk/types/v1/explainer_handle_webhook_params.py +11 -0
  120. studyfetch_sdk/types/v1/flashcard_batch_process_params.py +36 -0
  121. studyfetch_sdk/types/v1/flashcard_batch_process_response.py +39 -0
  122. studyfetch_sdk/types/v1/flashcard_get_algorithm_info_response.py +37 -0
  123. studyfetch_sdk/types/v1/flashcard_get_all_params.py +23 -0
  124. studyfetch_sdk/types/v1/flashcard_get_due_params.py +19 -0
  125. studyfetch_sdk/types/v1/flashcard_get_stats_params.py +17 -0
  126. studyfetch_sdk/types/v1/flashcard_get_types_response.py +14 -0
  127. studyfetch_sdk/types/v1/flashcard_rate_params.py +23 -0
  128. studyfetch_sdk/types/v1/folder_create_params.py +17 -0
  129. studyfetch_sdk/types/v1/folder_list_params.py +14 -0
  130. studyfetch_sdk/types/v1/folder_update_params.py +17 -0
  131. studyfetch_sdk/types/v1/material_create_params.py +34 -0
  132. studyfetch_sdk/types/v1/material_create_response.py +62 -0
  133. studyfetch_sdk/types/v1/material_get_download_url_params.py +13 -0
  134. studyfetch_sdk/types/v1/material_list_params.py +14 -0
  135. studyfetch_sdk/types/v1/material_list_response.py +65 -0
  136. studyfetch_sdk/types/v1/material_retrieve_response.py +62 -0
  137. studyfetch_sdk/types/v1/materials/__init__.py +8 -0
  138. studyfetch_sdk/types/v1/materials/upload_upload_file_params.py +20 -0
  139. studyfetch_sdk/types/v1/materials/upload_upload_file_response.py +62 -0
  140. studyfetch_sdk/types/v1/materials/upload_upload_from_url_params.py +20 -0
  141. studyfetch_sdk/types/v1/materials/upload_upload_from_url_response.py +62 -0
  142. studyfetch_sdk/types/v1/organizations/__init__.py +3 -0
  143. studyfetch_sdk/types/v1/organizations/logo/__init__.py +3 -0
  144. studyfetch_sdk/types/v1/organizations/profile/__init__.py +3 -0
  145. studyfetch_sdk/types/v1/organizations/team/__init__.py +3 -0
  146. studyfetch_sdk/types/v1/scenario_create_params.py +11 -0
  147. studyfetch_sdk/types/v1/scenario_update_params.py +11 -0
  148. studyfetch_sdk/types/v1/scenarios/__init__.py +5 -0
  149. studyfetch_sdk/types/v1/scenarios/component_update_params.py +11 -0
  150. studyfetch_sdk/types/v1/scenarios/submissions/__init__.py +3 -0
  151. studyfetch_sdk/types/v1/test_create_params.py +20 -0
  152. studyfetch_sdk/types/v1/test_retake_params.py +14 -0
  153. studyfetch_sdk/types/v1/test_submit_answer_params.py +20 -0
  154. studyfetch_sdk/types/v1/test_submit_params.py +14 -0
  155. studyfetch_sdk/types/v1/tests/__init__.py +3 -0
  156. studyfetch_sdk/types/v1/upload/__init__.py +3 -0
  157. studyfetch_sdk/types/v1/usage_get_stats_params.py +23 -0
  158. studyfetch_sdk/types/v1/usage_get_summary_params.py +23 -0
  159. studyfetch_sdk/types/v1/usage_list_events_params.py +61 -0
  160. studyfetch_sdk/types/v1/usage_track_chat_params.py +54 -0
  161. studyfetch_sdk/types/v1/usage_track_event_params.py +128 -0
  162. studyfetch_sdk-0.1.0a1.dist-info/METADATA +453 -0
  163. studyfetch_sdk-0.1.0a1.dist-info/RECORD +165 -0
  164. studyfetch_sdk-0.1.0a1.dist-info/WHEEL +4 -0
  165. studyfetch_sdk-0.1.0a1.dist-info/licenses/LICENSE +201 -0
@@ -0,0 +1,453 @@
1
+ Metadata-Version: 2.3
2
+ Name: studyfetch_sdk
3
+ Version: 0.1.0a1
4
+ Summary: The official Python library for the studyfetch-sdk API
5
+ Project-URL: Homepage, https://github.com/GoStudyFetchGo/studyfetch-sdk-python
6
+ Project-URL: Repository, https://github.com/GoStudyFetchGo/studyfetch-sdk-python
7
+ Author: Studyfetch SDK
8
+ License: Apache-2.0
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: License :: OSI Approved :: Apache Software License
11
+ Classifier: Operating System :: MacOS
12
+ Classifier: Operating System :: Microsoft :: Windows
13
+ Classifier: Operating System :: OS Independent
14
+ Classifier: Operating System :: POSIX
15
+ Classifier: Operating System :: POSIX :: Linux
16
+ Classifier: Programming Language :: Python :: 3.8
17
+ Classifier: Programming Language :: Python :: 3.9
18
+ Classifier: Programming Language :: Python :: 3.10
19
+ Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Programming Language :: Python :: 3.13
22
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
23
+ Classifier: Typing :: Typed
24
+ Requires-Python: >=3.8
25
+ Requires-Dist: anyio<5,>=3.5.0
26
+ Requires-Dist: distro<2,>=1.7.0
27
+ Requires-Dist: httpx<1,>=0.23.0
28
+ Requires-Dist: pydantic<3,>=1.9.0
29
+ Requires-Dist: sniffio
30
+ Requires-Dist: typing-extensions<5,>=4.10
31
+ Provides-Extra: aiohttp
32
+ Requires-Dist: aiohttp; extra == 'aiohttp'
33
+ Requires-Dist: httpx-aiohttp>=0.1.8; extra == 'aiohttp'
34
+ Description-Content-Type: text/markdown
35
+
36
+ # Studyfetch SDK Python API library
37
+
38
+ <!-- prettier-ignore -->
39
+ [![PyPI version](https://img.shields.io/pypi/v/studyfetch_sdk.svg?label=pypi%20(stable))](https://pypi.org/project/studyfetch_sdk/)
40
+
41
+ The Studyfetch SDK Python library provides convenient access to the Studyfetch SDK REST API from any Python 3.8+
42
+ application. The library includes type definitions for all request params and response fields,
43
+ and offers both synchronous and asynchronous clients powered by [httpx](https://github.com/encode/httpx).
44
+
45
+ It is generated with [Stainless](https://www.stainless.com/).
46
+
47
+ ## Documentation
48
+
49
+ The REST API documentation can be found on [studyfetch.com](https://studyfetch.com/docs). The full API of this library can be found in [api.md](https://github.com/GoStudyFetchGo/studyfetch-sdk-python/tree/main/api.md).
50
+
51
+ ## Installation
52
+
53
+ ```sh
54
+ # install from PyPI
55
+ pip install --pre studyfetch_sdk
56
+ ```
57
+
58
+ ## Usage
59
+
60
+ The full API of this library can be found in [api.md](https://github.com/GoStudyFetchGo/studyfetch-sdk-python/tree/main/api.md).
61
+
62
+ ```python
63
+ import os
64
+ from studyfetch_sdk import StudyfetchSDK
65
+
66
+ client = StudyfetchSDK(
67
+ api_key=os.environ.get("STUDYFETCH_SDK_API_KEY"), # This is the default and can be omitted
68
+ )
69
+
70
+ client.v1.auth.login.authenticate(
71
+ email="user@example.com",
72
+ password="password123",
73
+ )
74
+ ```
75
+
76
+ While you can provide an `api_key` keyword argument,
77
+ we recommend using [python-dotenv](https://pypi.org/project/python-dotenv/)
78
+ to add `STUDYFETCH_SDK_API_KEY="My API Key"` to your `.env` file
79
+ so that your API Key is not stored in source control.
80
+
81
+ ## Async usage
82
+
83
+ Simply import `AsyncStudyfetchSDK` instead of `StudyfetchSDK` and use `await` with each API call:
84
+
85
+ ```python
86
+ import os
87
+ import asyncio
88
+ from studyfetch_sdk import AsyncStudyfetchSDK
89
+
90
+ client = AsyncStudyfetchSDK(
91
+ api_key=os.environ.get("STUDYFETCH_SDK_API_KEY"), # This is the default and can be omitted
92
+ )
93
+
94
+
95
+ async def main() -> None:
96
+ await client.v1.auth.login.authenticate(
97
+ email="user@example.com",
98
+ password="password123",
99
+ )
100
+
101
+
102
+ asyncio.run(main())
103
+ ```
104
+
105
+ Functionality between the synchronous and asynchronous clients is otherwise identical.
106
+
107
+ ### With aiohttp
108
+
109
+ By default, the async client uses `httpx` for HTTP requests. However, for improved concurrency performance you may also use `aiohttp` as the HTTP backend.
110
+
111
+ You can enable this by installing `aiohttp`:
112
+
113
+ ```sh
114
+ # install from PyPI
115
+ pip install --pre studyfetch_sdk[aiohttp]
116
+ ```
117
+
118
+ Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
119
+
120
+ ```python
121
+ import asyncio
122
+ from studyfetch_sdk import DefaultAioHttpClient
123
+ from studyfetch_sdk import AsyncStudyfetchSDK
124
+
125
+
126
+ async def main() -> None:
127
+ async with AsyncStudyfetchSDK(
128
+ api_key="My API Key",
129
+ http_client=DefaultAioHttpClient(),
130
+ ) as client:
131
+ await client.v1.auth.login.authenticate(
132
+ email="user@example.com",
133
+ password="password123",
134
+ )
135
+
136
+
137
+ asyncio.run(main())
138
+ ```
139
+
140
+ ## Using types
141
+
142
+ 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:
143
+
144
+ - Serializing back into JSON, `model.to_json()`
145
+ - Converting to a dictionary, `model.to_dict()`
146
+
147
+ 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`.
148
+
149
+ ## Nested params
150
+
151
+ Nested parameters are dictionaries, typed using `TypedDict`, for example:
152
+
153
+ ```python
154
+ from studyfetch_sdk import StudyfetchSDK
155
+
156
+ client = StudyfetchSDK()
157
+
158
+ material = client.v1.materials.create(
159
+ content={"type": "text"},
160
+ name="Chapter 1 - Introduction",
161
+ )
162
+ print(material.content)
163
+ ```
164
+
165
+ ## File uploads
166
+
167
+ Request parameters that correspond to file uploads can be passed as `bytes`, or a [`PathLike`](https://docs.python.org/3/library/os.html#os.PathLike) instance or a tuple of `(filename, contents, media type)`.
168
+
169
+ ```python
170
+ from pathlib import Path
171
+ from studyfetch_sdk import StudyfetchSDK
172
+
173
+ client = StudyfetchSDK()
174
+
175
+ client.v1.materials.upload.upload_file(
176
+ file=Path("/path/to/file"),
177
+ name="name",
178
+ )
179
+ ```
180
+
181
+ The async client uses the exact same interface. If you pass a [`PathLike`](https://docs.python.org/3/library/os.html#os.PathLike) instance, the file contents will be read asynchronously automatically.
182
+
183
+ ## Handling errors
184
+
185
+ When the library is unable to connect to the API (for example, due to network connection problems or a timeout), a subclass of `studyfetch_sdk.APIConnectionError` is raised.
186
+
187
+ When the API returns a non-success status code (that is, 4xx or 5xx
188
+ response), a subclass of `studyfetch_sdk.APIStatusError` is raised, containing `status_code` and `response` properties.
189
+
190
+ All errors inherit from `studyfetch_sdk.APIError`.
191
+
192
+ ```python
193
+ import studyfetch_sdk
194
+ from studyfetch_sdk import StudyfetchSDK
195
+
196
+ client = StudyfetchSDK()
197
+
198
+ try:
199
+ client.v1.auth.login.authenticate(
200
+ email="user@example.com",
201
+ password="password123",
202
+ )
203
+ except studyfetch_sdk.APIConnectionError as e:
204
+ print("The server could not be reached")
205
+ print(e.__cause__) # an underlying Exception, likely raised within httpx.
206
+ except studyfetch_sdk.RateLimitError as e:
207
+ print("A 429 status code was received; we should back off a bit.")
208
+ except studyfetch_sdk.APIStatusError as e:
209
+ print("Another non-200-range status code was received")
210
+ print(e.status_code)
211
+ print(e.response)
212
+ ```
213
+
214
+ Error codes are as follows:
215
+
216
+ | Status Code | Error Type |
217
+ | ----------- | -------------------------- |
218
+ | 400 | `BadRequestError` |
219
+ | 401 | `AuthenticationError` |
220
+ | 403 | `PermissionDeniedError` |
221
+ | 404 | `NotFoundError` |
222
+ | 422 | `UnprocessableEntityError` |
223
+ | 429 | `RateLimitError` |
224
+ | >=500 | `InternalServerError` |
225
+ | N/A | `APIConnectionError` |
226
+
227
+ ### Retries
228
+
229
+ Certain errors are automatically retried 2 times by default, with a short exponential backoff.
230
+ Connection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict,
231
+ 429 Rate Limit, and >=500 Internal errors are all retried by default.
232
+
233
+ You can use the `max_retries` option to configure or disable retry settings:
234
+
235
+ ```python
236
+ from studyfetch_sdk import StudyfetchSDK
237
+
238
+ # Configure the default for all requests:
239
+ client = StudyfetchSDK(
240
+ # default is 2
241
+ max_retries=0,
242
+ )
243
+
244
+ # Or, configure per-request:
245
+ client.with_options(max_retries=5).v1.auth.login.authenticate(
246
+ email="user@example.com",
247
+ password="password123",
248
+ )
249
+ ```
250
+
251
+ ### Timeouts
252
+
253
+ By default requests time out after 1 minute. You can configure this with a `timeout` option,
254
+ which accepts a float or an [`httpx.Timeout`](https://www.python-httpx.org/advanced/timeouts/#fine-tuning-the-configuration) object:
255
+
256
+ ```python
257
+ from studyfetch_sdk import StudyfetchSDK
258
+
259
+ # Configure the default for all requests:
260
+ client = StudyfetchSDK(
261
+ # 20 seconds (default is 1 minute)
262
+ timeout=20.0,
263
+ )
264
+
265
+ # More granular control:
266
+ client = StudyfetchSDK(
267
+ timeout=httpx.Timeout(60.0, read=5.0, write=10.0, connect=2.0),
268
+ )
269
+
270
+ # Override per-request:
271
+ client.with_options(timeout=5.0).v1.auth.login.authenticate(
272
+ email="user@example.com",
273
+ password="password123",
274
+ )
275
+ ```
276
+
277
+ On timeout, an `APITimeoutError` is thrown.
278
+
279
+ Note that requests that time out are [retried twice by default](https://github.com/GoStudyFetchGo/studyfetch-sdk-python/tree/main/#retries).
280
+
281
+ ## Advanced
282
+
283
+ ### Logging
284
+
285
+ We use the standard library [`logging`](https://docs.python.org/3/library/logging.html) module.
286
+
287
+ You can enable logging by setting the environment variable `STUDYFETCH_SDK_LOG` to `info`.
288
+
289
+ ```shell
290
+ $ export STUDYFETCH_SDK_LOG=info
291
+ ```
292
+
293
+ Or to `debug` for more verbose logging.
294
+
295
+ ### How to tell whether `None` means `null` or missing
296
+
297
+ 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`:
298
+
299
+ ```py
300
+ if response.my_field is None:
301
+ if 'my_field' not in response.model_fields_set:
302
+ print('Got json like {}, without a "my_field" key present at all.')
303
+ else:
304
+ print('Got json like {"my_field": null}.')
305
+ ```
306
+
307
+ ### Accessing raw response data (e.g. headers)
308
+
309
+ The "raw" Response object can be accessed by prefixing `.with_raw_response.` to any HTTP method call, e.g.,
310
+
311
+ ```py
312
+ from studyfetch_sdk import StudyfetchSDK
313
+
314
+ client = StudyfetchSDK()
315
+ response = client.v1.auth.login.with_raw_response.authenticate(
316
+ email="user@example.com",
317
+ password="password123",
318
+ )
319
+ print(response.headers.get('X-My-Header'))
320
+
321
+ login = response.parse() # get the object that `v1.auth.login.authenticate()` would have returned
322
+ print(login)
323
+ ```
324
+
325
+ These methods return an [`APIResponse`](https://github.com/GoStudyFetchGo/studyfetch-sdk-python/tree/main/src/studyfetch_sdk/_response.py) object.
326
+
327
+ The async client returns an [`AsyncAPIResponse`](https://github.com/GoStudyFetchGo/studyfetch-sdk-python/tree/main/src/studyfetch_sdk/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.
328
+
329
+ #### `.with_streaming_response`
330
+
331
+ The above interface eagerly reads the full response body when you make the request, which may not always be what you want.
332
+
333
+ 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.
334
+
335
+ ```python
336
+ with client.v1.auth.login.with_streaming_response.authenticate(
337
+ email="user@example.com",
338
+ password="password123",
339
+ ) as response:
340
+ print(response.headers.get("X-My-Header"))
341
+
342
+ for line in response.iter_lines():
343
+ print(line)
344
+ ```
345
+
346
+ The context manager is required so that the response will reliably be closed.
347
+
348
+ ### Making custom/undocumented requests
349
+
350
+ This library is typed for convenient access to the documented API.
351
+
352
+ If you need to access undocumented endpoints, params, or response properties, the library can still be used.
353
+
354
+ #### Undocumented endpoints
355
+
356
+ To make requests to undocumented endpoints, you can make requests using `client.get`, `client.post`, and other
357
+ http verbs. Options on the client will be respected (such as retries) when making this request.
358
+
359
+ ```py
360
+ import httpx
361
+
362
+ response = client.post(
363
+ "/foo",
364
+ cast_to=httpx.Response,
365
+ body={"my_param": True},
366
+ )
367
+
368
+ print(response.headers.get("x-foo"))
369
+ ```
370
+
371
+ #### Undocumented request params
372
+
373
+ If you want to explicitly send an extra param, you can do so with the `extra_query`, `extra_body`, and `extra_headers` request
374
+ options.
375
+
376
+ #### Undocumented response properties
377
+
378
+ To access undocumented response properties, you can access the extra fields like `response.unknown_prop`. You
379
+ can also get all the extra fields on the Pydantic model as a dict with
380
+ [`response.model_extra`](https://docs.pydantic.dev/latest/api/base_model/#pydantic.BaseModel.model_extra).
381
+
382
+ ### Configuring the HTTP client
383
+
384
+ You can directly override the [httpx client](https://www.python-httpx.org/api/#client) to customize it for your use case, including:
385
+
386
+ - Support for [proxies](https://www.python-httpx.org/advanced/proxies/)
387
+ - Custom [transports](https://www.python-httpx.org/advanced/transports/)
388
+ - Additional [advanced](https://www.python-httpx.org/advanced/clients/) functionality
389
+
390
+ ```python
391
+ import httpx
392
+ from studyfetch_sdk import StudyfetchSDK, DefaultHttpxClient
393
+
394
+ client = StudyfetchSDK(
395
+ # Or use the `STUDYFETCH_SDK_BASE_URL` env var
396
+ base_url="http://my.test.server.example.com:8083",
397
+ http_client=DefaultHttpxClient(
398
+ proxy="http://my.test.proxy.example.com",
399
+ transport=httpx.HTTPTransport(local_address="0.0.0.0"),
400
+ ),
401
+ )
402
+ ```
403
+
404
+ You can also customize the client on a per-request basis by using `with_options()`:
405
+
406
+ ```python
407
+ client.with_options(http_client=DefaultHttpxClient(...))
408
+ ```
409
+
410
+ ### Managing HTTP resources
411
+
412
+ 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.
413
+
414
+ ```py
415
+ from studyfetch_sdk import StudyfetchSDK
416
+
417
+ with StudyfetchSDK() as client:
418
+ # make requests here
419
+ ...
420
+
421
+ # HTTP client is now closed
422
+ ```
423
+
424
+ ## Versioning
425
+
426
+ 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:
427
+
428
+ 1. Changes that only affect static types, without breaking runtime behavior.
429
+ 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.)_
430
+ 3. Changes that we do not expect to impact the vast majority of users in practice.
431
+
432
+ We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.
433
+
434
+ We are keen for your feedback; please open an [issue](https://www.github.com/GoStudyFetchGo/studyfetch-sdk-python/issues) with questions, bugs, or suggestions.
435
+
436
+ ### Determining the installed version
437
+
438
+ 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.
439
+
440
+ You can determine the version that is being used at runtime with:
441
+
442
+ ```py
443
+ import studyfetch_sdk
444
+ print(studyfetch_sdk.__version__)
445
+ ```
446
+
447
+ ## Requirements
448
+
449
+ Python 3.8 or higher.
450
+
451
+ ## Contributing
452
+
453
+ See [the contributing documentation](https://github.com/GoStudyFetchGo/studyfetch-sdk-python/tree/main/./CONTRIBUTING.md).
@@ -0,0 +1,165 @@
1
+ studyfetch_sdk/__init__.py,sha256=RDyNe4WTXHp7ELTihsfx-JAW6kY4v_inAdPWMACRXUU,2685
2
+ studyfetch_sdk/_base_client.py,sha256=_ErYxBDM7URgEvuFcse8LJMKz0x_XK1Ni55WzZgrz_I,66930
3
+ studyfetch_sdk/_client.py,sha256=WNCH0GxPelZPmS2JOkieotnrVkXHAYZirHd293PYpOc,15044
4
+ studyfetch_sdk/_compat.py,sha256=VWemUKbj6DDkQ-O4baSpHVLJafotzeXmCQGJugfVTIw,6580
5
+ studyfetch_sdk/_constants.py,sha256=S14PFzyN9-I31wiV7SmIlL5Ga0MLHxdvegInGdXH7tM,462
6
+ studyfetch_sdk/_exceptions.py,sha256=19gq_huoBWNcc8dc3YLQHCjkkmixKafZmW2GqVGlmCs,3234
7
+ studyfetch_sdk/_files.py,sha256=qHhXttBIBYPPBVXbKjskY9o4WiktVmJs_6Kbv26sSew,3632
8
+ studyfetch_sdk/_models.py,sha256=viD5E6aDMhxslcFHDYvkHaKzE8YLcNmsPsMe8STixvs,29294
9
+ studyfetch_sdk/_qs.py,sha256=AOkSz4rHtK4YI3ZU_kzea-zpwBUgEY8WniGmTPyEimc,4846
10
+ studyfetch_sdk/_resource.py,sha256=y0aoAqMIYwTAwStuxbpO8XpTPnrSNQQ_ZcgiH5xcntg,1142
11
+ studyfetch_sdk/_response.py,sha256=6ph8tSkqF5pNbTo_2Zhizhq2O-Eb67TcksHwyg3aXdc,28864
12
+ studyfetch_sdk/_streaming.py,sha256=HZoENuPVzWhBn24eH3lnMCvRbWN0EPwvhWYfdlJfw0A,10128
13
+ studyfetch_sdk/_types.py,sha256=6nvqHGarRGuhs_FL8tJ8sGXXD8XWajNynT2K78GxRUI,6205
14
+ studyfetch_sdk/_version.py,sha256=g21ksyk-R73H5xqw8JEhJSmRw1r8O8uG19vVBZcuGlk,174
15
+ studyfetch_sdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
+ studyfetch_sdk/_utils/__init__.py,sha256=PNZ_QJuzZEgyYXqkO1HVhGkj5IU9bglVUcw7H-Knjzw,2062
17
+ studyfetch_sdk/_utils/_logs.py,sha256=EoZgOiIkpf2WB_0Ts0Ti7G3o_25v7IsPf_q-yEU6sbY,798
18
+ studyfetch_sdk/_utils/_proxy.py,sha256=aglnj2yBTDyGX9Akk2crZHrl10oqRmceUy2Zp008XEs,1975
19
+ studyfetch_sdk/_utils/_reflection.py,sha256=ZmGkIgT_PuwedyNBrrKGbxoWtkpytJNU1uU4QHnmEMU,1364
20
+ studyfetch_sdk/_utils/_resources_proxy.py,sha256=bs1_FNCpYOHtfn-w66cyIMO6CjMBBRhPzYOt61NiDlU,629
21
+ studyfetch_sdk/_utils/_streams.py,sha256=SMC90diFFecpEg_zgDRVbdR3hSEIgVVij4taD-noMLM,289
22
+ studyfetch_sdk/_utils/_sync.py,sha256=TpGLrrhRNWTJtODNE6Fup3_k7zrWm1j2RlirzBwre-0,2862
23
+ studyfetch_sdk/_utils/_transform.py,sha256=n7kskEWz6o__aoNvhFoGVyDoalNe6mJwp-g7BWkdj88,15617
24
+ studyfetch_sdk/_utils/_typing.py,sha256=D0DbbNu8GnYQTSICnTSHDGsYXj8TcAKyhejb0XcnjtY,4602
25
+ studyfetch_sdk/_utils/_utils.py,sha256=ts4CiiuNpFiGB6YMdkQRh2SZvYvsl7mAF-JWHCcLDf4,12312
26
+ studyfetch_sdk/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
27
+ studyfetch_sdk/resources/__init__.py,sha256=TSJ6b8GNHShyK5w7efHV93u1bY2jYVySQRa2zKc1dKM,500
28
+ studyfetch_sdk/resources/v1/__init__.py,sha256=vlwaMVHSnhIr6LAhTYRmMqFXuYTjPE6cNSxaX24cvBo,7113
29
+ studyfetch_sdk/resources/v1/components.py,sha256=KHQIhj8R9ZUSIl5x5yKeFenJk_3WMtOWojqyrSkGHrA,35460
30
+ studyfetch_sdk/resources/v1/explainers.py,sha256=dFk7044_qcf16Ia2VdEJ_dRRdnJeyHALNDHu6PVFbIM,8351
31
+ studyfetch_sdk/resources/v1/flashcards.py,sha256=1r8W5AO8UTOSnJm4j-JSlzve7RnY2iRrBMFM9znDEW8,29219
32
+ studyfetch_sdk/resources/v1/folders.py,sha256=o43HhcVhqF3t7xWMFFNIiMPElhoqkXtaCTVjEE5s5so,27436
33
+ studyfetch_sdk/resources/v1/usage.py,sha256=-U-gufEHbrTvBtR-5Acv1SL_yVaR3_h50zOQigoIhjc,39197
34
+ studyfetch_sdk/resources/v1/v1.py,sha256=J22tD-OkYu27YaIe6QesW-85xbn1GLnkejjrjiqo1_g,17975
35
+ studyfetch_sdk/resources/v1/audio_recaps/__init__.py,sha256=X6oJGmyaqUBFChSn8l0r-EHjCZos36O10zfFYWuid2w,1094
36
+ studyfetch_sdk/resources/v1/audio_recaps/audio_recaps.py,sha256=XAfSWFDbjUSp9bKjDVHqLyrEv3kNtTYSaLtWPRFIzdc,12630
37
+ studyfetch_sdk/resources/v1/audio_recaps/sections.py,sha256=AcYtFSNemNP2T-fJn2nZkrPNNpaEtqiwPNuTpual2Lw,9451
38
+ studyfetch_sdk/resources/v1/auth/__init__.py,sha256=3CLX0g3QnjIdaNdTFGlCYGCCEnl7uDLLe-smPJOM0xk,2073
39
+ studyfetch_sdk/resources/v1/auth/auth.py,sha256=5iVNvK6Z2351HHnjFJHn4JwQwCutE-heay2WdFEPdgM,23782
40
+ studyfetch_sdk/resources/v1/auth/login.py,sha256=T80Z9zmj-rPeQSWfkgBmMlAhRXdYDUml8B7hyYVAFGY,13393
41
+ studyfetch_sdk/resources/v1/auth/number_2fa.py,sha256=j-6RVRgmzE5inX5s03jYrImqpxSUBumfhj6RRM9uAfQ,17902
42
+ studyfetch_sdk/resources/v1/auth/organization_invites.py,sha256=oFIx5UyMBK2fylD_C41Oc4Hdv52Yk96B6TaoVseSLco,6373
43
+ studyfetch_sdk/resources/v1/chat/__init__.py,sha256=WSv53HDkoj5Ec37hiJlCV2V-ZquTjYyG5hU9cOdZPBk,1426
44
+ studyfetch_sdk/resources/v1/chat/chat.py,sha256=BNYXQdWaUX4-K6zQlj4Heoy9Lo6SrRmf1EmqM9toNyc,21751
45
+ studyfetch_sdk/resources/v1/chat/sessions.py,sha256=mjcTJFft2zXyQlqhARz_J5md1BfAD3uhDVp-olow83o,8479
46
+ studyfetch_sdk/resources/v1/chat/test.py,sha256=_7D8vYKhEUi4L32-N4SnpQlDFZl2swrLQFsSDUidn1M,7067
47
+ studyfetch_sdk/resources/v1/embed/__init__.py,sha256=VJ7xFoda7Gx3MH2plj_RN3NF5lmfKMFB1IHU0StdTzo,1028
48
+ studyfetch_sdk/resources/v1/embed/component.py,sha256=vFArqNnLaCGiHAKt4dhF3IBE950KMJbCqX5En2Tj0ls,10491
49
+ studyfetch_sdk/resources/v1/embed/embed.py,sha256=Tbny2GdlacLtNE-TfYRqYsVNIcOmPOy16cI1IrAHLmM,12582
50
+ studyfetch_sdk/resources/v1/materials/__init__.py,sha256=tVk8p-CapS6r8iWZXSBxwA0UlQyHJQMY9FPDL_TvMfY,1889
51
+ studyfetch_sdk/resources/v1/materials/bulk.py,sha256=oVAcnbKm8NUBFJIMoj4pEHFb_l1CM7F3Ve9cTApWguo,4843
52
+ studyfetch_sdk/resources/v1/materials/materials.py,sha256=k6eflgtL96qQ3veEC6YO3eBksMwZ5JrLrkDku9u87mk,38703
53
+ studyfetch_sdk/resources/v1/materials/test.py,sha256=eGcjGYvPlrlZGrU6AnvZZX5qZ3aLgZgxIrNspXC1rnE,11355
54
+ studyfetch_sdk/resources/v1/materials/upload.py,sha256=5GyF1aIaxUHCKTiTz-12IbKF6IcFv4xZWAjVJFpT27o,15726
55
+ studyfetch_sdk/resources/v1/organizations/__init__.py,sha256=nxwTfS8HPuQuQ0fXIX4ySzGmeYyV0LH0wNCQrUp3wwg,3292
56
+ studyfetch_sdk/resources/v1/organizations/api_keys.py,sha256=Z2vGVlvYD1IwnKd8keZYhTq_5oy_qJS0sWbRJb3lNWs,10169
57
+ studyfetch_sdk/resources/v1/organizations/organizations.py,sha256=gBuAMUS08jDmlwbDk5x2SME4EREH80sqPrRm2syUz-I,15522
58
+ studyfetch_sdk/resources/v1/organizations/theme.py,sha256=xJSGkkwZ8XmNBPVF8H9QqqUrk5vbC0_I17s2NDQL1dA,6915
59
+ studyfetch_sdk/resources/v1/organizations/usage.py,sha256=M4dyGEyUEUuybpzrDsUBVQG9yaavbNSGQBYe3ZK7iZ4,5765
60
+ studyfetch_sdk/resources/v1/organizations/logo/__init__.py,sha256=l-2_gFYhRh9IRO1cQbrcmtIw1v1O8sQ4zZLzH8bpWyQ,976
61
+ studyfetch_sdk/resources/v1/organizations/logo/logo.py,sha256=6oiSbcPpTWKq2Wd0nKBvGtEAQp2JC96R6ziDT17RuLw,5971
62
+ studyfetch_sdk/resources/v1/organizations/logo/upload.py,sha256=_CuwXIv6-1j5mHOz-DoazRzbRvumOaACjSV1aYY2bco,7144
63
+ studyfetch_sdk/resources/v1/organizations/profile/__init__.py,sha256=-h5lc5cTZb8BtI_geWiZ3mWMvKf1OE-e3UV9xvL0Cjg,1439
64
+ studyfetch_sdk/resources/v1/organizations/profile/models.py,sha256=7bvTpVtSYjWNba96oVmPEMb6h5wcNGZ7tzbFkPTqqhk,5096
65
+ studyfetch_sdk/resources/v1/organizations/profile/profile.py,sha256=AZMvtv23aRbopiYGzbdk6sQSOiyW8UsPglDj8r1WX68,9130
66
+ studyfetch_sdk/resources/v1/organizations/profile/team.py,sha256=vUaZYZoTz5M2I9Gze4UxyN7PFeHGjUWxRLm32kkkqWY,18164
67
+ studyfetch_sdk/resources/v1/organizations/team/__init__.py,sha256=b5rTOSxGlTF7UMMro_1aOs95sIE1tyLodcznOF6pdYY,976
68
+ studyfetch_sdk/resources/v1/organizations/team/invite.py,sha256=hA1UBTmvt7jiNUM7FRR3pEkl6XUkKxMVd-gtrAyjngA,8928
69
+ studyfetch_sdk/resources/v1/organizations/team/team.py,sha256=pm_AiKSluwFUiirB3W7qqzF4zsqX6gRJO4Blak-C_Bw,21769
70
+ studyfetch_sdk/resources/v1/scenarios/__init__.py,sha256=WrMn3vQJgHGQzWKq5SRUTMMvRd4p15Bt5JjZpHhKHZs,2071
71
+ studyfetch_sdk/resources/v1/scenarios/component.py,sha256=YS-NSqVjOBGggQn1cZfu-mH7V_BqUZZss2MdPItWEvA,12724
72
+ studyfetch_sdk/resources/v1/scenarios/scenarios.py,sha256=LSJc70kBRc4k_hQXu-HcToj2GJNpRO6pj9NDlM_xQcc,26758
73
+ studyfetch_sdk/resources/v1/scenarios/sessions.py,sha256=nTa6kBd5SoCBTm4DoIdH_u_nj1bM5dIbo2yAy-rMzKg,8949
74
+ studyfetch_sdk/resources/v1/scenarios/submissions/__init__.py,sha256=rTtsEfGVta9DIHDkyL4p32yLV21bFcxkE-LRb_bpFvU,1041
75
+ studyfetch_sdk/resources/v1/scenarios/submissions/submissions.py,sha256=2wj6bWW4NXw3EjsCDQySGYOAym64QIUzLqp6UelJsqo,3773
76
+ studyfetch_sdk/resources/v1/scenarios/submissions/user.py,sha256=-4cC4I6KSlWlw9F8PqMU1K9z1REZ0uhIBdw0JxWQ3mA,7816
77
+ studyfetch_sdk/resources/v1/tests/__init__.py,sha256=7-K6i3WJPRCoMSOatJEqUhlz74S0wr4S-yrWr2X-LTA,1028
78
+ studyfetch_sdk/resources/v1/tests/component.py,sha256=MJZIo4-ES4tkY9P1FJl8phjkQxGG8FBCe99ar0I_un4,6013
79
+ studyfetch_sdk/resources/v1/tests/tests.py,sha256=BGwXClZ8YkzegN80R0WDIrvK3WN1-ujtYkfR33ARhVU,24870
80
+ studyfetch_sdk/resources/v1/upload/__init__.py,sha256=N5r6jpSMe43dezq-6RBAWLVlL3-Z76lU7DG53phDGr8,1041
81
+ studyfetch_sdk/resources/v1/upload/component.py,sha256=BbiKtJ9hC7c7_Wv6Q_Zi_BZJmcusWFRNvBKJqaB75yA,15493
82
+ studyfetch_sdk/resources/v1/upload/upload.py,sha256=RBkrsVi5_8qIqdYKypnSqj44ONvwW7u2XXIlpuJsKSg,3736
83
+ studyfetch_sdk/types/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
84
+ studyfetch_sdk/types/v1/__init__.py,sha256=QbdRQml0zNXp3wZwFH-N3OT8Vc8kitmkmm9I5F9PSaI,4102
85
+ studyfetch_sdk/types/v1/auth_register_new_user_params.py,sha256=PVEh3trrdCchboy8jdgNaD_T5O5hFMwPnldbuLAD4BY,594
86
+ studyfetch_sdk/types/v1/auth_request_password_reset_params.py,sha256=FsJ4ThlxM4-la4T-Ye7rC-S6fz01hhba7Yn3mDxV0Pc,351
87
+ studyfetch_sdk/types/v1/auth_reset_password_params.py,sha256=ySejlSKXbcMxfsgImrEY4zUdTQZsbeKI2JVfPgqSNyo,485
88
+ studyfetch_sdk/types/v1/chat_retrieve_session_params.py,sha256=j_egNBvVvOwAHQGayY5002fE_KK1q775XuIKlokEBsQ,388
89
+ studyfetch_sdk/types/v1/chat_send_message_params.py,sha256=fY7Ctm7SSwx8SVhgARrTFmWUGLA9x5SJretdvlcY7RU,1439
90
+ studyfetch_sdk/types/v1/chat_stream_params.py,sha256=Aqp2Vdsa35PAH-75kaO_ZYlkqGrCgDZ5EyYTTLRAJoE,695
91
+ studyfetch_sdk/types/v1/component_create_params.py,sha256=OOatodivJqk-XutNtv7PqPvWyNNZdlTAsuoW9u9o9t4,808
92
+ studyfetch_sdk/types/v1/component_create_response.py,sha256=pYXzXDgVeLhcFnT_KyxTYMhmLL0xt7pxPuwH_453u8c,1149
93
+ studyfetch_sdk/types/v1/component_embed_params.py,sha256=0SKYB8n95-hyEaOIsGNXc8FbPII_bfpl9RTnPYLsVSY,3019
94
+ studyfetch_sdk/types/v1/component_embed_response.py,sha256=PUr_rBcSsww_FFIAUh6hjXWzCJ6kMENY970dDNtpnpY,906
95
+ studyfetch_sdk/types/v1/component_list_params.py,sha256=R8NMK7r37CpqmbAWdbs6rEF1LigoYrE3BXksJCCdKEQ,431
96
+ studyfetch_sdk/types/v1/component_list_response.py,sha256=ubZDkf3sUe36_qXN-cQsCusThh01yM5Ksc_NZnox9NE,1264
97
+ studyfetch_sdk/types/v1/component_retrieve_response.py,sha256=muQvZtAfXdSWPWifRDrVPQS3cIW6fwDpFkz4_6HOR28,1153
98
+ studyfetch_sdk/types/v1/component_update_params.py,sha256=IkSFyldrto9H_F_4GWIGG1WYpYFEuYsAi-29dmo9vno,365
99
+ studyfetch_sdk/types/v1/component_update_response.py,sha256=8-vdYlrXnmK3o091vJK2untWLjxBs4yIPH-r7xrhT7E,1149
100
+ studyfetch_sdk/types/v1/embed_get_theme_params.py,sha256=wKZn4X-Ne29dOrxEBkGThxBPTdhPTgb-CzV65KvSFVw,308
101
+ studyfetch_sdk/types/v1/embed_verify_params.py,sha256=hixgK7Uyhi2Oaj0t5Q5sbFVUYGdvmMsk_2-fu_2C2nw,314
102
+ studyfetch_sdk/types/v1/explainer_handle_webhook_params.py,sha256=woKIx4423Cuk15DNTQ3XfPWsZx5Ewm5KALkgB6wT4Sc,303
103
+ studyfetch_sdk/types/v1/flashcard_batch_process_params.py,sha256=9rKglWAilYXnfqPSOdKLQWZ7DOrU45S20eLLGn6xsSk,1044
104
+ studyfetch_sdk/types/v1/flashcard_batch_process_response.py,sha256=UKredDT61O5KA56gvhbJlF1qa8LzrdpLrD4ulzQOFlw,891
105
+ studyfetch_sdk/types/v1/flashcard_get_algorithm_info_response.py,sha256=DXyISqmGJlqgjyrcAmjO2lrNFqFiwGSI6JPr6niSE0A,871
106
+ studyfetch_sdk/types/v1/flashcard_get_all_params.py,sha256=_UX-JpmwsA10IA-E8M7wo4iSADOsMnKXRjfPqP6rvZk,542
107
+ studyfetch_sdk/types/v1/flashcard_get_due_params.py,sha256=PQLaeQ09z2SzxF42-fCasONQXLoTDwOrSBmuXQ4td-0,507
108
+ studyfetch_sdk/types/v1/flashcard_get_stats_params.py,sha256=0n91QG9FGJxmhajCuJavgzs5Ny2PdDM-Dt8tj3-LJDY,462
109
+ studyfetch_sdk/types/v1/flashcard_get_types_response.py,sha256=5Ik-pRsivsnFTytCNvnw0cDZA-95ONMxNY2goXUucLI,371
110
+ studyfetch_sdk/types/v1/flashcard_rate_params.py,sha256=SrGtfy4XU34M9WYIVQ89uJpmkSmIS9JUzLg2t3_oez8,630
111
+ studyfetch_sdk/types/v1/folder_create_params.py,sha256=7aOh4pSBdnJ0kLH722pf2gNeJJXpGdf3ldadMcMtXkY,453
112
+ studyfetch_sdk/types/v1/folder_list_params.py,sha256=BPzBIqjQrCyKuI3DcER1kFRTx15OSUpvsrsMgHXPdAE,391
113
+ studyfetch_sdk/types/v1/folder_update_params.py,sha256=WynpsS4j_cPwqPjAGTXVcr1v0daB4S2F1MF8uuV6vNI,430
114
+ studyfetch_sdk/types/v1/material_create_params.py,sha256=mYjnlTBvz_aInnnqO7FiNEHbqAUBWbJ0pBm8ppUoELM,899
115
+ studyfetch_sdk/types/v1/material_create_response.py,sha256=0melSQ8cXHwMcme2pd-VFyU63-xEmmuCCE7d26p7ba4,1643
116
+ studyfetch_sdk/types/v1/material_get_download_url_params.py,sha256=7prrB3K-E4xAWUQlaH_YBCEB7u9WHQSc9pE1NvO88Ts,400
117
+ studyfetch_sdk/types/v1/material_list_params.py,sha256=8yd556-GB4Xw-NFGshxm_Hx-nIG-MAg4dPtn-W38w3k,388
118
+ studyfetch_sdk/types/v1/material_list_response.py,sha256=HHtjzeuZ3v0QrOQdUMFI7HRsKJ41n_jWk8N_JloDaIg,1827
119
+ studyfetch_sdk/types/v1/material_retrieve_response.py,sha256=LtW5GDV5KExzVY1QmR0K0yp60rVQibBbE7pPPEUe2G0,1647
120
+ studyfetch_sdk/types/v1/scenario_create_params.py,sha256=cT6bzoctWjw1_p0zRNtb65OkxhaZostNxHYUVrCR45k,287
121
+ studyfetch_sdk/types/v1/scenario_update_params.py,sha256=y3sNt24zXLLDV_VbBYHJ_2IcoPEQYNApt0il9-C525U,287
122
+ studyfetch_sdk/types/v1/test_create_params.py,sha256=-MrR4d4Igyp7FD9xni5Rh_Gn3JgCZyYGagXUG3GDvQc,537
123
+ studyfetch_sdk/types/v1/test_retake_params.py,sha256=pSxTOQ8Io9D_ZquvrbwdbUGtpjG-idDfBd-28i6gQVM,379
124
+ studyfetch_sdk/types/v1/test_submit_answer_params.py,sha256=KnXliGsq5TTCZIno5It7rK5pi_qttEavBw86X_yhyj0,549
125
+ studyfetch_sdk/types/v1/test_submit_params.py,sha256=ra-n9uNBDSqkkiomBt_y3RtGMpVyVJXiAqMajtZBSk4,379
126
+ studyfetch_sdk/types/v1/usage_get_stats_params.py,sha256=TQwpTxrPjfa7OA-UdYOVppbZZjE9cx04VajXk-Pgvvc,682
127
+ studyfetch_sdk/types/v1/usage_get_summary_params.py,sha256=ZFd6VwpQxL59a2akaJDRZbJJcNbZ88KU4S6UreCZr4U,768
128
+ studyfetch_sdk/types/v1/usage_list_events_params.py,sha256=iMhwqdlaEbtyBqlTpAEcTdYCQumwWVmYBo8czDPLm74,1729
129
+ studyfetch_sdk/types/v1/usage_track_chat_params.py,sha256=EqQK42Ane6NQPtwl9Big5s_kXQGX_YkTwgq9JKJYuNE,1569
130
+ studyfetch_sdk/types/v1/usage_track_event_params.py,sha256=2ndKMcTEm32UPAY1wmlX-nUNqyU9LK69ZxI2zF_luhc,3846
131
+ studyfetch_sdk/types/v1/admin/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
132
+ studyfetch_sdk/types/v1/admin/organizations/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
133
+ studyfetch_sdk/types/v1/admin/organizations/models/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
134
+ studyfetch_sdk/types/v1/audio_recaps/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
135
+ studyfetch_sdk/types/v1/auth/__init__.py,sha256=ORgVjJd1Gh97hhmc-6V-gbF-wtz2wT56jgNCQ3Q6Sbc,805
136
+ studyfetch_sdk/types/v1/auth/login_authenticate_params.py,sha256=WnpZrBOJdatjcbHY-AsZpIux6Zp7MOj6LxzuizGk-KA,376
137
+ studyfetch_sdk/types/v1/auth/login_verify_2fa_params.py,sha256=NbTHDWhrk6YVLe2--iA-itVWzxaIJ7HsTD_or08KwBM,378
138
+ studyfetch_sdk/types/v1/auth/login_verify_backup_code_params.py,sha256=NRbPsoEN2thAqbWK6330v6-qojgQs2mPY5Uo2Pe2EOY,478
139
+ studyfetch_sdk/types/v1/auth/number_2fa_disable_params.py,sha256=6R-R6At9eludw5Z8ncESdG2zMsm0nqly5--Ge7DTco0,336
140
+ studyfetch_sdk/types/v1/auth/number_2fa_enable_params.py,sha256=EGacVeJnClDL-pH1y-_8V1DTvC30EDDZxBopvUpqLR8,334
141
+ studyfetch_sdk/types/v1/auth/number_2fa_regenerate_backup_codes_params.py,sha256=aZSr5r6NVZxKm2yy5SpHN263_oWx63kmalKJUc6BzS8,364
142
+ studyfetch_sdk/types/v1/auth/number_2fa_send_code_params.py,sha256=kb8JNsBwu45iiCr7FFLSADKccPN4dgIVQWEleTNSr50,336
143
+ studyfetch_sdk/types/v1/chat/__init__.py,sha256=wYABOEkbpJ2giFls8t8N32vNezDWQvFRnPw_giWy58g,207
144
+ studyfetch_sdk/types/v1/chat/session_retrieve_params.py,sha256=G9P18vHLjgrLTVyWyKv8KGr0Pa4W9e8ZubMysxpty6I,290
145
+ studyfetch_sdk/types/v1/embed/__init__.py,sha256=PY0v530kkkL8N0ABYvRpyNG0B4-56axqoZ1Gbp6GYq0,303
146
+ studyfetch_sdk/types/v1/embed/component_interact_params.py,sha256=IdYB5R3TK9KaOQgXP8HbDA4_1bmkPeCxNSORu_Pl1Y0,341
147
+ studyfetch_sdk/types/v1/embed/component_retrieve_params.py,sha256=At4Eu0g84kblyZVKKBjwtFBc5UcG3XbhS97RkDgysMs,316
148
+ studyfetch_sdk/types/v1/materials/__init__.py,sha256=zya69lNxh0cwL_WHFHOHoHRSBdyDc_WuqY-Brj8be90,507
149
+ studyfetch_sdk/types/v1/materials/upload_upload_file_params.py,sha256=gfWhDYiYupBpxiSkJoJ2asgcBpYaXaMsZ55NxM-7rVg,521
150
+ studyfetch_sdk/types/v1/materials/upload_upload_file_response.py,sha256=MSFNyGpNM7m_OP3dLUuATptAgY32k7EzB_YOrbxqysM,1648
151
+ studyfetch_sdk/types/v1/materials/upload_upload_from_url_params.py,sha256=q4F7cBkJ7srXSkBosfiiApDETBz_lFJ0tPIUyHIUJXA,523
152
+ studyfetch_sdk/types/v1/materials/upload_upload_from_url_response.py,sha256=iulaqSN3i-WWN90Oh5XoxQDUaWPkfauzU0ODABTN0hg,1654
153
+ studyfetch_sdk/types/v1/organizations/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
154
+ studyfetch_sdk/types/v1/organizations/logo/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
155
+ studyfetch_sdk/types/v1/organizations/profile/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
156
+ studyfetch_sdk/types/v1/organizations/team/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
157
+ studyfetch_sdk/types/v1/scenarios/__init__.py,sha256=2DyrawNlb-TstNKw0gUMlQaNSq-UAUcLhmOGElM0l0U,207
158
+ studyfetch_sdk/types/v1/scenarios/component_update_params.py,sha256=BDHJzJiiTVqSXhGzr9gbbC16VHBnLExpPGX2wQXlV2k,289
159
+ studyfetch_sdk/types/v1/scenarios/submissions/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
160
+ studyfetch_sdk/types/v1/tests/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
161
+ studyfetch_sdk/types/v1/upload/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
162
+ studyfetch_sdk-0.1.0a1.dist-info/METADATA,sha256=pTmy_fQ4c4lykQfOfVUaRW-E7q00QJJ69hUAucy_yQw,15348
163
+ studyfetch_sdk-0.1.0a1.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
164
+ studyfetch_sdk-0.1.0a1.dist-info/licenses/LICENSE,sha256=CsdbJMegH_AAWljUmVcwW0Cj_GyIm1hjw6qPqPnmdn4,11344
165
+ studyfetch_sdk-0.1.0a1.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.26.3
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any