dtlpy 1.99.11__py3-none-any.whl → 1.99.12__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.
- dtlpy/__version__.py +1 -1
- dtlpy/services/async_utils.py +7 -1
- {dtlpy-1.99.11.dist-info → dtlpy-1.99.12.dist-info}/METADATA +4 -4
- {dtlpy-1.99.11.dist-info → dtlpy-1.99.12.dist-info}/RECORD +11 -11
- {dtlpy-1.99.11.data → dtlpy-1.99.12.data}/scripts/dlp +0 -0
- {dtlpy-1.99.11.data → dtlpy-1.99.12.data}/scripts/dlp.bat +0 -0
- {dtlpy-1.99.11.data → dtlpy-1.99.12.data}/scripts/dlp.py +0 -0
- {dtlpy-1.99.11.dist-info → dtlpy-1.99.12.dist-info}/LICENSE +0 -0
- {dtlpy-1.99.11.dist-info → dtlpy-1.99.12.dist-info}/WHEEL +0 -0
- {dtlpy-1.99.11.dist-info → dtlpy-1.99.12.dist-info}/entry_points.txt +0 -0
- {dtlpy-1.99.11.dist-info → dtlpy-1.99.12.dist-info}/top_level.txt +0 -0
dtlpy/__version__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
version = '1.99.
|
|
1
|
+
version = '1.99.12'
|
dtlpy/services/async_utils.py
CHANGED
|
@@ -112,7 +112,13 @@ class AsyncUploadStream(io.IOBase):
|
|
|
112
112
|
retries = 0
|
|
113
113
|
while retries < self.max_retries:
|
|
114
114
|
try:
|
|
115
|
-
|
|
115
|
+
import sys
|
|
116
|
+
if sys.version_info < (3, 9):
|
|
117
|
+
loop = asyncio.get_event_loop()
|
|
118
|
+
data = await asyncio.wait_for(loop.run_in_executor(None, self.buffer.read, size),
|
|
119
|
+
timeout=self.chunk_timeout)
|
|
120
|
+
else:
|
|
121
|
+
data = await asyncio.wait_for(asyncio.to_thread(self.buffer.read, size), timeout=self.chunk_timeout)
|
|
116
122
|
if self.callback is not None:
|
|
117
123
|
self.callback(size)
|
|
118
124
|
return data
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dtlpy
|
|
3
|
-
Version: 1.99.
|
|
3
|
+
Version: 1.99.12
|
|
4
4
|
Summary: SDK and CLI for Dataloop platform
|
|
5
5
|
Home-page: https://github.com/dataloop-ai/dtlpy
|
|
6
6
|
Author: Dataloop Team
|
|
@@ -9,13 +9,12 @@ License: Apache License 2.0
|
|
|
9
9
|
Classifier: Programming Language :: Python
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
12
|
-
Classifier: Programming Language :: Python :: 3.6
|
|
13
12
|
Classifier: Programming Language :: Python :: 3.7
|
|
14
13
|
Classifier: Programming Language :: Python :: 3.8
|
|
15
14
|
Classifier: Programming Language :: Python :: 3.9
|
|
16
15
|
Classifier: Programming Language :: Python :: 3.10
|
|
17
16
|
Classifier: Programming Language :: Python :: 3.11
|
|
18
|
-
Requires-Python: >=3.
|
|
17
|
+
Requires-Python: >=3.7
|
|
19
18
|
Description-Content-Type: text/markdown
|
|
20
19
|
License-File: LICENSE
|
|
21
20
|
Requires-Dist: urllib3 (>=1.26)
|
|
@@ -63,7 +62,8 @@ For full SDK documentation click [here](https://console.dataloop.ai/sdk-docs/lat
|
|
|
63
62
|
|
|
64
63
|
| Python | 3.11 | 3.10 | 3.9 | 3.8 | 3.7 | 3.6 | 3.5 |
|
|
65
64
|
|-------------------|------|------|-----|-----|-----|-----|-----|
|
|
66
|
-
| dtlpy >= 1.
|
|
65
|
+
| dtlpy >= 1.99 | Yes | Yes | Yes | Yes | Yes | | |
|
|
66
|
+
| dtlpy 1.76 - 1.98 | Yes | Yes | Yes | Yes | Yes | Yes | |
|
|
67
67
|
| dtlpy >= 1.61 | | Yes | Yes | Yes | Yes | Yes | |
|
|
68
68
|
| dtlpy 1.60 - 1.50 | | | Yes | Yes | Yes | Yes | |
|
|
69
69
|
| dtlpy <= 1.49 | | | Yes | Yes | Yes | Yes | Yes |
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
dtlpy/__init__.py,sha256=XcjyX8cwvOrrIHDS00P2iRvp11Kfysj1-mPlltnIe1s,20899
|
|
2
|
-
dtlpy/__version__.py,sha256=
|
|
2
|
+
dtlpy/__version__.py,sha256=4v3cBB21e478cM-NS_h-FMb73VmhWJUy0maYedq5zJY,20
|
|
3
3
|
dtlpy/exceptions.py,sha256=EQCKs3pwhwZhgMByQN3D3LpWpdxwcKPEEt-bIaDwURM,2871
|
|
4
4
|
dtlpy/new_instance.py,sha256=u_c6JtgqsKCr7TU24-g7_CaST9ghqamMhM4Z0Zxt50w,10121
|
|
5
5
|
dtlpy/assets/__init__.py,sha256=D_hAa6NM8Zoy32sF_9b7m0b7I-BQEyBFg8-9Tg2WOeo,976
|
|
@@ -197,7 +197,7 @@ dtlpy/services/__init__.py,sha256=VfVJy2otIrDra6i7Sepjyez2ujiE6171ChQZp-YgxsM,90
|
|
|
197
197
|
dtlpy/services/aihttp_retry.py,sha256=tgntZsAY0dW9v08rkjX1T5BLNDdDd8svtgn7nH8DSGU,5022
|
|
198
198
|
dtlpy/services/api_client.py,sha256=_LpnqLO-9eFAMQkOk5qP3wMVcdwKyOQ-iNvC0jdvATg,69294
|
|
199
199
|
dtlpy/services/api_reference.py,sha256=cW-B3eoi9Xs3AwI87_Kr6GV_E6HPoC73aETFaGz3A-0,1515
|
|
200
|
-
dtlpy/services/async_utils.py,sha256=
|
|
200
|
+
dtlpy/services/async_utils.py,sha256=kaYHTPw0Lg8PeJJq8whPyzrBYkzD7offs5hsKRZXJm8,3960
|
|
201
201
|
dtlpy/services/calls_counter.py,sha256=gr0io5rIsO5-7Cgc8neA1vK8kUtYhgFPmDQ2jXtiZZs,1036
|
|
202
202
|
dtlpy/services/check_sdk.py,sha256=tnFWCzkJa8w2jLtw-guwuqpOtXGyiVU7ZCDFiUZUqzY,3593
|
|
203
203
|
dtlpy/services/cookie.py,sha256=sSZR1QV4ienCcZ8lEK_Y4nZYBgAxO3kHrcBXFKGcmwQ,3694
|
|
@@ -223,9 +223,9 @@ dtlpy/utilities/reports/report.py,sha256=3nEsNnIWmdPEsd21nN8vMMgaZVcPKn9iawKTTeO
|
|
|
223
223
|
dtlpy/utilities/videos/__init__.py,sha256=SV3w51vfPuGBxaMeNemx6qEMHw_C4lLpWNGXMvdsKSY,734
|
|
224
224
|
dtlpy/utilities/videos/video_player.py,sha256=LCxg0EZ_DeuwcT7U_r7MRC6Q19s0xdFb7x5Gk39PRms,24072
|
|
225
225
|
dtlpy/utilities/videos/videos.py,sha256=Dj916B4TQRIhI7HZVevl3foFrCsPp0eeWwvGbgX3-_A,21875
|
|
226
|
-
dtlpy-1.99.
|
|
227
|
-
dtlpy-1.99.
|
|
228
|
-
dtlpy-1.99.
|
|
226
|
+
dtlpy-1.99.12.data/scripts/dlp,sha256=-F0vSCWuSOOtgERAtsPMPyMmzitjhB7Yeftg_PDlDjw,10
|
|
227
|
+
dtlpy-1.99.12.data/scripts/dlp.bat,sha256=QOvx8Dlx5dUbCTMpwbhOcAIXL1IWmgVRSboQqDhIn3A,37
|
|
228
|
+
dtlpy-1.99.12.data/scripts/dlp.py,sha256=tEokRaDINISXnq8yNx_CBw1qM5uwjYiZoJOYGqWB3RU,4267
|
|
229
229
|
tests/assets/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
230
230
|
tests/assets/models_flow/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
231
231
|
tests/assets/models_flow/failedmain.py,sha256=n8F4eu_u7JPrJ1zedbJPvv9e3lHb3ihoErqrBIcseEc,1847
|
|
@@ -233,9 +233,9 @@ tests/assets/models_flow/main.py,sha256=xotAjdHpFnIic3Wb-4f7GSg2igtuXZjvRPiYdCTa
|
|
|
233
233
|
tests/assets/models_flow/main_model.py,sha256=Hl_tv7Q6KaRL3yLkpUoLMRqu5-ab1QsUYPL6RPEoamw,2042
|
|
234
234
|
tests/features/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
235
235
|
tests/features/environment.py,sha256=V23cUx_p4VpNk9kc2I0BDZJHO_xcJBFJq8m3JlYCooc,16736
|
|
236
|
-
dtlpy-1.99.
|
|
237
|
-
dtlpy-1.99.
|
|
238
|
-
dtlpy-1.99.
|
|
239
|
-
dtlpy-1.99.
|
|
240
|
-
dtlpy-1.99.
|
|
241
|
-
dtlpy-1.99.
|
|
236
|
+
dtlpy-1.99.12.dist-info/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
|
|
237
|
+
dtlpy-1.99.12.dist-info/METADATA,sha256=3U06ZlarV9179TJfjRb30SuYE-xXV_1fYeslLvmEAm4,3019
|
|
238
|
+
dtlpy-1.99.12.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
239
|
+
dtlpy-1.99.12.dist-info/entry_points.txt,sha256=C4PyKthCs_no88HU39eioO68oei64STYXC2ooGZTc4Y,43
|
|
240
|
+
dtlpy-1.99.12.dist-info/top_level.txt,sha256=ZWuLmQGUOtWAdgTf4Fbx884w1o0vBYq9dEc1zLv9Mig,12
|
|
241
|
+
dtlpy-1.99.12.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|