parallel-web 0.1.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 parallel-web might be problematic. Click here for more details.

Files changed (46) hide show
  1. parallel/__init__.py +94 -0
  2. parallel/_base_client.py +1943 -0
  3. parallel/_client.py +403 -0
  4. parallel/_compat.py +230 -0
  5. parallel/_constants.py +16 -0
  6. parallel/_exceptions.py +108 -0
  7. parallel/_files.py +123 -0
  8. parallel/_models.py +803 -0
  9. parallel/_qs.py +150 -0
  10. parallel/_resource.py +43 -0
  11. parallel/_response.py +830 -0
  12. parallel/_streaming.py +333 -0
  13. parallel/_types.py +217 -0
  14. parallel/_utils/__init__.py +58 -0
  15. parallel/_utils/_logs.py +25 -0
  16. parallel/_utils/_proxy.py +62 -0
  17. parallel/_utils/_reflection.py +42 -0
  18. parallel/_utils/_streams.py +12 -0
  19. parallel/_utils/_sync.py +86 -0
  20. parallel/_utils/_transform.py +447 -0
  21. parallel/_utils/_typing.py +151 -0
  22. parallel/_utils/_utils.py +426 -0
  23. parallel/_version.py +4 -0
  24. parallel/lib/.keep +4 -0
  25. parallel/lib/__init__.py +0 -0
  26. parallel/lib/_parsing/__init__.py +2 -0
  27. parallel/lib/_parsing/_task_run_result.py +100 -0
  28. parallel/lib/_parsing/_task_spec.py +93 -0
  29. parallel/lib/_pydantic.py +29 -0
  30. parallel/lib/_time.py +57 -0
  31. parallel/py.typed +0 -0
  32. parallel/resources/__init__.py +19 -0
  33. parallel/resources/task_run.py +643 -0
  34. parallel/types/__init__.py +12 -0
  35. parallel/types/json_schema_param.py +15 -0
  36. parallel/types/parsed_task_run_result.py +29 -0
  37. parallel/types/task_run.py +54 -0
  38. parallel/types/task_run_create_params.py +32 -0
  39. parallel/types/task_run_result.py +122 -0
  40. parallel/types/task_run_result_params.py +13 -0
  41. parallel/types/task_spec_param.py +35 -0
  42. parallel/types/text_schema_param.py +15 -0
  43. parallel_web-0.1.0.dist-info/METADATA +544 -0
  44. parallel_web-0.1.0.dist-info/RECORD +46 -0
  45. parallel_web-0.1.0.dist-info/WHEEL +4 -0
  46. parallel_web-0.1.0.dist-info/licenses/LICENSE +7 -0
@@ -0,0 +1,544 @@
1
+ Metadata-Version: 2.3
2
+ Name: parallel-web
3
+ Version: 0.1.0
4
+ Summary: The official Python library for the Parallel API
5
+ Project-URL: Homepage, https://github.com/shapleyai/parallel-sdk-python
6
+ Project-URL: Repository, https://github.com/shapleyai/parallel-sdk-python
7
+ Author-email: Parallel <support@parallel.ai>
8
+ License: MIT
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: License :: OSI Approved :: MIT 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: Topic :: Software Development :: Libraries :: Python Modules
22
+ Classifier: Typing :: Typed
23
+ Requires-Python: >=3.8
24
+ Requires-Dist: anyio<5,>=3.5.0
25
+ Requires-Dist: distro<2,>=1.7.0
26
+ Requires-Dist: httpx<1,>=0.23.0
27
+ Requires-Dist: pydantic<3,>=1.9.0
28
+ Requires-Dist: sniffio
29
+ Requires-Dist: typing-extensions<5,>=4.10
30
+ Description-Content-Type: text/markdown
31
+
32
+ # Parallel Python API library
33
+
34
+ [![PyPI version](https://img.shields.io/pypi/v/parallel-web.svg)](https://pypi.org/project/parallel-web/)
35
+
36
+ The Parallel Python library provides convenient access to the Parallel REST API from any Python 3.8+
37
+ application. The library includes type definitions for all request params and response fields,
38
+ and offers both synchronous and asynchronous clients powered by [httpx](https://github.com/encode/httpx).
39
+ It is strongly encouraged to use the asynchronous client for best performance.
40
+
41
+ It is generated with [Stainless](https://www.stainless.com/).
42
+
43
+ ## Documentation
44
+
45
+ The REST API documentation can be found on our [docs](https://docs.parallel.ai).
46
+ The full API of this Python library can be found in [api.md](https://github.com/shapleyai/parallel-sdk-python/tree/main/api.md).
47
+
48
+ ## Installation
49
+
50
+ ```sh
51
+ # install from PyPI
52
+ pip install parallel-web
53
+ ```
54
+
55
+ ## Usage
56
+
57
+ The full API of this library can be found in [api.md](https://github.com/shapleyai/parallel-sdk-python/tree/main/api.md).
58
+
59
+ ```python
60
+ import os
61
+ from parallel import Parallel
62
+
63
+ client = Parallel(
64
+ api_key=os.environ.get("PARALLEL_API_KEY"), # This is the default and can be omitted
65
+ )
66
+
67
+ run_result = client.task_run.execute(
68
+ input="France (2023)",
69
+ processor="core",
70
+ output="GDP"
71
+ )
72
+ print(run_result.output)
73
+ ```
74
+
75
+ While you can provide an `api_key` keyword argument,
76
+ we recommend using [python-dotenv](https://pypi.org/project/python-dotenv/)
77
+ to add `PARALLEL_API_KEY="My API Key"` to your `.env` file
78
+ so that your API Key is not stored in source control.
79
+
80
+ ## Async usage
81
+
82
+ Simply import `AsyncParallel` instead of `Parallel` and use `await` with each API call:
83
+
84
+ ```python
85
+ import os
86
+ import asyncio
87
+ from parallel import AsyncParallel
88
+
89
+ client = AsyncParallel(
90
+ api_key=os.environ.get("PARALLEL_API_KEY"), # This is the default and can be omitted
91
+ )
92
+
93
+
94
+ async def main() -> None:
95
+ run_result = await client.task_run.execute(
96
+ input="France (2023)",
97
+ processor="core",
98
+ output="GDP"
99
+ )
100
+ print(run_result.output)
101
+
102
+
103
+ if __name__ == "__main__":
104
+ asyncio.run(main())
105
+ ```
106
+
107
+ To get the best performance out of Parallel's API, we recommend
108
+ using the asynchronous client, especially for executing multiple Task Runs concurrently.
109
+ Functionality between the synchronous and asynchronous clients is identical.
110
+
111
+ ## Convenience methods
112
+
113
+ ### Execute
114
+
115
+ The `execute` method provides a single call which combines creating a task run,
116
+ polling until it is completed, and parsing structured outputs (if specified).
117
+
118
+ If an output type which inherits from `BaseModel` is
119
+ specified in the call to `.execute()`, the response content will be parsed into an
120
+ instance of the provided output type. The parsed output can be accessed via the
121
+ `parsed` property on the output field of the response.
122
+
123
+ ```python
124
+ import os
125
+ import asyncio
126
+ from parallel import AsyncParallel
127
+ from pydantic import BaseModel
128
+
129
+ client = AsyncParallel()
130
+
131
+ class SampleOutputStructure(BaseModel):
132
+ output: str
133
+
134
+ async def main() -> None:
135
+ # with pydantic
136
+ run_result = await client.task_run.execute(
137
+ input="France (2023)",
138
+ processor="core",
139
+ output=SampleOutputStructure,
140
+ )
141
+ # parsed output of type SampleOutputStructure
142
+ print(run_result.output.parsed)
143
+ # without pydantic
144
+ run_result = await client.task_run.execute(
145
+ input="France (2023)",
146
+ processor="core",
147
+ output="GDP"
148
+ )
149
+ print(run_result.output)
150
+
151
+
152
+ if __name__ == "__main__":
153
+ asyncio.run(main())
154
+ ```
155
+
156
+ The async client allows creating several task runs without blocking.
157
+ To create multiple task runs in one go, call execute and then gather the results at the end.
158
+
159
+ ```python
160
+ import asyncio
161
+ import os
162
+
163
+ from parallel import AsyncParallel
164
+ from pydantic import BaseModel, Field
165
+ from typing import List
166
+
167
+ class CountryInput(BaseModel):
168
+ country: str = Field(
169
+ description="Name of the country to research. Must be a recognized "
170
+ "sovereign nation (e.g., 'France', 'Japan')."
171
+ )
172
+ year: int = Field(
173
+ description="Year for which to retrieve data. Must be 2000 or later. "
174
+ "Use most recent full-year estimates if year is current."
175
+ )
176
+
177
+ class CountryOutput(BaseModel):
178
+ gdp: str = Field(
179
+ description="GDP in USD for the year, formatted like '$3.1 trillion (2023)'."
180
+ )
181
+ top_exports: List[str] = Field(
182
+ description="Top 3 exported goods/services by value. Use credible sources."
183
+ )
184
+ top_imports: List[str] = Field(
185
+ description="Top 3 imported goods/services by value. Use credible sources."
186
+ )
187
+
188
+ async def main():
189
+ # Initialize the Parallel client
190
+ client = AsyncParallel(api_key=os.environ.get("PARALLEL_API_KEY"))
191
+
192
+ # Prepare structured input
193
+ input_data = [
194
+ CountryInput(country="France", year=2023),
195
+ CountryInput(country="Germany", year=2023),
196
+ CountryInput(country="Italy", year=2023)
197
+ ]
198
+
199
+ run_results = await asyncio.gather(*[
200
+ client.task_run.execute(
201
+ input=datum,
202
+ output=CountryOutput,
203
+ processor="core"
204
+ )
205
+ for datum in input_data
206
+ ])
207
+
208
+ for run_input, run_result in zip(input_data, run_results):
209
+ print(f"Task run output for {run_input}: {run_result.output.parsed}")
210
+
211
+ if __name__ == "__main__":
212
+ asyncio.run(main())
213
+ ```
214
+
215
+ ## Low level API Access
216
+
217
+ The library also provides access to the low level API for accessing the Parallel API.
218
+
219
+ ```python
220
+ from parallel import Parallel
221
+ from parallel.types import TaskSpecParam
222
+
223
+ client = Parallel()
224
+
225
+ task_run = client.task_run.create(
226
+ input="France (2023)",
227
+ processor="processor",
228
+ task_spec={
229
+ "output_schema": {
230
+ "json_schema": {
231
+ "additionalProperties": False,
232
+ "properties": {
233
+ "gdp": {
234
+ "description": "GDP in USD for the year, formatted like '$3.1 trillion (2023)'",
235
+ "type": "string",
236
+ }
237
+ },
238
+ "required": ["gdp"],
239
+ "type": "object",
240
+ },
241
+ "type": "json",
242
+ },
243
+ "input_schema": {
244
+ "json_schema": {
245
+ "additionalProperties": False,
246
+ "properties": {
247
+ "gdp": {
248
+ "description": "GDP in USD for the year, formatted like '$3.1 trillion (2023)'",
249
+ "type": "string",
250
+ }
251
+ },
252
+ "required": ["gdp"],
253
+ "type": "object",
254
+ },
255
+ "type": "json",
256
+ },
257
+ },
258
+ )
259
+
260
+ run_result = client.task_run.result(task_run.id)
261
+ print(run_result.output)
262
+ ```
263
+
264
+ For more information, please check out the relevant section in our docs:
265
+
266
+ - [Task Spec](https://docs.parallel.ai/core-concepts/task-spec)
267
+ - [Task Runs](https://docs.parallel.ai/core-concepts/task-runs)
268
+
269
+ ## Handling errors
270
+
271
+ When the library is unable to connect to the API (for example, due to network connection problems or a timeout), a subclass of `parallel.APIConnectionError` is raised.
272
+
273
+ When the API returns a non-success status code (that is, 4xx or 5xx
274
+ response), a subclass of `parallel.APIStatusError` is raised, containing `status_code` and `response` properties.
275
+
276
+ All errors inherit from `parallel.APIError`.
277
+
278
+ ```python
279
+ import parallel
280
+ from parallel import Parallel
281
+
282
+ client = Parallel()
283
+
284
+ try:
285
+ client.task_run.execute(
286
+ input="France (2023)",
287
+ processor="core",
288
+ output="GDP"
289
+ )
290
+ except parallel.APIConnectionError as e:
291
+ print("The server could not be reached")
292
+ print(e.__cause__) # an underlying Exception, likely raised within httpx.
293
+ except parallel.RateLimitError as e:
294
+ print("A 429 status code was received; we should back off a bit.")
295
+ except parallel.APIStatusError as e:
296
+ print("Another non-200-range status code was received")
297
+ print(e.status_code)
298
+ print(e.response)
299
+ ```
300
+
301
+ Error codes are as follows:
302
+
303
+ | Status Code | Error Type |
304
+ | ----------- | -------------------------- |
305
+ | 400 | `BadRequestError` |
306
+ | 401 | `AuthenticationError` |
307
+ | 403 | `PermissionDeniedError` |
308
+ | 404 | `NotFoundError` |
309
+ | 422 | `UnprocessableEntityError` |
310
+ | 429 | `RateLimitError` |
311
+ | >=500 | `InternalServerError` |
312
+ | N/A | `APIConnectionError` |
313
+
314
+ ### Retries
315
+
316
+ Certain errors are automatically retried 2 times by default, with a short exponential backoff.
317
+ Connection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict,
318
+ 429 Rate Limit, and >=500 Internal errors are all retried by default.
319
+
320
+ You can use the `max_retries` option to configure or disable retry settings:
321
+
322
+ ```python
323
+ from parallel import Parallel
324
+
325
+ # Configure the default for all requests:
326
+ client = Parallel(
327
+ # default is 2
328
+ max_retries=0,
329
+ )
330
+
331
+ # Or, configure per-request:
332
+ client.with_options(max_retries=5).task_run.execute(
333
+ input="France (2023)",
334
+ processor="core",
335
+ output="GDP"
336
+ )
337
+ ```
338
+
339
+ ### Timeouts
340
+
341
+ By default requests time out after 1 minute. You can configure this with a `timeout` option,
342
+ which accepts a float or an [`httpx.Timeout`](https://www.python-httpx.org/advanced/#fine-tuning-the-configuration) object:
343
+
344
+ ```python
345
+ from parallel import Parallel
346
+
347
+ # Configure the default for all requests:
348
+ client = Parallel(
349
+ # 20 seconds (default is 1 minute)
350
+ timeout=20.0,
351
+ )
352
+
353
+ # More granular control:
354
+ client = Parallel(
355
+ timeout=httpx.Timeout(60.0, read=5.0, write=10.0, connect=2.0),
356
+ )
357
+
358
+ # Override per-request:
359
+ client.with_options(timeout=5.0).task_run.execute(
360
+ input="France (2023)",
361
+ processor="core",
362
+ output="GDP"
363
+ )
364
+ ```
365
+
366
+ On timeout, an `APITimeoutError` is thrown.
367
+
368
+ Note that requests that time out are [retried twice by default](https://github.com/shapleyai/parallel-sdk-python/tree/main/#retries).
369
+
370
+ ## Advanced
371
+
372
+ ### Logging
373
+
374
+ We use the standard library [`logging`](https://docs.python.org/3/library/logging.html) module.
375
+
376
+ You can enable logging by setting the environment variable `PARALLEL_LOG` to `info`.
377
+
378
+ ```shell
379
+ $ export PARALLEL_LOG=info
380
+ ```
381
+
382
+ Or to `debug` for more verbose logging.
383
+
384
+ ### How to tell whether `None` means `null` or missing
385
+
386
+ 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`:
387
+
388
+ ```py
389
+ if response.my_field is None:
390
+ if 'my_field' not in response.model_fields_set:
391
+ print('Got json like {}, without a "my_field" key present at all.')
392
+ else:
393
+ print('Got json like {"my_field": null}.')
394
+ ```
395
+
396
+ ### Accessing raw response data (e.g. headers)
397
+
398
+ The "raw" Response object can be accessed by prefixing `.with_raw_response.` to any HTTP method call, e.g.,
399
+
400
+ ```py
401
+ from parallel import Parallel
402
+
403
+ client = Parallel()
404
+ response = client.task_run.with_raw_response.execute(
405
+ input="France (2023)",
406
+ processor="core",
407
+ output="GDP"
408
+ )
409
+ print(response.headers.get('X-My-Header'))
410
+
411
+ task_run = response.parse() # get the object that `task_run.execute()` would have returned
412
+ print(task_run.output)
413
+ ```
414
+
415
+ These methods return an [`APIResponse`](https://github.com/shapleyai/parallel-sdk-python/tree/main/src/parallel/_response.py) object.
416
+
417
+ The async client returns an [`AsyncAPIResponse`](https://github.com/shapleyai/parallel-sdk-python/tree/main/src/parallel/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.
418
+
419
+ #### `.with_streaming_response`
420
+
421
+ The above interface eagerly reads the full response body when you make the request, which may not always be what you want.
422
+
423
+ 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.
424
+
425
+ ```python
426
+ with client.task_run.with_streaming_response.execute(
427
+ input="France (2023)",
428
+ processor="core",
429
+ output="GDP"
430
+ ) as response:
431
+ print(response.headers.get("X-My-Header"))
432
+
433
+ for line in response.iter_lines():
434
+ print(line)
435
+ ```
436
+
437
+ The context manager is required so that the response will reliably be closed.
438
+
439
+ ### Making custom/undocumented requests
440
+
441
+ This library is typed for convenient access to the documented API.
442
+
443
+ If you need to access undocumented endpoints, params, or response properties, the library can still be used.
444
+
445
+ #### Undocumented endpoints
446
+
447
+ To make requests to undocumented endpoints, you can make requests using `client.get`, `client.post`, and other
448
+ http verbs. Options on the client will be respected (such as retries) when making this request.
449
+
450
+ ```py
451
+ import httpx
452
+
453
+ response = client.post(
454
+ "/foo",
455
+ cast_to=httpx.Response,
456
+ body={"my_param": True},
457
+ )
458
+
459
+ print(response.headers.get("x-foo"))
460
+ ```
461
+
462
+ #### Undocumented request params
463
+
464
+ If you want to explicitly send an extra param, you can do so with the `extra_query`, `extra_body`, and `extra_headers` request
465
+ options.
466
+
467
+ #### Undocumented response properties
468
+
469
+ To access undocumented response properties, you can access the extra fields like `response.unknown_prop`. You
470
+ can also get all the extra fields on the Pydantic model as a dict with
471
+ [`response.model_extra`](https://docs.pydantic.dev/latest/api/base_model/#pydantic.BaseModel.model_extra).
472
+
473
+ ### Configuring the HTTP client
474
+
475
+ You can directly override the [httpx client](https://www.python-httpx.org/api/#client) to customize it for your use case, including:
476
+
477
+ - Support for [proxies](https://www.python-httpx.org/advanced/proxies/)
478
+ - Custom [transports](https://www.python-httpx.org/advanced/transports/)
479
+ - Additional [advanced](https://www.python-httpx.org/advanced/clients/) functionality
480
+
481
+ ```python
482
+ import httpx
483
+ from parallel import Parallel, DefaultHttpxClient
484
+
485
+ client = Parallel(
486
+ # Or use the `PARALLEL_BASE_URL` env var
487
+ base_url="http://my.test.server.example.com:8083",
488
+ http_client=DefaultHttpxClient(
489
+ proxy="http://my.test.proxy.example.com",
490
+ transport=httpx.HTTPTransport(local_address="0.0.0.0"),
491
+ ),
492
+ )
493
+ ```
494
+
495
+ You can also customize the client on a per-request basis by using `with_options()`:
496
+
497
+ ```python
498
+ client.with_options(http_client=DefaultHttpxClient(...))
499
+ ```
500
+
501
+ ### Managing HTTP resources
502
+
503
+ 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.
504
+
505
+ ```py
506
+ from parallel import Parallel
507
+
508
+ with Parallel() as client:
509
+ # make requests here
510
+ ...
511
+
512
+ # HTTP client is now closed
513
+ ```
514
+
515
+ ## Versioning
516
+
517
+ 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:
518
+
519
+ 1. Changes that only affect static types, without breaking runtime behavior.
520
+ 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.)_
521
+ 3. Changes that we do not expect to impact the vast majority of users in practice.
522
+
523
+ We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.
524
+
525
+ We are keen for your feedback; please open an [issue](https://www.github.com/shapleyai/parallel-sdk-python/issues) with questions, bugs, or suggestions.
526
+
527
+ ### Determining the installed version
528
+
529
+ 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.
530
+
531
+ You can determine the version that is being used at runtime with:
532
+
533
+ ```py
534
+ import parallel
535
+ print(parallel.__version__)
536
+ ```
537
+
538
+ ## Requirements
539
+
540
+ Python 3.8 or higher.
541
+
542
+ ## Contributing
543
+
544
+ See [the contributing documentation](https://github.com/shapleyai/parallel-sdk-python/tree/main/./CONTRIBUTING.md).
@@ -0,0 +1,46 @@
1
+ parallel/__init__.py,sha256=45jJ0sRi-w409isfVygE4UsJ4yx4uAajWoaOUEtid0U,2476
2
+ parallel/_base_client.py,sha256=DWE1Tf9a1m2Uuv3tk54JG0FVo6kGiS6EMvghRMRxqXg,64846
3
+ parallel/_client.py,sha256=-33nTbpzQe0MaMSXkPisZdlPG_phXweSGfssI4UXIKQ,15024
4
+ parallel/_compat.py,sha256=Bdw3skNpgAyCAWXJRUwTLiM0lOD1sLHEFKtw7peWp5U,6981
5
+ parallel/_constants.py,sha256=NJrT2b4m0CuDGEVBF1xwsrHOWLGPupleFrL9jGAlLwk,567
6
+ parallel/_exceptions.py,sha256=lP7_D_HALN-Nt5bfw4AefEB7tYkrQ8ZcjCRdxm_HrsQ,3224
7
+ parallel/_files.py,sha256=mf4dOgL4b0ryyZlbqLhggD3GVgDf6XxdGFAgce01ugE,3549
8
+ parallel/_models.py,sha256=mB2r2VWQq49jG-F0RIXDrBxPp3v-Eg12wMOtVTNxtv4,29057
9
+ parallel/_qs.py,sha256=AOkSz4rHtK4YI3ZU_kzea-zpwBUgEY8WniGmTPyEimc,4846
10
+ parallel/_resource.py,sha256=QvY8l_r03hNBsFTTn3g7Pkx8OrDwIwROHaSEViWcYLA,1112
11
+ parallel/_response.py,sha256=zJKnQ9YzrMZCTPWis4CdyGCAH0kzT4m1OHE74jiF0jA,28800
12
+ parallel/_streaming.py,sha256=vH45vK3-83ruFalbvSgpE70zfwy8fjW9UwrO1TwjIfE,10108
13
+ parallel/_types.py,sha256=sLRqW7zYEpLbSD4AuQ4UHoZoXMuu1p8hOq8LpwE69-k,6145
14
+ parallel/_version.py,sha256=9X4SlrNWQKYPBlIjPqW5KAvoYD3JrSFlMBD_J44IF4E,160
15
+ parallel/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
+ parallel/_utils/__init__.py,sha256=Z5F2puD-cRsBEwlAuuuXDuIuKuJyLhtg0667MRHeBj4,2084
17
+ parallel/_utils/_logs.py,sha256=5tqZJRHHRqxJfftED6vN1CHcwhRZDSvzy9SaxozEAe4,780
18
+ parallel/_utils/_proxy.py,sha256=z3zsateHtb0EARTWKk8QZNHfPkqJbqwd1lM993LBwGE,1902
19
+ parallel/_utils/_reflection.py,sha256=ZmGkIgT_PuwedyNBrrKGbxoWtkpytJNU1uU4QHnmEMU,1364
20
+ parallel/_utils/_streams.py,sha256=SMC90diFFecpEg_zgDRVbdR3hSEIgVVij4taD-noMLM,289
21
+ parallel/_utils/_sync.py,sha256=TpGLrrhRNWTJtODNE6Fup3_k7zrWm1j2RlirzBwre-0,2862
22
+ parallel/_utils/_transform.py,sha256=n7kskEWz6o__aoNvhFoGVyDoalNe6mJwp-g7BWkdj88,15617
23
+ parallel/_utils/_typing.py,sha256=D0DbbNu8GnYQTSICnTSHDGsYXj8TcAKyhejb0XcnjtY,4602
24
+ parallel/_utils/_utils.py,sha256=nJWF6GJgM2imb1AYa1nZoE1f-Alo1EI0Y8L_q3a1gkw,12389
25
+ parallel/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
26
+ parallel/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
27
+ parallel/lib/_pydantic.py,sha256=90cesmaaPfF1CmlDVBDzFq4k1qciHTAwnWbHa159FwQ,886
28
+ parallel/lib/_time.py,sha256=IoPTaxTh5bYaBqSH7zUSYoKfnfCX5G208xB9_s7BAn4,1726
29
+ parallel/lib/_parsing/__init__.py,sha256=aEM9F2sU4s-CFpQgjydjfCAdxpusJ81jXI6KCoB8VPs,150
30
+ parallel/lib/_parsing/_task_run_result.py,sha256=9o95RcH4bX0UbI7ow5bnECrXMS6Ll0SEQR4leTK3VQU,3608
31
+ parallel/lib/_parsing/_task_spec.py,sha256=XkNWo2Ovu-anld8PAOIsi722vOXbDf2ex4p9rwWW51I,3067
32
+ parallel/resources/__init__.py,sha256=jGILtGZMcUjnm_PAOAkggRZlretqp_r24lMj7qFWqIg,566
33
+ parallel/resources/task_run.py,sha256=b0A5mh52CbYDJ6QeFJesCEDkeivwdX6E8TV6dsxDXaY,25315
34
+ parallel/types/__init__.py,sha256=7EXEF1xwgzRtPbtywm1_PnOzShi_mN3TfU8p_PErz5s,653
35
+ parallel/types/json_schema_param.py,sha256=rn_85_uPZYkLYLZiM5erOuQ_trY4DcoB3XEpP4uvqyw,457
36
+ parallel/types/parsed_task_run_result.py,sha256=Qw_QFQNmMcykdBKlMnx6hl5cua5wwv5BZEs3Oo3_5NE,1098
37
+ parallel/types/task_run.py,sha256=kBC1pFRp4w9eTk2WVLE1e7QG85Zn6J_l5aJJoXqZtLU,1462
38
+ parallel/types/task_run_create_params.py,sha256=kHEx3NInuAgTp5AebDHQIPyrqducGFUMV81Gtn7wtdI,957
39
+ parallel/types/task_run_result.py,sha256=yd3Lz_YzCQGe5ynK5iI6J17tAs5nSG7FUJ3fSLOa7hM,3070
40
+ parallel/types/task_run_result_params.py,sha256=tL4CK5c0-Wo21O1pmT4pDvwzG-svtEwYujyCp0ZgATs,360
41
+ parallel/types/task_spec_param.py,sha256=qTENHBp7vRg-VDzK8HsLpTn3EJWIV0UVQaf45r9SfCs,1179
42
+ parallel/types/text_schema_param.py,sha256=M9WEl2aOh4_hNSdGm2BOmtm1VGqxxTh3f-Hs4OB4aCQ,445
43
+ parallel_web-0.1.0.dist-info/METADATA,sha256=H-ohJ34Ju20Os1LD1P6zU872ocIGgyYcYT23EfFlNUs,17361
44
+ parallel_web-0.1.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
45
+ parallel_web-0.1.0.dist-info/licenses/LICENSE,sha256=1rFsV0HhxaZBP55JM8Cu2w0Bw-uxTFtyTja_DE94oEM,1048
46
+ parallel_web-0.1.0.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
@@ -0,0 +1,7 @@
1
+ Copyright 2025 Parallel
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
+
5
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.