deeprails 0.3.2__py3-none-any.whl → 1.0.0__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.

Potentially problematic release.


This version of deeprails might be problematic. Click here for more details.

Files changed (60) hide show
  1. deeprails/__init__.py +104 -1
  2. deeprails/_base_client.py +1995 -0
  3. deeprails/_client.py +478 -0
  4. deeprails/_compat.py +219 -0
  5. deeprails/_constants.py +14 -0
  6. deeprails/_exceptions.py +108 -0
  7. deeprails/_files.py +123 -0
  8. deeprails/_models.py +835 -0
  9. deeprails/_qs.py +150 -0
  10. deeprails/_resource.py +43 -0
  11. deeprails/_response.py +830 -0
  12. deeprails/_streaming.py +333 -0
  13. deeprails/_types.py +260 -0
  14. deeprails/_utils/__init__.py +64 -0
  15. deeprails/_utils/_compat.py +45 -0
  16. deeprails/_utils/_datetime_parse.py +136 -0
  17. deeprails/_utils/_logs.py +25 -0
  18. deeprails/_utils/_proxy.py +65 -0
  19. deeprails/_utils/_reflection.py +42 -0
  20. deeprails/_utils/_resources_proxy.py +24 -0
  21. deeprails/_utils/_streams.py +12 -0
  22. deeprails/_utils/_sync.py +86 -0
  23. deeprails/_utils/_transform.py +457 -0
  24. deeprails/_utils/_typing.py +156 -0
  25. deeprails/_utils/_utils.py +421 -0
  26. deeprails/_version.py +4 -0
  27. deeprails/lib/.keep +4 -0
  28. deeprails/py.typed +0 -0
  29. deeprails/resources/__init__.py +47 -0
  30. deeprails/resources/defend/__init__.py +33 -0
  31. deeprails/resources/defend/defend.py +480 -0
  32. deeprails/resources/defend/events.py +311 -0
  33. deeprails/resources/evaluate.py +334 -0
  34. deeprails/resources/monitor.py +566 -0
  35. deeprails/types/__init__.py +16 -0
  36. deeprails/types/api_response.py +50 -0
  37. deeprails/types/defend/__init__.py +6 -0
  38. deeprails/types/defend/event_submit_event_params.py +44 -0
  39. deeprails/types/defend/workflow_event_response.py +33 -0
  40. deeprails/types/defend_create_workflow_params.py +56 -0
  41. deeprails/types/defend_response.py +50 -0
  42. deeprails/types/defend_update_workflow_params.py +18 -0
  43. deeprails/types/evaluate_create_params.py +60 -0
  44. deeprails/types/evaluation.py +113 -0
  45. deeprails/types/monitor_create_params.py +15 -0
  46. deeprails/types/monitor_retrieve_params.py +12 -0
  47. deeprails/types/monitor_retrieve_response.py +81 -0
  48. deeprails/types/monitor_submit_event_params.py +63 -0
  49. deeprails/types/monitor_submit_event_response.py +36 -0
  50. deeprails/types/monitor_update_params.py +22 -0
  51. deeprails-1.0.0.dist-info/METADATA +550 -0
  52. deeprails-1.0.0.dist-info/RECORD +54 -0
  53. {deeprails-0.3.2.dist-info → deeprails-1.0.0.dist-info}/WHEEL +1 -1
  54. deeprails-1.0.0.dist-info/licenses/LICENSE +201 -0
  55. deeprails/client.py +0 -285
  56. deeprails/exceptions.py +0 -10
  57. deeprails/schemas.py +0 -92
  58. deeprails-0.3.2.dist-info/METADATA +0 -235
  59. deeprails-0.3.2.dist-info/RECORD +0 -8
  60. deeprails-0.3.2.dist-info/licenses/LICENSE +0 -11
@@ -0,0 +1,550 @@
1
+ Metadata-Version: 2.3
2
+ Name: deeprails
3
+ Version: 1.0.0
4
+ Summary: The official Python library for the deeprails API
5
+ Project-URL: Homepage, https://github.com/deeprails/deeprails-python-sdk
6
+ Project-URL: Repository, https://github.com/deeprails/deeprails-python-sdk
7
+ Author-email: Deeprails <support@deeprails.ai>
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
+ # Deeprails Python API library
37
+
38
+ <!-- prettier-ignore -->
39
+ [![PyPI version](https://img.shields.io/pypi/v/deeprails.svg?label=pypi%20(stable))](https://pypi.org/project/deeprails/)
40
+
41
+ The Deeprails Python library provides convenient access to the Deeprails 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 full API of this library can be found in [api.md](https://github.com/deeprails/deeprails-python-sdk/tree/main/api.md).
50
+
51
+ ## Installation
52
+
53
+ ```sh
54
+ # install from PyPI
55
+ pip install deeprails
56
+ ```
57
+
58
+ ## Usage
59
+
60
+ The full API of this library can be found in [api.md](https://github.com/deeprails/deeprails-python-sdk/tree/main/api.md).
61
+
62
+ ```python
63
+ import os
64
+ from deeprails import Deeprails
65
+
66
+ client = Deeprails(
67
+ api_key=os.environ.get("DEEPRAILS_API_KEY"), # This is the default and can be omitted
68
+ # defaults to "production".
69
+ environment="environment_1",
70
+ )
71
+
72
+ defend_response = client.defend.create_workflow(
73
+ improvement_action="regenerate",
74
+ metrics={
75
+ "0": 0,
76
+ "1": 0,
77
+ "2": 0,
78
+ "3": 0,
79
+ "4": 0,
80
+ "5": 0,
81
+ "6": 0,
82
+ "7": 0,
83
+ "8": 0,
84
+ "9": 0,
85
+ },
86
+ name="REPLACE_ME",
87
+ type="automatic",
88
+ )
89
+ print(defend_response.workflow_id)
90
+ ```
91
+
92
+ While you can provide an `api_key` keyword argument,
93
+ we recommend using [python-dotenv](https://pypi.org/project/python-dotenv/)
94
+ to add `DEEPRAILS_API_KEY="My API Key"` to your `.env` file
95
+ so that your API Key is not stored in source control.
96
+
97
+ ## Async usage
98
+
99
+ Simply import `AsyncDeeprails` instead of `Deeprails` and use `await` with each API call:
100
+
101
+ ```python
102
+ import os
103
+ import asyncio
104
+ from deeprails import AsyncDeeprails
105
+
106
+ client = AsyncDeeprails(
107
+ api_key=os.environ.get("DEEPRAILS_API_KEY"), # This is the default and can be omitted
108
+ # defaults to "production".
109
+ environment="environment_1",
110
+ )
111
+
112
+
113
+ async def main() -> None:
114
+ defend_response = await client.defend.create_workflow(
115
+ improvement_action="regenerate",
116
+ metrics={
117
+ "0": 0,
118
+ "1": 0,
119
+ "2": 0,
120
+ "3": 0,
121
+ "4": 0,
122
+ "5": 0,
123
+ "6": 0,
124
+ "7": 0,
125
+ "8": 0,
126
+ "9": 0,
127
+ },
128
+ name="REPLACE_ME",
129
+ type="automatic",
130
+ )
131
+ print(defend_response.workflow_id)
132
+
133
+
134
+ asyncio.run(main())
135
+ ```
136
+
137
+ Functionality between the synchronous and asynchronous clients is otherwise identical.
138
+
139
+ ### With aiohttp
140
+
141
+ By default, the async client uses `httpx` for HTTP requests. However, for improved concurrency performance you may also use `aiohttp` as the HTTP backend.
142
+
143
+ You can enable this by installing `aiohttp`:
144
+
145
+ ```sh
146
+ # install from PyPI
147
+ pip install deeprails[aiohttp]
148
+ ```
149
+
150
+ Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
151
+
152
+ ```python
153
+ import asyncio
154
+ from deeprails import DefaultAioHttpClient
155
+ from deeprails import AsyncDeeprails
156
+
157
+
158
+ async def main() -> None:
159
+ async with AsyncDeeprails(
160
+ api_key="My API Key",
161
+ http_client=DefaultAioHttpClient(),
162
+ ) as client:
163
+ defend_response = await client.defend.create_workflow(
164
+ improvement_action="regenerate",
165
+ metrics={
166
+ "0": 0,
167
+ "1": 0,
168
+ "2": 0,
169
+ "3": 0,
170
+ "4": 0,
171
+ "5": 0,
172
+ "6": 0,
173
+ "7": 0,
174
+ "8": 0,
175
+ "9": 0,
176
+ },
177
+ name="REPLACE_ME",
178
+ type="automatic",
179
+ )
180
+ print(defend_response.workflow_id)
181
+
182
+
183
+ asyncio.run(main())
184
+ ```
185
+
186
+ ## Using types
187
+
188
+ 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:
189
+
190
+ - Serializing back into JSON, `model.to_json()`
191
+ - Converting to a dictionary, `model.to_dict()`
192
+
193
+ 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`.
194
+
195
+ ## Nested params
196
+
197
+ Nested parameters are dictionaries, typed using `TypedDict`, for example:
198
+
199
+ ```python
200
+ from deeprails import Deeprails
201
+
202
+ client = Deeprails()
203
+
204
+ workflow_event_response = client.defend.events.submit_event(
205
+ workflow_id="workflow_id",
206
+ model_input={"user_prompt": "user_prompt"},
207
+ model_output="model_output",
208
+ model_used="model_used",
209
+ nametag="nametag",
210
+ run_mode="precision_plus",
211
+ )
212
+ print(workflow_event_response.model_input)
213
+ ```
214
+
215
+ ## Handling errors
216
+
217
+ When the library is unable to connect to the API (for example, due to network connection problems or a timeout), a subclass of `deeprails.APIConnectionError` is raised.
218
+
219
+ When the API returns a non-success status code (that is, 4xx or 5xx
220
+ response), a subclass of `deeprails.APIStatusError` is raised, containing `status_code` and `response` properties.
221
+
222
+ All errors inherit from `deeprails.APIError`.
223
+
224
+ ```python
225
+ import deeprails
226
+ from deeprails import Deeprails
227
+
228
+ client = Deeprails()
229
+
230
+ try:
231
+ client.defend.create_workflow(
232
+ improvement_action="regenerate",
233
+ metrics={
234
+ "0": 0,
235
+ "1": 0,
236
+ "2": 0,
237
+ "3": 0,
238
+ "4": 0,
239
+ "5": 0,
240
+ "6": 0,
241
+ "7": 0,
242
+ "8": 0,
243
+ "9": 0,
244
+ },
245
+ name="REPLACE_ME",
246
+ type="automatic",
247
+ )
248
+ except deeprails.APIConnectionError as e:
249
+ print("The server could not be reached")
250
+ print(e.__cause__) # an underlying Exception, likely raised within httpx.
251
+ except deeprails.RateLimitError as e:
252
+ print("A 429 status code was received; we should back off a bit.")
253
+ except deeprails.APIStatusError as e:
254
+ print("Another non-200-range status code was received")
255
+ print(e.status_code)
256
+ print(e.response)
257
+ ```
258
+
259
+ Error codes are as follows:
260
+
261
+ | Status Code | Error Type |
262
+ | ----------- | -------------------------- |
263
+ | 400 | `BadRequestError` |
264
+ | 401 | `AuthenticationError` |
265
+ | 403 | `PermissionDeniedError` |
266
+ | 404 | `NotFoundError` |
267
+ | 422 | `UnprocessableEntityError` |
268
+ | 429 | `RateLimitError` |
269
+ | >=500 | `InternalServerError` |
270
+ | N/A | `APIConnectionError` |
271
+
272
+ ### Retries
273
+
274
+ Certain errors are automatically retried 2 times by default, with a short exponential backoff.
275
+ Connection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict,
276
+ 429 Rate Limit, and >=500 Internal errors are all retried by default.
277
+
278
+ You can use the `max_retries` option to configure or disable retry settings:
279
+
280
+ ```python
281
+ from deeprails import Deeprails
282
+
283
+ # Configure the default for all requests:
284
+ client = Deeprails(
285
+ # default is 2
286
+ max_retries=0,
287
+ )
288
+
289
+ # Or, configure per-request:
290
+ client.with_options(max_retries=5).defend.create_workflow(
291
+ improvement_action="regenerate",
292
+ metrics={
293
+ "0": 0,
294
+ "1": 0,
295
+ "2": 0,
296
+ "3": 0,
297
+ "4": 0,
298
+ "5": 0,
299
+ "6": 0,
300
+ "7": 0,
301
+ "8": 0,
302
+ "9": 0,
303
+ },
304
+ name="REPLACE_ME",
305
+ type="automatic",
306
+ )
307
+ ```
308
+
309
+ ### Timeouts
310
+
311
+ By default requests time out after 1 minute. You can configure this with a `timeout` option,
312
+ which accepts a float or an [`httpx.Timeout`](https://www.python-httpx.org/advanced/timeouts/#fine-tuning-the-configuration) object:
313
+
314
+ ```python
315
+ from deeprails import Deeprails
316
+
317
+ # Configure the default for all requests:
318
+ client = Deeprails(
319
+ # 20 seconds (default is 1 minute)
320
+ timeout=20.0,
321
+ )
322
+
323
+ # More granular control:
324
+ client = Deeprails(
325
+ timeout=httpx.Timeout(60.0, read=5.0, write=10.0, connect=2.0),
326
+ )
327
+
328
+ # Override per-request:
329
+ client.with_options(timeout=5.0).defend.create_workflow(
330
+ improvement_action="regenerate",
331
+ metrics={
332
+ "0": 0,
333
+ "1": 0,
334
+ "2": 0,
335
+ "3": 0,
336
+ "4": 0,
337
+ "5": 0,
338
+ "6": 0,
339
+ "7": 0,
340
+ "8": 0,
341
+ "9": 0,
342
+ },
343
+ name="REPLACE_ME",
344
+ type="automatic",
345
+ )
346
+ ```
347
+
348
+ On timeout, an `APITimeoutError` is thrown.
349
+
350
+ Note that requests that time out are [retried twice by default](https://github.com/deeprails/deeprails-python-sdk/tree/main/#retries).
351
+
352
+ ## Advanced
353
+
354
+ ### Logging
355
+
356
+ We use the standard library [`logging`](https://docs.python.org/3/library/logging.html) module.
357
+
358
+ You can enable logging by setting the environment variable `DEEPRAILS_LOG` to `info`.
359
+
360
+ ```shell
361
+ $ export DEEPRAILS_LOG=info
362
+ ```
363
+
364
+ Or to `debug` for more verbose logging.
365
+
366
+ ### How to tell whether `None` means `null` or missing
367
+
368
+ 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`:
369
+
370
+ ```py
371
+ if response.my_field is None:
372
+ if 'my_field' not in response.model_fields_set:
373
+ print('Got json like {}, without a "my_field" key present at all.')
374
+ else:
375
+ print('Got json like {"my_field": null}.')
376
+ ```
377
+
378
+ ### Accessing raw response data (e.g. headers)
379
+
380
+ The "raw" Response object can be accessed by prefixing `.with_raw_response.` to any HTTP method call, e.g.,
381
+
382
+ ```py
383
+ from deeprails import Deeprails
384
+
385
+ client = Deeprails()
386
+ response = client.defend.with_raw_response.create_workflow(
387
+ improvement_action="regenerate",
388
+ metrics={
389
+ "0": 0,
390
+ "1": 0,
391
+ "2": 0,
392
+ "3": 0,
393
+ "4": 0,
394
+ "5": 0,
395
+ "6": 0,
396
+ "7": 0,
397
+ "8": 0,
398
+ "9": 0,
399
+ },
400
+ name="REPLACE_ME",
401
+ type="automatic",
402
+ )
403
+ print(response.headers.get('X-My-Header'))
404
+
405
+ defend = response.parse() # get the object that `defend.create_workflow()` would have returned
406
+ print(defend.workflow_id)
407
+ ```
408
+
409
+ These methods return an [`APIResponse`](https://github.com/deeprails/deeprails-python-sdk/tree/main/src/deeprails/_response.py) object.
410
+
411
+ The async client returns an [`AsyncAPIResponse`](https://github.com/deeprails/deeprails-python-sdk/tree/main/src/deeprails/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.
412
+
413
+ #### `.with_streaming_response`
414
+
415
+ The above interface eagerly reads the full response body when you make the request, which may not always be what you want.
416
+
417
+ 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.
418
+
419
+ ```python
420
+ with client.defend.with_streaming_response.create_workflow(
421
+ improvement_action="regenerate",
422
+ metrics={
423
+ "0": 0,
424
+ "1": 0,
425
+ "2": 0,
426
+ "3": 0,
427
+ "4": 0,
428
+ "5": 0,
429
+ "6": 0,
430
+ "7": 0,
431
+ "8": 0,
432
+ "9": 0,
433
+ },
434
+ name="REPLACE_ME",
435
+ type="automatic",
436
+ ) as response:
437
+ print(response.headers.get("X-My-Header"))
438
+
439
+ for line in response.iter_lines():
440
+ print(line)
441
+ ```
442
+
443
+ The context manager is required so that the response will reliably be closed.
444
+
445
+ ### Making custom/undocumented requests
446
+
447
+ This library is typed for convenient access to the documented API.
448
+
449
+ If you need to access undocumented endpoints, params, or response properties, the library can still be used.
450
+
451
+ #### Undocumented endpoints
452
+
453
+ To make requests to undocumented endpoints, you can make requests using `client.get`, `client.post`, and other
454
+ http verbs. Options on the client will be respected (such as retries) when making this request.
455
+
456
+ ```py
457
+ import httpx
458
+
459
+ response = client.post(
460
+ "/foo",
461
+ cast_to=httpx.Response,
462
+ body={"my_param": True},
463
+ )
464
+
465
+ print(response.headers.get("x-foo"))
466
+ ```
467
+
468
+ #### Undocumented request params
469
+
470
+ If you want to explicitly send an extra param, you can do so with the `extra_query`, `extra_body`, and `extra_headers` request
471
+ options.
472
+
473
+ #### Undocumented response properties
474
+
475
+ To access undocumented response properties, you can access the extra fields like `response.unknown_prop`. You
476
+ can also get all the extra fields on the Pydantic model as a dict with
477
+ [`response.model_extra`](https://docs.pydantic.dev/latest/api/base_model/#pydantic.BaseModel.model_extra).
478
+
479
+ ### Configuring the HTTP client
480
+
481
+ You can directly override the [httpx client](https://www.python-httpx.org/api/#client) to customize it for your use case, including:
482
+
483
+ - Support for [proxies](https://www.python-httpx.org/advanced/proxies/)
484
+ - Custom [transports](https://www.python-httpx.org/advanced/transports/)
485
+ - Additional [advanced](https://www.python-httpx.org/advanced/clients/) functionality
486
+
487
+ ```python
488
+ import httpx
489
+ from deeprails import Deeprails, DefaultHttpxClient
490
+
491
+ client = Deeprails(
492
+ # Or use the `DEEPRAILS_BASE_URL` env var
493
+ base_url="http://my.test.server.example.com:8083",
494
+ http_client=DefaultHttpxClient(
495
+ proxy="http://my.test.proxy.example.com",
496
+ transport=httpx.HTTPTransport(local_address="0.0.0.0"),
497
+ ),
498
+ )
499
+ ```
500
+
501
+ You can also customize the client on a per-request basis by using `with_options()`:
502
+
503
+ ```python
504
+ client.with_options(http_client=DefaultHttpxClient(...))
505
+ ```
506
+
507
+ ### Managing HTTP resources
508
+
509
+ 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.
510
+
511
+ ```py
512
+ from deeprails import Deeprails
513
+
514
+ with Deeprails() as client:
515
+ # make requests here
516
+ ...
517
+
518
+ # HTTP client is now closed
519
+ ```
520
+
521
+ ## Versioning
522
+
523
+ 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:
524
+
525
+ 1. Changes that only affect static types, without breaking runtime behavior.
526
+ 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.)_
527
+ 3. Changes that we do not expect to impact the vast majority of users in practice.
528
+
529
+ We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.
530
+
531
+ We are keen for your feedback; please open an [issue](https://www.github.com/deeprails/deeprails-python-sdk/issues) with questions, bugs, or suggestions.
532
+
533
+ ### Determining the installed version
534
+
535
+ 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.
536
+
537
+ You can determine the version that is being used at runtime with:
538
+
539
+ ```py
540
+ import deeprails
541
+ print(deeprails.__version__)
542
+ ```
543
+
544
+ ## Requirements
545
+
546
+ Python 3.8 or higher.
547
+
548
+ ## Contributing
549
+
550
+ See [the contributing documentation](https://github.com/deeprails/deeprails-python-sdk/tree/main/./CONTRIBUTING.md).
@@ -0,0 +1,54 @@
1
+ deeprails/__init__.py,sha256=qUPCW7un-Ok2Oa83Ws4nVqesPGKzfxfvo-9a65gcZjQ,2730
2
+ deeprails/_base_client.py,sha256=3bTH_cn_59gEjfZdcRS6g6Er4ZobAgTCRsnQmD_viNQ,67050
3
+ deeprails/_client.py,sha256=mwIV1XuIHJ6ePXTepKlPes0lkUAdOUAJssKMC9L8HB0,18948
4
+ deeprails/_compat.py,sha256=DQBVORjFb33zch24jzkhM14msvnzY7mmSmgDLaVFUM8,6562
5
+ deeprails/_constants.py,sha256=S14PFzyN9-I31wiV7SmIlL5Ga0MLHxdvegInGdXH7tM,462
6
+ deeprails/_exceptions.py,sha256=N99bKrZNjDzgEDrvdw99WO-zpuPeZySaUUKNLEUz8mU,3226
7
+ deeprails/_files.py,sha256=KnEzGi_O756MvKyJ4fOCW_u3JhOeWPQ4RsmDvqihDQU,3545
8
+ deeprails/_models.py,sha256=lKnskYPONAWDvWo8tmbbVk7HmG7UOsI0Nve0vSMmkRc,30452
9
+ deeprails/_qs.py,sha256=craIKyvPktJ94cvf9zn8j8ekG9dWJzhWv0ob34lIOv4,4828
10
+ deeprails/_resource.py,sha256=7RXX5KZr4j0TIE66vnduHp7p9Yf9X0FyDDECuvRHARg,1118
11
+ deeprails/_response.py,sha256=yj0HJDU91WPpiczwi6CBOLAl_bqf4I_I96vWMAwx6Fg,28806
12
+ deeprails/_streaming.py,sha256=hCp5bK9dyw2TyrVL69m-6qGC-QtGYwhXmFzITCWPgAs,10112
13
+ deeprails/_types.py,sha256=XR3mad9NsGqZsjrd1VVJ657-4O4kwyw9Qzg4M3i6Vh0,7239
14
+ deeprails/_version.py,sha256=neVPZ-Kd_qcIvzJ8StueL8i5WCzNVWHnmB7H4v66GNk,161
15
+ deeprails/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
+ deeprails/_utils/__init__.py,sha256=7fch0GT9zpNnErbciSpUNa-SjTxxjY6kxHxKMOM4AGs,2305
17
+ deeprails/_utils/_compat.py,sha256=D8gtAvjJQrDWt9upS0XaG9Rr5l1QhiAx_I_1utT_tt0,1195
18
+ deeprails/_utils/_datetime_parse.py,sha256=bABTs0Bc6rabdFvnIwXjEhWL15TcRgWZ_6XGTqN8xUk,4204
19
+ deeprails/_utils/_logs.py,sha256=mIn53dwDfSEl_wZdxF6q2PrnZigdB_ft7CLVHWAmE3s,783
20
+ deeprails/_utils/_proxy.py,sha256=aglnj2yBTDyGX9Akk2crZHrl10oqRmceUy2Zp008XEs,1975
21
+ deeprails/_utils/_reflection.py,sha256=ZmGkIgT_PuwedyNBrrKGbxoWtkpytJNU1uU4QHnmEMU,1364
22
+ deeprails/_utils/_resources_proxy.py,sha256=k1Eh2AY8-AsiM09v64xpG1xd097wD8Mau947NTsJ-C8,604
23
+ deeprails/_utils/_streams.py,sha256=SMC90diFFecpEg_zgDRVbdR3hSEIgVVij4taD-noMLM,289
24
+ deeprails/_utils/_sync.py,sha256=TpGLrrhRNWTJtODNE6Fup3_k7zrWm1j2RlirzBwre-0,2862
25
+ deeprails/_utils/_transform.py,sha256=NjCzmnfqYrsAikUHQig6N9QfuTVbKipuP3ur9mcNF-E,15951
26
+ deeprails/_utils/_typing.py,sha256=N_5PPuFNsaygbtA_npZd98SVN1LQQvFTKL6bkWPBZGU,4786
27
+ deeprails/_utils/_utils.py,sha256=0dDqauUbVZEXV0NVl7Bwu904Wwo5eyFCZpQThhFNhyA,12253
28
+ deeprails/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
29
+ deeprails/resources/__init__.py,sha256=ha0jL9Et8fHzPdkTa7ecihYapOC4I6O-PHf2X9igprE,1491
30
+ deeprails/resources/evaluate.py,sha256=tuxg9PpsOQ9zsiJZR9hfAQ32sbz1H8zoAqA8W1EWHHc,12867
31
+ deeprails/resources/monitor.py,sha256=6dpazeUQWQG83lkSzmuMkmTRqP3-ZznWjVYkapQKjfA,22191
32
+ deeprails/resources/defend/__init__.py,sha256=H4Ul53d3jnaIzI-dlBxFvzBihGNbKjemN_g0Z4_dAzg,1002
33
+ deeprails/resources/defend/defend.py,sha256=e8AcBB0axbi0XhOluqpTzxUKNBBA6gxIMigBON52bb4,19379
34
+ deeprails/resources/defend/events.py,sha256=vAYZWO4n7CFGRamgvjWEF52br3xBvNex6NsTXZ-WOY8,12382
35
+ deeprails/types/__init__.py,sha256=UtGXu_uhJYIkD7Jw_4-ohoDx_jv9gi49glkhLPLssqA,1092
36
+ deeprails/types/api_response.py,sha256=jIiEJsQQdRgw-HkwRiHYYe1YI6DtPlgeCxNTY9kgqT8,1295
37
+ deeprails/types/defend_create_workflow_params.py,sha256=_N1cKVmNjRIlo9UkbkaJtamfDDHR-G5gQ2KkyAjIAJk,2077
38
+ deeprails/types/defend_response.py,sha256=GjoxHYJ4kq4BR-F1T3KYez8rcnNZFa0xkrsCQ_owlj0,1618
39
+ deeprails/types/defend_update_workflow_params.py,sha256=XSwPZd8QmHGQeYitO5rXzZ0U_pkR_w6tIYVr_vZnc1Y,510
40
+ deeprails/types/evaluate_create_params.py,sha256=8P3jDuSgGRfGSdgq50Zq9J709ZltRZw29hI8R3MoS84,1828
41
+ deeprails/types/evaluation.py,sha256=cLFQtazZyAEOVGkGqQ_VUmCFE8WMS2pBzUPLQ9MioOA,3787
42
+ deeprails/types/monitor_create_params.py,sha256=kTSj-PhuzpT-HPDTQJemRWfd8w32foUMH9FQZj8symk,384
43
+ deeprails/types/monitor_retrieve_params.py,sha256=PEsRmbd-81z4pJvhfi4JbrQWNzmeiLkoNsTUoPZ6kFY,352
44
+ deeprails/types/monitor_retrieve_response.py,sha256=OFCgBIoZ-nopKBuVz78ogubk73qJH2tZK3w4QGdj58k,2327
45
+ deeprails/types/monitor_submit_event_params.py,sha256=q8Mq24McRr1WdXQ8L1YunKqLBb9-u91J2MLmhUCdaIw,1991
46
+ deeprails/types/monitor_submit_event_response.py,sha256=LYWEZ24b0AHCImUjK6kXRJmq0kukpigtVTXoAzeHbdc,924
47
+ deeprails/types/monitor_update_params.py,sha256=gJyFFxT_u_iWABknuKnLpPl9r-VPfCcGtOAmh6sPwUw,550
48
+ deeprails/types/defend/__init__.py,sha256=8TYxNEYSBHG6Mg5jMH5i4xGTSn4lDW_3-AoaH9KnioE,295
49
+ deeprails/types/defend/event_submit_event_params.py,sha256=Sr101zDG65PSlq3irOy-X0VsU1HndNXBkdoQVDi3IEs,1384
50
+ deeprails/types/defend/workflow_event_response.py,sha256=RFGga3WUTq4CAMueu_pSd-QRVtTOLdwSMX0n3zwHJSQ,868
51
+ deeprails-1.0.0.dist-info/METADATA,sha256=a8Ws8lpN6C6-ot2sedmj17Y0bbg-n9oz4ngEN-SfYlI,16605
52
+ deeprails-1.0.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
53
+ deeprails-1.0.0.dist-info/licenses/LICENSE,sha256=rFTxPcYE516UQLju2SCY1r2pSDDfodL0-ZvxF_fgueg,11339
54
+ deeprails-1.0.0.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: hatchling 1.27.0
2
+ Generator: hatchling 1.26.3
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any